1.7 KiB
1.7 KiB
Changes to CSS Parser Algorithms
2.3.2
September 24, 2023
- Updated
@csstools/css-tokenizer
to2.2.1
(patch)
2.3.1
July 24, 2023
- Updated
@csstools/css-tokenizer
to2.2.0
(minor)
2.3.0
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.
2.2.0
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
.
2.1.1
April 10, 2023
- Updated
@csstools/css-tokenizer
to2.1.1
(patch)
2.1.0
March 25, 2023
- Add
replaceComponentValues
utility function. - Add
stringify
utility function.
2.0.1
January 28, 2023
- Improve
types
declaration inpackage.json
2.0.0
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.
1.0.0
November 14, 2022
- Initial version