Packages

css-tree

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

Upgrading css-tree From 3.1.0 to 3.2.1

2 releases in betweenevery note read

  1. 3.1.0yours
  2. 3.2.0
  3. 3.2.1target
0
changes to make
0
advisories fixed
7
new
2
fixes

Release by release

  1. 3.2.1

    5 Mar 20261 fix
    • Fixed

      Fixed parsing of nested function in a group in definition syntax

  2. 3.2.0

    5 Mar 20267 new · 1 fix
    • New

      Added "sideEffects": false in package.json

    • New

      Added list option to the parse() method to specify whether the parser should produce a List (by default, list: true) or an array (list: false) for node's children (e.g., SelectorList, Block, etc.)

    • New

      Added support for Functional Notation in definition syntax (for now by wrapping function arguments into an implicit group when necessary, see #292)

    • New

      Added support for stacked multipliers {A}? and {A,B}? according to spec in definition syntax parsing

7 other lines we could not sort, mostly version bumps
  • getTokenEnd(tokenIndex) – returns the token's end offset by index, complementing getTokenStart(tokenIndex)

    3.2.0
  • getTokenType(tokenIndex) – returns the token's type by index

    3.2.0
  • isBlockOpenerTokenType(tokenType) – returns true for <function-token>, <(-token>, <[-token>, and <{-token>

    3.2.0
  • isBlockCloserTokenType(tokenType) – returns true for <)-token>, <]-token>, and <}-token>

    3.2.0
  • getBlockTokenPairIndex(tokenIndex) – returns the index of the pair token for a block, or -1 if no pair exists

    3.2.0
  • Changed generate() to not auto insert whitespaces between tokens for raw values

    3.2.0
  • Bumped mdn/data to 2.27.1 and various fixes in syntaxes

    3.2.0

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.