Skip to content

Commit

Permalink
deps: postcss-selector-parser@6.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed May 17, 2023
1 parent 53ecb84 commit 858f0ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 2 additions & 5 deletions node_modules/postcss-selector-parser/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,16 +278,13 @@ if (node.type === 'id') {
}
```

### `node.clone()`
### `node.clone([opts])`

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

```js
const cloned = parser.id({value: 'search'});
String(cloned);

// => #search
const cloned = node.clone();
```

### `node.isAtPosition(line, column)`
Expand Down
4 changes: 4 additions & 0 deletions node_modules/postcss-selector-parser/dist/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,9 @@ var Parser = /*#__PURE__*/function () {
_proto.unexpected = function unexpected() {
return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[_tokenize.FIELDS.START_POS]);
};
_proto.unexpectedPipe = function unexpectedPipe() {
return this.error("Unexpected '|'.", this.currToken[_tokenize.FIELDS.START_POS]);
};
_proto.namespace = function namespace() {
var before = this.prevToken && this.content(this.prevToken) || true;
if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.word) {
Expand All @@ -618,6 +621,7 @@ var Parser = /*#__PURE__*/function () {
this.position++;
return this.universal(before);
}
this.unexpectedPipe();
};
_proto.nesting = function nesting() {
if (this.nextToken) {
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.12",
"version": "6.0.13",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10400,9 +10400,9 @@
"dev": true
},
"node_modules/postcss-selector-parser": {
"version": "6.0.12",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz",
"integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==",
"version": "6.0.13",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz",
"integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==",
"dependencies": {
"cssesc": "^3.0.0",
"util-deprecate": "^1.0.2"
Expand Down

0 comments on commit 858f0ca

Please sign in to comment.