🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@csstools/css-tokenizer

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/css-tokenizer - npm Package Compare versions

Comparing version

to
3.0.2

6

CHANGELOG.md
# Changes to CSS Tokenizer
### 3.0.1
### 3.0.2
_August 18, 2024_
_October 10, 2024_
- Updated the return type of `nextToken()` to indicate that it always returns a value.
- `isTokenNumeric` and `isTokenWhiteSpaceOrComment` now accept `null` and `undefined` as input, in parallel with other type predicates.
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md)

@@ -109,3 +109,3 @@ /**

*/
export declare function isTokenNumeric(x: CSSToken): x is NumericToken;
export declare function isTokenNumeric(x?: CSSToken | null): x is NumericToken;

@@ -133,3 +133,3 @@ export declare function isTokenOpenCurly(x?: CSSToken | null): x is TokenOpenCurly;

*/
export declare function isTokenWhiteSpaceOrComment(x: CSSToken): x is TokenWhitespace | TokenComment;
export declare function isTokenWhiteSpaceOrComment(x?: CSSToken | null): x is TokenWhitespace | TokenComment;

@@ -136,0 +136,0 @@ /**

{
"name": "@csstools/css-tokenizer",
"description": "Tokenize CSS",
"version": "3.0.1",
"version": "3.0.2",
"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