January 14, 2026
- Updated: Support for Node
20.19.0or later (major). - Removed:
commonjsAPI. In supported Node versionsrequire(esm)will work without needing to make code changes.
May 27, 2025
- align serializers with CSSOM
October 25, 2024
- Fix input preprocessing
October 10, 2024
isTokenNumericandisTokenWhiteSpaceOrCommentnow acceptnullandundefinedas input, in parallel with other type predicates.
August 18, 2024
- Updated the return type of
nextToken()to indicate that it always returns a value.
August 3, 2024
- Updated: Support for Node v18+ (major).
- Improve performance.
July 5, 2024
- Remove
astNodethat was erroneously added to theParseErrorbase class.
July 5, 2024
- Expose
ParseErrorMessage, the list of known parser error messages object to facilitate detection of specific cases - Add a specific
ParseErrorWithTokensubclass. This contains the associated token.
July 3, 2024
- Fix tokenization of
string-tokencontaining a backslash followed by CRLF
June 29, 2024
- Optimize
cloneTokens
May 4, 2024
- Fix escaping for the last code point in an ident sequence.
May 4, 2024
- Add
mutateUnithelper function - Add type guard helpers
March 13, 2024
- Correctly tokenize negative zero
-0(for real this time)
December 31, 2023
- Improve documentation.
December 15, 2023
- Fix type definitions
September 24, 2023
- Small performance improvements
July 24, 2023
- Add support for
unicode-range-token - Add
signCharactertoDimensionToken,NumberTokenandPercentageToken - Correctly tokenize negative zero
-0
April 10, 2023
- Document
tokenizehelper function
February 21, 2023
- Add
tokenizehelper function
February 13, 2023
- Relax
isTokento match artificial tokens that correctly follow the interface.
January 28, 2023
- Improve
typesdeclaration inpackage.json
January 19, 2023
- Simplify
Readerinterface (breaking) - Change the
ParseErrorinterface, this is now a subclass ofError(breaking) - Remove the
commentsAreTokensoption astruewas the only desirable value (breaking) - Improve performance
November 14, 2022
- Initial version