@csstools/css-parser-algorithms
Advanced tools
Comparing version
# Changes to CSS Parser Algorithms | ||
### 2.2.0 (June 1, 2023) | ||
### 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` to `walk` methods. | ||
@@ -10,17 +21,25 @@ | ||
### 2.1.1 (April 10, 2023) | ||
### 2.1.1 | ||
_April 10, 2023_ | ||
- Updated `@csstools/css-tokenizer` to `2.1.1` (patch) | ||
### 2.1.0 (March 25, 2023) | ||
### 2.1.0 | ||
_March 25, 2023_ | ||
- Add `replaceComponentValues` utility function. | ||
- Add `stringify` utility function. | ||
### 2.0.1 (January 28, 2023) | ||
### 2.0.1 | ||
_January 28, 2023_ | ||
- Improve `types` declaration in `package.json` | ||
### 2.0.0 (January 19, 2023) | ||
### 2.0.0 | ||
_January 19, 2023_ | ||
- Fix: Removes `UnclosedFunctionNode` and `UnclosedSimpleBlockNode`. (breaking) | ||
@@ -31,4 +50,6 @@ - Change the `ParseError` interface, this is now a subclass of `Error` (breaking) | ||
### 1.0.0 (November 14, 2022) | ||
### 1.0.0 | ||
_November 14, 2022_ | ||
- Initial version |
@@ -10,1 +10,2 @@ export * from './consume/consume-component-block-function'; | ||
export { isCommentNode, isFunctionNode, isSimpleBlockNode, isTokenNode, isWhitespaceNode, } from './util/type-predicates'; | ||
export { sourceIndices } from './util/source-indices'; |
{ | ||
"name": "@csstools/css-parser-algorithms", | ||
"description": "Algorithms to help you parse CSS from an array of tokens.", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
32885
3.42%18
5.88%249
5.06%1
-50%0
-100%