November 1, 2024
- Updated
@csstools/css-tokenizer
to3.0.3
(patch) - Updated
@csstools/css-parser-algorithms
to3.0.4
(patch)
October 23, 2024
- Updated
@csstools/css-parser-algorithms
to3.0.3
(patch)
October 10, 2024
MediaQuery.prototype.negateQuery()
now returns an array ofMediaQuery
. e.g. negatingscreen and (color)
returns['not screen', 'not (color)']
- Updated
@csstools/css-tokenizer
to3.0.2
(patch) - Updated
@csstools/css-parser-algorithms
to3.0.2
(patch)
August 18, 2024
- Updated
@csstools/css-tokenizer
to3.0.1
(patch) - Updated
@csstools/css-parser-algorithms
to3.0.1
(patch)
August 3, 2024
- Updated: Support for Node v18+ (major).
- Updated
@csstools/css-tokenizer
to3.0.0
(major) - Updated
@csstools/css-parser-algorithms
to3.0.0
(major)
July 6, 2024
- Updated
@csstools/css-tokenizer
to2.4.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.7.1
(patch)
June 29, 2024
- Updated
@csstools/css-tokenizer
to2.3.2
(patch) - Updated
@csstools/css-parser-algorithms
to2.7.0
(minor)
May 4, 2024
- Updated
@csstools/css-tokenizer
to2.3.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.6.3
(patch)
May 4, 2024
- Updated
@csstools/css-tokenizer
to2.3.0
(minor) - Updated
@csstools/css-parser-algorithms
to2.6.2
(patch)
March 13, 2024
- Updated
@csstools/css-tokenizer
to2.2.4
(patch) - Updated
@csstools/css-parser-algorithms
to2.6.1
(patch)
February 19, 2024
- Updated
@csstools/css-parser-algorithms
to2.6.0
(minor)
December 31, 2023
- Updated
@csstools/css-tokenizer
to2.2.3
(patch) - Updated
@csstools/css-parser-algorithms
to2.5.0
(minor)
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 - Updated
@csstools/css-tokenizer
to2.2.2
(patch) - Updated
@csstools/css-parser-algorithms
to2.4.0
(minor)
September 24, 2023
- Updated
@csstools/css-tokenizer
to2.2.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.3.2
(patch)
August 5, 2023
- Do not allow keywords as media feature values in range context queries.
July 24, 2023
- Updated
@csstools/css-tokenizer
to2.2.0
(minor) - Updated
@csstools/css-parser-algorithms
to2.3.1
(patch)
July 3, 2023
- Updated
@csstools/css-parser-algorithms
to2.3.0
(minor)
June 21, 2023
- Fix parsing of
(width == 100px)
. This was erroneously parsed as a range query and will now instead be a general enclosed node.
June 1, 2023
- Fix
walk
forMediaFeatureValue
with complex component values. - Add
state
towalk
methods.
This makes it possible pass down information from a parent structure to children.
e.g. you can set entry.state.inInPrintQuery = true
for print and (min-width: 30cm)
.
April 10, 2023
- Updated
@csstools/css-tokenizer
to2.1.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.1.1
(patch)
April 10, 2023
- Add support for
env()
functions as values in media queries. - Improve the detection of math function as values in media queries.
March 25, 2023
- Improve case insensitive string matching.
January 28, 2023
- Improve
types
declaration inpackage.json
January 19, 2023
- Refactor
MediaFeatureBoolean
so that it follows the same structure asMediaFeaturePlain
(breaking) - Change the
ParseError
interface, this is now a subclass ofError
(breaking) - Add
getName
andgetNameToken
to all nodes that have a feature name. - Add
@custom-media
parsing.
November 14, 2022
- Initial version