Skip to content

Commit 858f0ca

Browse files
committedMay 17, 2023
deps: postcss-selector-parser@6.0.13
1 parent 53ecb84 commit 858f0ca

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed
 

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

+2-5
Original file line numberDiff line numberDiff line change
@@ -278,16 +278,13 @@ if (node.type === 'id') {
278278
}
279279
```
280280

281-
### `node.clone()`
281+
### `node.clone([opts])`
282282

283283
Returns a copy of a node, detached from any parent containers that the
284284
original might have had.
285285

286286
```js
287-
const cloned = parser.id({value: 'search'});
288-
String(cloned);
289-
290-
// => #search
287+
const cloned = node.clone();
291288
```
292289

293290
### `node.isAtPosition(line, column)`

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

+4
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,9 @@ var Parser = /*#__PURE__*/function () {
609609
_proto.unexpected = function unexpected() {
610610
return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[_tokenize.FIELDS.START_POS]);
611611
};
612+
_proto.unexpectedPipe = function unexpectedPipe() {
613+
return this.error("Unexpected '|'.", this.currToken[_tokenize.FIELDS.START_POS]);
614+
};
612615
_proto.namespace = function namespace() {
613616
var before = this.prevToken && this.content(this.prevToken) || true;
614617
if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.word) {
@@ -618,6 +621,7 @@ var Parser = /*#__PURE__*/function () {
618621
this.position++;
619622
return this.universal(before);
620623
}
624+
this.unexpectedPipe();
621625
};
622626
_proto.nesting = function nesting() {
623627
if (this.nextToken) {

‎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.0.12",
3+
"version": "6.0.13",
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
@@ -10400,9 +10400,9 @@
1040010400
"dev": true
1040110401
},
1040210402
"node_modules/postcss-selector-parser": {
10403-
"version": "6.0.12",
10404-
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz",
10405-
"integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==",
10403+
"version": "6.0.13",
10404+
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz",
10405+
"integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==",
1040610406
"dependencies": {
1040710407
"cssesc": "^3.0.0",
1040810408
"util-deprecate": "^1.0.2"

0 commit comments

Comments
 (0)
Please sign in to comment.