Packages

css-tree

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

Your version

21 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 3.x · latest line
  2. 3.2.1

    5 Mar 2026
    • Fixed parsing of nested function in a group in definition syntax

  3. 3.2.0

    5 Mar 2026
    • Added "sideEffects": false in package.json

    • 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.)

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

  4. 3.1.0

    6 Dec 2024
    • Added support for boolean expression multiplier in syntax definition, i.e. <boolean-expr[ test ]>

    • Added source, startOffset, startLine, and startColumn parameters to OffsetToLocation constructor, eliminating the need to call setSource() after creating a new OffsetToLocation instance

    • Exposed OffsetToLocation class in the main entry point, which was previously accessible only via css-tree/tokenizer

  5. 3.0.1

    2 Nov 2024
    • Removed

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

    • Bumped mdn/data to 2.12.1

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

  6. 3.0.0

    11 Sep 2024
  7. 2.x
  8. 2.3.1

    14 Dec 2022

    Reading the note…

  9. 2.3.0

    30 Nov 2022

    Reading the note…

  10. 2.2.1

    14 Aug 2022

    Reading the note…

  11. 2.2.0

    10 Aug 2022

    Reading the note…

  12. 2.1.0

    27 Feb 2022

    Reading the note…

  13. 2.0.4

    17 Dec 2021

    Reading the note…

  14. 2.0.3

    15 Dec 2021

    Reading the note…

  15. 2.0.2

    10 Dec 2021

    Reading the note…

  16. 2.0.1

    4 Dec 2021

    Reading the note…

  17. 2.0.0

    3 Dec 2021

    Reading the note…

  18. 1.x
  19. 1.1.3

    31 Mar 2021

    Reading the note…

  20. 1.1.2

    26 Nov 2020

    Reading the note…

  21. 1.1.1

    18 Nov 2020

    Reading the note…

  22. 1.1.0

    18 Nov 2020

    Reading the note…

  23. 1.0.1

    11 Nov 2020

    Reading the note…

  24. 1.0.0

    27 Oct 2020

    Reading the note…

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.