File tree 4 files changed +10
-9
lines changed
node_modules/postcss-selector-parser
4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -278,16 +278,13 @@ if (node.type === 'id') {
278
278
}
279
279
```
280
280
281
- ### ` node.clone() `
281
+ ### ` node.clone([opts] ) `
282
282
283
283
Returns a copy of a node, detached from any parent containers that the
284
284
original might have had.
285
285
286
286
``` js
287
- const cloned = parser .id ({value: ' search' });
288
- String (cloned);
289
-
290
- // => #search
287
+ const cloned = node .clone ();
291
288
```
292
289
293
290
### ` node.isAtPosition(line, column) `
Original file line number Diff line number Diff line change @@ -609,6 +609,9 @@ var Parser = /*#__PURE__*/function () {
609
609
_proto . unexpected = function unexpected ( ) {
610
610
return this . error ( "Unexpected '" + this . content ( ) + "'. Escaping special characters with \\ may help." , this . currToken [ _tokenize . FIELDS . START_POS ] ) ;
611
611
} ;
612
+ _proto . unexpectedPipe = function unexpectedPipe ( ) {
613
+ return this . error ( "Unexpected '|'." , this . currToken [ _tokenize . FIELDS . START_POS ] ) ;
614
+ } ;
612
615
_proto . namespace = function namespace ( ) {
613
616
var before = this . prevToken && this . content ( this . prevToken ) || true ;
614
617
if ( this . nextToken [ _tokenize . FIELDS . TYPE ] === tokens . word ) {
@@ -618,6 +621,7 @@ var Parser = /*#__PURE__*/function () {
618
621
this . position ++ ;
619
622
return this . universal ( before ) ;
620
623
}
624
+ this . unexpectedPipe ( ) ;
621
625
} ;
622
626
_proto . nesting = function nesting ( ) {
623
627
if ( this . nextToken ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " postcss-selector-parser" ,
3
- "version" : " 6.0.12 " ,
3
+ "version" : " 6.0.13 " ,
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 10400
10400
"dev": true
10401
10401
},
10402
10402
"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 ==",
10406
10406
"dependencies": {
10407
10407
"cssesc": "^3.0.0",
10408
10408
"util-deprecate": "^1.0.2"
You can’t perform that action at this time.
0 commit comments