You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@csstools/css-parser-algorithms

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/css-parser-algorithms - npm Package Compare versions

Comparing version

to
2.3.0

dist/util/source-indices.d.ts

33

CHANGELOG.md
# 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';

2

package.json
{
"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