+6
-6
lines changedFilter options
+6
-6
lines changed Original file line number Diff line number Diff line change
@@ -786,7 +786,7 @@ has a method `error(message, options)` that returns an
786
786
error object. This method should always be used to raise
787
787
errors relating to the syntax of selectors. The options
788
788
to this method are passed to postcss's error constructor
789
-
([documentation](http://api.postcss.org/Container.html#error)).
789
+
([documentation](http://postcss.org/api/#container-error)).
790
790
791
791
#### Async Error Example
792
792
Original file line number Diff line number Diff line change
@@ -485,7 +485,7 @@ var Parser = /*#__PURE__*/function () {
485
485
}
486
486
// We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
487
487
var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
488
-
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
488
+
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
489
489
var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
490
490
if (nodes.length > 0) {
491
491
var last = this.current.last;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "postcss-selector-parser",
3
-
"version": "6.1.0",
3
+
"version": "6.1.2",
4
4
"devDependencies": {
5
5
"@babel/cli": "^7.11.6",
6
6
"@babel/core": "^7.11.6",
Original file line number Diff line number Diff line change
@@ -10470,9 +10470,9 @@
10470
10470
}
10471
10471
},
10472
10472
"node_modules/postcss-selector-parser": {
10473
-
"version": "6.1.0",
10474
-
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz",
10475
-
"integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==",
10473
+
"version": "6.1.2",
10474
+
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
10475
+
"integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
10476
10476
"license": "MIT",
10477
10477
"dependencies": {
10478
10478
"cssesc": "^3.0.0",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4