@eslint/css-tree
Advanced tools
+96
-0
@@ -773,2 +773,98 @@ { | ||
| }, | ||
| "rgb-component": { | ||
| "syntax": "r | g | b | alpha" | ||
| }, | ||
| "legacy-rgb-syntax": { | ||
| "syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? ) | rgb( [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )" | ||
| }, | ||
| "modern-rgb-syntax": { | ||
| "syntax": "rgb( from <color> [ <number> | <percentage> | <rgb-component> ]{3} [ / [ <alpha-value> | <rgb-component> ] ]? )" | ||
| }, | ||
| "rgb()": { | ||
| "syntax": "<legacy-rgb-syntax> | <modern-rgb-syntax>" | ||
| }, | ||
| "legacy-rgba-syntax": { | ||
| "syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? ) | rgba( [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )" | ||
| }, | ||
| "modern-rgba-syntax": { | ||
| "syntax": "rgba( from <color> [ <number> | <percentage> | <rgb-component> ]{3} [ / [ <alpha-value> | <rgb-component> ] ]? )" | ||
| }, | ||
| "rgba()": { | ||
| "syntax": "<legacy-rgba-syntax> | <modern-rgba-syntax>" | ||
| }, | ||
| "hsl-component": { | ||
| "syntax": "h | s | l | alpha" | ||
| }, | ||
| "legacy-hsl-syntax": { | ||
| "syntax": "hsl( <hue>, <percentage>, <percentage>, <alpha-value>? ) | hsl( [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )" | ||
| }, | ||
| "modern-hsl-syntax": { | ||
| "syntax": "hsl( from <color> [ <hue> | <percentage> | <number> | <hsl-component> | none ] [ <percentage> | <number> | <hsl-component> | none ] [ <percentage> | <number> | <hsl-component> | none ] [ / [ <alpha-value> | <hsl-component> | none ] ]? )" | ||
| }, | ||
| "hsl()": { | ||
| "syntax": "<legacy-hsl-syntax> | <modern-hsl-syntax>" | ||
| }, | ||
| "legacy-hsla-syntax": { | ||
| "syntax": "hsla( <hue>, <percentage>, <percentage>, <alpha-value>? ) | hsla( [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )" | ||
| }, | ||
| "modern-hsla-syntax": { | ||
| "syntax": "hsla( from <color> [ <hue> | <percentage> | <number> | <hsl-component> | none ] [ <percentage> | <number> | <hsl-component> | none ] [ <percentage> | <number> | <hsl-component> | none ] [ / [ <alpha-value> | <hsl-component> | none ] ]? )" | ||
| }, | ||
| "hsla()": { | ||
| "syntax": "<legacy-hsla-syntax> | <modern-hsla-syntax>" | ||
| }, | ||
| "hwb-component": { | ||
| "syntax": "h | w | b" | ||
| }, | ||
| "legacy-hwb-syntax": { | ||
| "syntax": "hwb( [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )" | ||
| }, | ||
| "modern-hwb-syntax": { | ||
| "syntax": "hwb( from <color> [ <hue> | <percentage> | <number> | <hwb-component> | none ] [ <percentage> | <number> | <hwb-component> | none ] [ <percentage> | <number> | <hwb-component> | none ] [ / [ <alpha-value> | <hwb-component> | none ] ]? )" | ||
| }, | ||
| "hwb()": { | ||
| "syntax": "<legacy-hwb-syntax> | <modern-hwb-syntax>" | ||
| }, | ||
| "lab-component": { | ||
| "syntax": "l | a | b | alpha" | ||
| }, | ||
| "legacy-lab-syntax": { | ||
| "syntax": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )" | ||
| }, | ||
| "modern-lab-syntax": { | ||
| "syntax": "lab( from <color> [ <number> | <percentage> | <lab-component> ]{3} [ / [ <alpha-value> | <lab-component> ] ]? )" | ||
| }, | ||
| "lab()": { | ||
| "syntax": "<legacy-lab-syntax> | <modern-lab-syntax>" | ||
| }, | ||
| "legacy-oklab-syntax": { | ||
| "syntax": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )" | ||
| }, | ||
| "modern-oklab-syntax": { | ||
| "syntax": "oklab( from <color> [ <number> | <percentage> | <lab-component> ]{3} [ / [ <alpha-value> | <lab-component> ] ]? )" | ||
| }, | ||
| "oklab()": { | ||
| "syntax": "<legacy-oklab-syntax> | <modern-oklab-syntax>" | ||
| }, | ||
| "lch-component": { | ||
| "syntax": "l | c | h | alpha" | ||
| }, | ||
| "legacy-lch-syntax": { | ||
| "syntax": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )" | ||
| }, | ||
| "modern-lch-syntax": { | ||
| "syntax": "lch( from <color> [ <number> | <percentage> | <lch-component> ]{3} [ / [ <alpha-value> | <lch-component> ] ]? )" | ||
| }, | ||
| "lch()": { | ||
| "syntax": "<legacy-lch-syntax> | <modern-lch-syntax>" | ||
| }, | ||
| "legacy-oklch-syntax": { | ||
| "syntax": "oklch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )" | ||
| }, | ||
| "modern-oklch-syntax": { | ||
| "syntax": "oklch( from <color> [ <number> | <percentage> | <lch-component> ]{3} [ / [ <alpha-value> | <lch-component> ] ]? )" | ||
| }, | ||
| "oklch()": { | ||
| "syntax": "<legacy-oklch-syntax> | <modern-oklch-syntax>" | ||
| }, | ||
| "colorspace-params": { | ||
@@ -775,0 +871,0 @@ "syntax": "[ <predefined-rgb-params> | <xyz-params>]" |
+1
-1
@@ -1,1 +0,1 @@ | ||
| module.exports = "3.6.5"; | ||
| module.exports = "3.6.6"; |
+1
-1
@@ -1,1 +0,1 @@ | ||
| export const version = "3.6.5"; | ||
| export const version = "3.6.6"; |
+1
-1
| { | ||
| "name": "@eslint/css-tree", | ||
| "version": "3.6.5", | ||
| "version": "3.6.6", | ||
| "description": "A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations", | ||
@@ -5,0 +5,0 @@ "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1454651
0.99%28607
0.56%