postcss-selector-parser
Advanced tools
Comparing version
@@ -20,4 +20,7 @@ # API Documentation | ||
const processor = parser(); | ||
``` | ||
// or, with optional transform function | ||
Or, with optional transform function | ||
```js | ||
const transform = selectors => { | ||
@@ -24,0 +27,0 @@ selectors.walkUniversals(selector => { |
@@ -0,1 +1,6 @@ | ||
# 5.0.0 | ||
- Allow escaped dot within class name. | ||
- Update PostCSS to 7.0.7 (patch) | ||
# 5.0.0-rc.4 | ||
@@ -2,0 +7,0 @@ |
@@ -860,3 +860,5 @@ 'use strict'; | ||
} | ||
var hasClass = (0, _indexesOf2.default)(word, '.'); | ||
var hasClass = (0, _indexesOf2.default)(word, '.').filter(function (i) { | ||
return word[i - 1] !== '\\'; | ||
}); | ||
var hasId = (0, _indexesOf2.default)(word, '#'); | ||
@@ -863,0 +865,0 @@ // Eliminate Sass interpolations from the list of id indexes |
{ | ||
"name": "postcss-selector-parser", | ||
"version": "5.0.0-rc.4", | ||
"version": "5.0.0", | ||
"devDependencies": { | ||
@@ -23,3 +23,3 @@ "ava": "^0.25.0", | ||
"nyc": "^11.7.3", | ||
"postcss": "^7.0.5", | ||
"postcss": "^7.0.7", | ||
"semver": "^5.6.0" | ||
@@ -26,0 +26,0 @@ }, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
196496
0.08%3364
0.06%0
-100%0
-100%