Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed May 29, 2024
1 parent 2508a83 commit 5c6759d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
11 changes: 7 additions & 4 deletions node_modules/postcss-selector-parser/dist/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ var Parser = /*#__PURE__*/function () {
line: 1,
column: 1
}
}
},
sourceIndex: 0
});
this.root.append(selector);
this.current = selector;
Expand Down Expand Up @@ -577,7 +578,8 @@ var Parser = /*#__PURE__*/function () {
var selector = new _selector["default"]({
source: {
start: tokenStart(this.tokens[this.position + 1])
}
},
sourceIndex: this.tokens[this.position + 1][_tokenize.FIELDS.START_POS]
});
this.current.parent.append(selector);
this.current = selector;
Expand Down Expand Up @@ -646,8 +648,9 @@ var Parser = /*#__PURE__*/function () {
if (last && last.type === types.PSEUDO) {
var selector = new _selector["default"]({
source: {
start: tokenStart(this.tokens[this.position - 1])
}
start: tokenStart(this.tokens[this.position])
},
sourceIndex: this.tokens[this.position][_tokenize.FIELDS.START_POS]
});
var cache = this.current;
last.append(selector);
Expand Down
2 changes: 1 addition & 1 deletion node_modules/postcss-selector-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-selector-parser",
"version": "6.0.16",
"version": "6.1.0",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
Expand Down
7 changes: 4 additions & 3 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -9709,9 +9709,10 @@
}
},
"node_modules/postcss-selector-parser": {
"version": "6.0.16",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz",
"integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz",
"integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
"util-deprecate": "^1.0.2"
Expand Down

0 comments on commit 5c6759d

Please sign in to comment.