| "use strict"; | ||
| // deprecated | ||
| // @see https://drafts.fxtf.org/css-masking/#clip-property | ||
| // @see https://drafts.csswg.org/css-masking-1/#clip-property | ||
@@ -28,3 +28,3 @@ const parsers = require("../parsers"); | ||
| const parsedValue = parsers.parseCSS(item, { context: "value" }, true); | ||
| const val = parsers.parseLengthPercentage(parsedValue.children); | ||
| const val = parsers.parseLength(parsedValue.children); | ||
| if (val) { | ||
@@ -31,0 +31,0 @@ parsedValues.push(val); |
+9
-14
@@ -9,3 +9,3 @@ { | ||
| ], | ||
| "version": "5.3.4", | ||
| "version": "5.3.5", | ||
| "homepage": "https://github.com/jsdom/cssstyle", | ||
@@ -41,9 +41,6 @@ "maintainers": [ | ||
| "dependencies": { | ||
| "@asamuzakjp/css-color": "^4.1.0", | ||
| "@csstools/css-syntax-patches-for-csstree": "1.0.14", | ||
| "@asamuzakjp/css-color": "^4.1.1", | ||
| "@csstools/css-syntax-patches-for-csstree": "^1.0.21", | ||
| "css-tree": "^3.1.0" | ||
| }, | ||
| "//dependenciesComments": { | ||
| "@csstools/css-syntax-patches-for-csstree": "pinned at 1.0.14 for now due to https://github.com/jsdom/cssstyle/issues/256" | ||
| }, | ||
| "devDependencies": { | ||
@@ -55,3 +52,3 @@ "@babel/generator": "^7.28.5", | ||
| "@domenic/eslint-config": "^4.0.1", | ||
| "@webref/css": "^6.23.6", | ||
| "@webref/css": "^8.1.1", | ||
| "eslint": "^9.39.1", | ||
@@ -67,10 +64,8 @@ "eslint-config-prettier": "^10.1.8", | ||
| "download": "node ./scripts/downloadLatestProperties.mjs", | ||
| "generate": "run-p generate:*", | ||
| "generate:implemented_properties": "node ./scripts/generateImplementedProperties.mjs", | ||
| "generate:properties": "node ./scripts/generateProperties.js", | ||
| "lint": "npm run generate && eslint --max-warnings 0", | ||
| "lint": "eslint --max-warnings 0", | ||
| "lint:fix": "eslint --fix --max-warnings 0", | ||
| "prepublishOnly": "npm run lint && npm run test", | ||
| "test": "npm run generate && node --test", | ||
| "test-ci": "npm run lint && npm run test" | ||
| "prepare": "run-p prepare:*", | ||
| "prepare:implemented_properties": "node ./scripts/generateImplementedProperties.mjs", | ||
| "prepare:properties": "node ./scripts/generateProperties.js", | ||
| "test": "node --test" | ||
| }, | ||
@@ -77,0 +72,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
540309
-8.53%18022
-4.67%+ Added
- Removed
- Removed
- Removed
- Removed
Updated