From 73ced5e156cb7b8588c7e24fcee77e7f3e4061c5 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 29 Dec 2023 07:54:55 +0800 Subject: package update --- node_modules/postcss-selector-parser/CHANGELOG.md | 4 ++++ node_modules/postcss-selector-parser/README.md | 2 +- node_modules/postcss-selector-parser/package.json | 4 ++-- .../postcss-selector-parser/postcss-selector-parser.d.ts | 16 ++++++++-------- 4 files changed, 15 insertions(+), 11 deletions(-) (limited to 'node_modules/postcss-selector-parser') diff --git a/node_modules/postcss-selector-parser/CHANGELOG.md b/node_modules/postcss-selector-parser/CHANGELOG.md index cb718db8..888f63db 100644 --- a/node_modules/postcss-selector-parser/CHANGELOG.md +++ b/node_modules/postcss-selector-parser/CHANGELOG.md @@ -1,3 +1,7 @@ +# 6.0.14 + +- Fixed: type definitions + # 6.0.13 - Fixed: throw on unexpected pipe symbols diff --git a/node_modules/postcss-selector-parser/README.md b/node_modules/postcss-selector-parser/README.md index 18a01c5c..28e44f21 100644 --- a/node_modules/postcss-selector-parser/README.md +++ b/node_modules/postcss-selector-parser/README.md @@ -1,4 +1,4 @@ -# postcss-selector-parser [![Build Status](https://travis-ci.org/postcss/postcss-selector-parser.svg?branch=master)](https://travis-ci.org/postcss/postcss-selector-parser) +# postcss-selector-parser [![test](https://github.com/postcss/postcss-selector-parser/actions/workflows/test.yml/badge.svg)](https://github.com/postcss/postcss-selector-parser/actions/workflows/test.yml) > Selector parser with built in methods for working with selector strings. diff --git a/node_modules/postcss-selector-parser/package.json b/node_modules/postcss-selector-parser/package.json index dce071cd..49fc9960 100644 --- a/node_modules/postcss-selector-parser/package.json +++ b/node_modules/postcss-selector-parser/package.json @@ -1,6 +1,6 @@ { "name": "postcss-selector-parser", - "version": "6.0.13", + "version": "6.0.14", "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", @@ -18,7 +18,7 @@ "glob": "^8.0.3", "minimist": "^1.2.5", "nyc": "^15.1.0", - "postcss": "^8.0.0", + "postcss": "^8.4.31", "semver": "^7.3.2", "typescript": "^4.0.3" }, diff --git a/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts b/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts index 1512322a..1d804269 100644 --- a/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts +++ b/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts @@ -166,7 +166,7 @@ declare namespace parser { replaceWith(...nodes: Node[]): Node; next(): Node; prev(): Node; - clone(opts?: {[override: string]:any}): Node; + clone(opts?: {[override: string]:any}): this; /** * Return whether this node includes the character at the position of the given line and column. * Returns undefined if the nodes lack sufficient source metadata to determine the position. @@ -211,8 +211,8 @@ declare namespace parser { Child extends Node = Node > extends Base { nodes: Array; - append(selector: Selector): this; - prepend(selector: Selector): this; + append(selector: Child): this; + prepend(selector: Child): this; at(index: number): Child; /** * Return the most specific node at the line and column number given. @@ -233,8 +233,8 @@ declare namespace parser { readonly last: Child; readonly length: number; removeChild(child: Child): this; - removeAll(): Container; - empty(): Container; + removeAll(): this; + empty(): this; insertAfter(oldNode: Child, newNode: Child): this; insertBefore(oldNode: Child, newNode: Child): this; each(callback: (node: Child) => boolean | void): boolean | undefined; @@ -500,18 +500,18 @@ declare namespace parser { } function pseudo(opts: ContainerOptions): Pseudo; /** - * Checks wether the node is the Psuedo subtype of node. + * Checks whether the node is the Pseudo subtype of node. */ function isPseudo(node: any): node is Pseudo; /** - * Checks wether the node is, specifically, a pseudo element instead of + * Checks whether the node is, specifically, a pseudo element instead of * pseudo class. */ function isPseudoElement(node: any): node is Pseudo; /** - * Checks wether the node is, specifically, a pseudo class instead of + * Checks whether the node is, specifically, a pseudo class instead of * pseudo element. */ function isPseudoClass(node: any): node is Pseudo; -- cgit v1.2.3