postcss-values-parser
Advanced tools
Comparing version
@@ -188,2 +188,3 @@ /* | ||
value: string; | ||
contents: string; | ||
} | ||
@@ -190,0 +191,0 @@ |
@@ -11,2 +11,4 @@ /* | ||
*/ | ||
const { unquote } = require('quote-unquote'); | ||
const { registerWalker } = require('../walker'); | ||
@@ -20,2 +22,3 @@ | ||
this.type = 'quoted'; | ||
this.contents = unquote(options.value); | ||
[this.quote] = options.value; | ||
@@ -22,0 +25,0 @@ } |
{ | ||
"name": "postcss-values-parser", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "A CSS property value parser for use with PostCSS", | ||
@@ -35,18 +35,23 @@ "license": "MPL-2.0", | ||
"is-url-superb": "^4.0.0", | ||
"postcss": "^7.0.5" | ||
"quote-unquote": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^3.5.1", | ||
"ava": "^3.12.1", | ||
"chalk": "^4.1.0", | ||
"eslint-config-shellscape": "^2.0.2", | ||
"globby": "^11.0.0", | ||
"lint-staged": "^10.0.8", | ||
"nyc": "^15.0.0", | ||
"eslint-config-shellscape": "^2.1.0", | ||
"globby": "^11.0.1", | ||
"lint-staged": "^10.4.0", | ||
"nyc": "^15.1.0", | ||
"perfy": "^1.1.5", | ||
"postcss-value-parser": "^4.0.0", | ||
"postcss": "^8.0.9", | ||
"postcss-value-parser": "^4.1.0", | ||
"pre-commit": "^1.2.2", | ||
"prettier": "^2.0.1", | ||
"prettier": "^2.1.2", | ||
"rewiremock": "^3.14.3", | ||
"strip-ansi": "^6.0.0", | ||
"text-table": "^0.2.0" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.0.9" | ||
}, | ||
"keywords": [ | ||
@@ -66,3 +71,7 @@ "css", | ||
"!**/fixtures/**", | ||
"!**/helpers/**" | ||
"!**/helpers/**", | ||
"!**/rewiremock.js" | ||
], | ||
"require": [ | ||
"./test/rewiremock.js" | ||
] | ||
@@ -69,0 +78,0 @@ }, |
62478
0.49%1259
0.24%4
33.33%14
16.67%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed