From f06956efd2dc4bf77244a9fcce2b883a00b925af Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 21 Dec 2023 22:46:53 +0800 Subject: updated node modules --- .../css-parser-algorithms/dist/util/component-value-type.d.ts | 7 ------- .../@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts | 7 ------- .../dist/util/replace-component-values.d.ts | 2 -- .../css-parser-algorithms/dist/util/source-indices.d.ts | 9 --------- .../@csstools/css-parser-algorithms/dist/util/stringify.d.ts | 2 -- .../css-parser-algorithms/dist/util/type-predicates.d.ts | 6 ------ 6 files changed, 33 deletions(-) delete mode 100644 node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts delete mode 100644 node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts delete mode 100644 node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts delete mode 100644 node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts delete mode 100644 node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts delete mode 100644 node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts (limited to 'node_modules/@csstools/css-parser-algorithms/dist/util') diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts deleted file mode 100644 index eda7ee93..00000000 --- a/node_modules/@csstools/css-parser-algorithms/dist/util/component-value-type.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare enum ComponentValueType { - Function = "function", - SimpleBlock = "simple-block", - Whitespace = "whitespace", - Comment = "comment", - Token = "token" -} diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts deleted file mode 100644 index 219ea619..00000000 --- a/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface walkable { - walk(cb: (entry: { - node: Array | unknown; - parent: unknown; - }, index: number | string) => boolean | void): false | undefined; -} -export declare function gatherNodeAncestry(node: walkable): Map; diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts deleted file mode 100644 index 774051c6..00000000 --- a/node_modules/@csstools/css-parser-algorithms/dist/util/replace-component-values.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { ComponentValue } from '../consume/consume-component-block-function'; -export declare function replaceComponentValues(componentValuesList: Array>, replaceWith: (componentValue: ComponentValue) => ComponentValue | void): ComponentValue[][]; diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts deleted file mode 100644 index 92d124be..00000000 --- a/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { CSSToken } from '@csstools/css-tokenizer'; -interface TokenConvertible { - tokens(): Array; -} -/** - * Returns the start and end index of a node in the CSS source string. - */ -export declare function sourceIndices(x: TokenConvertible | Array): [number, number]; -export {}; diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts deleted file mode 100644 index 6ab4140c..00000000 --- a/node_modules/@csstools/css-parser-algorithms/dist/util/stringify.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { ComponentValue } from '../consume/consume-component-block-function'; -export declare function stringify(componentValueLists: Array>): string; diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts deleted file mode 100644 index 896d3036..00000000 --- a/node_modules/@csstools/css-parser-algorithms/dist/util/type-predicates.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CommentNode, FunctionNode, SimpleBlockNode, TokenNode, WhitespaceNode } from '../consume/consume-component-block-function'; -export declare function isSimpleBlockNode(x: unknown): x is SimpleBlockNode; -export declare function isFunctionNode(x: unknown): x is FunctionNode; -export declare function isWhitespaceNode(x: unknown): x is WhitespaceNode; -export declare function isCommentNode(x: unknown): x is CommentNode; -export declare function isTokenNode(x: unknown): x is TokenNode; -- cgit v1.2.3