Skip to content

Update css-tree dependency #467

Description

@Semigradsky

The current css-tree version is 2.3.1 but this package depends on ~2.2.0.
Can css-tree be updated?

Activity

  1. romainmenke commented on Nov 14, 2023

    @romainmenke

    Can the version constraint also be relaxed to ^2.x.x ?
    We currently have multiple copies for css-tree all through the same dependency.

    css-tree@2.3.1
    node_modules/css-tree
      css-tree@"^2.2.1" from svgo@3.0.3
      node_modules/svgo
    
    css-tree@2.2.1
    node_modules/csso/node_modules/css-tree
      css-tree@"~2.2.0" from csso@5.0.5
      node_modules/csso
        csso@"5.0.5" from svgo@3.0.3
        node_modules/svgo
    

    This increases download bandwidth usage, memory usage, ...

  2. romainmenke commented on Nov 14, 2023

    @romainmenke

    This is blocked on csstree/csstree#236

  3. kilobyte2007 commented on Sep 4, 2024

    @kilobyte2007

    Can the version be bumped now? I see that the blocker is not fixed but css-tree is actively maintained so I figure it should be fixed now.

    The 2.2.1 version breaks when building a project in nuxt, so it'd be great if the dep would be bumped.

    Thanks!

  4. romainmenke commented on Sep 4, 2024

    @romainmenke

    Version can't be bumped until csstree/csstree#236 is fixed or if csso is patched to work despite that behavior change.

  5. gameroman commented on May 16, 2026

    @gameroman

    Looks like #236 is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions