Packages

css-tree

3.2.1 · 5 Mar 2026MIT183.3M / weekRepositoryHomepagenpmAtom feed

Upgrading css-tree From 3.0.0 to 3.0.1

1 release in betweenevery note read

Other targets from 3.0.0Newest 3.x, Latest3.2.1
  1. 3.0.0yours
  2. 3.0.1target
1
change to make
0
advisories fixed
5
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking3.0.1

Release by release

  1. 3.0.1

    Migration needed2 Nov 20245 new · 1 fix
    • Breaking

      Removed second parameter (assign) for the callback in the fork() method (e.g., syntax.fork((config, assign) => { ... })), as it simply refers to Object.assign()

    • New

      Added errors array to the Lexer#validate() method result, providing details on problematic syntax.

    • New

      Added a Lexer#cssWideKeywords dictionary to list CSS-wide keywords

    • New

      Updated the Lexer's constructor to consider config.cssWideKeywords for overriding the default list

    • New

      Expanded the lexer's dump output to include the cssWideKeywords dictionary

    • New

      Modified the fork() method to accept a cssWideKeywords option, allowing the addition of new keywords to the existing list

    • Fixed

      Fixes in syntaxes: <basic-shapes>, <absolute-color-function> and <'stroke-opacity'>

2 other lines we could not sort, mostly version bumps
  • Bumped mdn/data to 2.12.1

    3.0.1
  • Reverted changes to Block to include { and }, and Atrule and Rule to exclude { and } for a block

    3.0.1

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.