October 10, 2024
- Updated
@csstools/css-tokenizer
to3.0.2
(patch)
August 18, 2024
- Updated
@csstools/css-tokenizer
to3.0.1
(patch)
August 3, 2024
- Updated: Support for Node v18+ (major).
- Updated
@csstools/css-tokenizer
to3.0.0
(major)
July 6, 2024
- Updated
@csstools/css-tokenizer
to2.4.1
(patch)
June 29, 2024
- Add
isWhiteSpaceOrCommentNode
utility function. - Updated
@csstools/css-tokenizer
to2.3.2
(patch)
May 4, 2024
- Updated
@csstools/css-tokenizer
to2.3.1
(patch)
May 4, 2024
- Updated
@csstools/css-tokenizer
to2.3.0
(minor)
March 13, 2024
- Updated
@csstools/css-tokenizer
to2.2.4
(patch)
February 19, 2024
- Add support for multiple replacement values in
replaceComponentValues
December 31, 2023
- Add a
forEach
andwalk
function. - Improve documentation.
- Updated
@csstools/css-tokenizer
to2.2.3
(patch)
December 15, 2023
- Fix type definitions
- Only
walk
child nodes if they are still part of the current AST tree #1202 - Make
walk
methods safe for mutations #1204 - Add a
forEach
method toFunctionNode
andSimpleBlockNode
- Updated
@csstools/css-tokenizer
to2.2.2
(patch)
September 24, 2023
- Updated
@csstools/css-tokenizer
to2.2.1
(patch)
July 24, 2023
- Updated
@csstools/css-tokenizer
to2.2.0
(minor)
July 3, 2023
- Add
sourceIndices
helper function.
This makes it easier to get the start and end indices of a node in the source string.
This function accepts any node that can be converted into an array of tokens.
June 1, 2023
- Add
state
towalk
methods.
This makes it possible pass down information from a parent structure to children.
e.g. you can set entry.state.isInCalcExpression = true
for calc((10 + 5) / 2)
when walking the FunctionNode
for calc
.
April 10, 2023
- Updated
@csstools/css-tokenizer
to2.1.1
(patch)
March 25, 2023
- Add
replaceComponentValues
utility function. - Add
stringify
utility function.
January 28, 2023
- Improve
types
declaration inpackage.json
January 19, 2023
- Fix: Removes
UnclosedFunctionNode
andUnclosedSimpleBlockNode
. (breaking) - Change the
ParseError
interface, this is now a subclass ofError
(breaking) - Change
nameTokenValue
inFunctionNode
togetName
(breaking) - Fix: Do not discard empty items in comma separated lists.
November 14, 2022
- Initial version