@csstools/css-parser-algorithms
Advanced tools
Comparing version
# Changes to CSS Parser Algorithms | ||
### 2.6.2 | ||
_May 4, 2024_ | ||
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#230) (minor) | ||
### 2.6.1 | ||
@@ -15,10 +21,2 @@ | ||
### 2.5.0 | ||
_December 31, 2023_ | ||
- Add a `forEach` and `walk` function. | ||
- Improve documentation. | ||
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#223) (patch) | ||
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md) |
@@ -40,3 +40,3 @@ /** | ||
* | ||
* parseComponentValue(tokenize({ css: `10x 20px` })); | ||
* parseListOfComponentValues(tokenize({ css: `10x 20px` })); | ||
* ``` | ||
@@ -480,3 +480,3 @@ * | ||
*/ | ||
tokens(): Array<CSSToken>; | ||
tokens(): [CSSToken]; | ||
/** | ||
@@ -498,3 +498,3 @@ * Convert the current token to a string. | ||
*/ | ||
isTokenNode(): this is TokenNode; | ||
isTokenNod(): this is TokenNode; | ||
/** | ||
@@ -501,0 +501,0 @@ * @internal |
{ | ||
"name": "@csstools/css-parser-algorithms", | ||
"description": "Algorithms to help you parse CSS from an array of tokens.", | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"contributors": [ | ||
@@ -51,3 +51,3 @@ { | ||
"peerDependencies": { | ||
"@csstools/css-tokenizer": "^2.2.4" | ||
"@csstools/css-tokenizer": "^2.3.0" | ||
}, | ||
@@ -54,0 +54,0 @@ "homepage": "https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms#readme", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
45170
-0.77%643
-0.16%