Skip to content

Commit a44ab26

Browse files
committedAug 21, 2024
deps: postcss-selector-parser@6.1.2
1 parent 4e965ad commit a44ab26

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
 

‎node_modules/postcss-selector-parser/API.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ has a method `error(message, options)` that returns an
786786
error object. This method should always be used to raise
787787
errors relating to the syntax of selectors. The options
788788
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)).
790790

791791
#### Async Error Example
792792

‎node_modules/postcss-selector-parser/dist/parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ var Parser = /*#__PURE__*/function () {
485485
}
486486
// We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
487487
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) {
489489
var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
490490
if (nodes.length > 0) {
491491
var last = this.current.last;

‎node_modules/postcss-selector-parser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-selector-parser",
3-
"version": "6.1.0",
3+
"version": "6.1.2",
44
"devDependencies": {
55
"@babel/cli": "^7.11.6",
66
"@babel/core": "^7.11.6",

‎package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10470,9 +10470,9 @@
1047010470
}
1047110471
},
1047210472
"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==",
1047610476
"license": "MIT",
1047710477
"dependencies": {
1047810478
"cssesc": "^3.0.0",

0 commit comments

Comments
 (0)
Please sign in to comment.