postcss-values-parser
Advanced tools
Comparing version
@@ -40,3 +40,3 @@ /* | ||
lastNode.isHex = hexRegex.test(value); | ||
lastNode.isUrl = isUrl(value); | ||
lastNode.isUrl = value.startsWith('//') ? isUrl(`http:${value}`) : isUrl(value); | ||
lastNode.isVariable = Word.testVariable(tokens[0], parser); | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "postcss-values-parser", | ||
"version": "3.2.1", | ||
"version": "4.0.0", | ||
"description": "A CSS property value parser for use with PostCSS", | ||
@@ -17,14 +17,10 @@ "license": "MPL-2.0", | ||
"engines": { | ||
"node": ">=6.14.4" | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"ci:coverage": "nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov", | ||
"ci:lint": "npm run lint && npm run security", | ||
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", | ||
"ci:test": "npm run test", | ||
"commitlint": "commitlint", | ||
"commitmsg": "commitlint -e $GIT_PARAMS", | ||
"lint": "eslint lib test --fix --cache", | ||
"lint-staged": "lint-staged", | ||
"security": "npm audit", | ||
"security": "npm audit --audit-level=moderate", | ||
"test": "ava" | ||
@@ -39,11 +35,8 @@ }, | ||
"color-name": "^1.1.4", | ||
"is-url-superb": "^3.0.0", | ||
"postcss": "^7.0.5", | ||
"url-regex": "^5.0.0" | ||
"is-url-superb": "^4.0.0", | ||
"postcss": "^7.0.5" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^8.1.0", | ||
"@commitlint/config-conventional": "^8.1.0", | ||
"ava": "^3.5.1", | ||
"chalk": "^3.0.0", | ||
"chalk": "^4.1.0", | ||
"eslint-config-shellscape": "^2.0.2", | ||
@@ -55,3 +48,2 @@ "globby": "^11.0.0", | ||
"postcss-value-parser": "^4.0.0", | ||
"postcss-values-parser": "^3.0.3", | ||
"pre-commit": "^1.2.2", | ||
@@ -58,0 +50,0 @@ "prettier": "^2.0.1", |
3
-25%12
-20%62173
-0.46%+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated