postcss-selector-parser
Advanced tools
Comparing version
@@ -0,1 +1,10 @@ | ||
# 5.0.0-rc.4 | ||
- Fixed and issue where comments immediately after an insensitive | ||
(in attribute) were not parsed correctly. | ||
- Updated `cssesc` to 2.0.0 (major). | ||
- Removed outdated integration tests. | ||
- Added tests for custom selectors, tags with attributes, the universal | ||
selector with pseudos, and tokens after combinators. | ||
# 5.0.0-rc.1 | ||
@@ -2,0 +11,0 @@ |
@@ -403,3 +403,3 @@ 'use strict'; | ||
if (lastAdded) { | ||
if (spaceAfterMeaningfulToken || next && next[_tokenize.FIELDS.TYPE] === tokens.space) { | ||
if (spaceAfterMeaningfulToken || next && next[_tokenize.FIELDS.TYPE] === tokens.space || lastAdded === 'insensitive') { | ||
var lastComment = (0, _util.getProp)(node, 'spaces', lastAdded, 'after') || ''; | ||
@@ -406,0 +406,0 @@ var rawLastComment = (0, _util.getProp)(node, 'raws', 'spaces', lastAdded, 'after') || lastComment; |
{ | ||
"name": "postcss-selector-parser", | ||
"version": "5.0.0-rc.3", | ||
"version": "5.0.0-rc.4", | ||
"devDependencies": { | ||
"ava": "^0.25.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.4.0", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^8.2.3", | ||
"babel-plugin-add-module-exports": "^0.2.0", | ||
"babel-plugin-precompile-charcodes": "^1.0.0", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-plugin-precompile-charcodes": "^1.1.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-es2015-loose": "^7.0.0", | ||
"babel-preset-stage-0": "^6.3.13", | ||
"babel-register": "^6.9.0", | ||
"coveralls": "^2.11.6", | ||
"del-cli": "^0.2.0", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"babel-register": "^6.26.0", | ||
"coveralls": "^3.0.2", | ||
"del-cli": "^1.1.0", | ||
"eslint": "^4.19.1", | ||
"eslint-plugin-babel": "^3.3.0", | ||
"eslint-plugin-import": "^2.11.0", | ||
"glob": "^7.0.3", | ||
"eslint-plugin-import": "^2.14.0", | ||
"glob": "^7.1.3", | ||
"minimist": "^1.2.0", | ||
"nyc": "^11.7.3", | ||
"postcss": "^6.0.6", | ||
"semver": "^5.5.0" | ||
"postcss": "^7.0.5", | ||
"semver": "^5.6.0" | ||
}, | ||
@@ -43,4 +44,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"babel-eslint": "^8.2.3", | ||
"cssesc": "^1.0.1", | ||
"cssesc": "^2.0.0", | ||
"indexes-of": "^1.0.1", | ||
@@ -47,0 +47,0 @@ "uniq": "^1.0.1" |
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
196336
0.18%3
-25%20
5.26%1
Infinity%+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated