csso icon indicating copy to clipboard operation
csso copied to clipboard

Update `css-tree` dependency

Open Semigradsky opened this issue 3 years ago • 5 comments

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

Semigradsky avatar Apr 03 '23 13:04 Semigradsky

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

[email protected]
node_modules/css-tree
  css-tree@"^2.2.1" from [email protected]
  node_modules/svgo

[email protected]
node_modules/csso/node_modules/css-tree
  css-tree@"~2.2.0" from [email protected]
  node_modules/csso
    csso@"5.0.5" from [email protected]
    node_modules/svgo

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

romainmenke avatar Nov 14 '23 17:11 romainmenke

This is blocked on https://github.com/csstree/csstree/issues/236

romainmenke avatar Nov 14 '23 18:11 romainmenke

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!

kilobyte2007 avatar Sep 04 '24 08:09 kilobyte2007

Version can't be bumped until https://github.com/csstree/csstree/issues/236 is fixed or if csso is patched to work despite that behavior change.

romainmenke avatar Sep 04 '24 08:09 romainmenke

Looks like #236 is fixed

gameroman avatar May 16 '26 19:05 gameroman