From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- node_modules/css-tree/lib/syntax/atrule/import.js | 39 ----------------------- 1 file changed, 39 deletions(-) delete mode 100644 node_modules/css-tree/lib/syntax/atrule/import.js (limited to 'node_modules/css-tree/lib/syntax/atrule/import.js') diff --git a/node_modules/css-tree/lib/syntax/atrule/import.js b/node_modules/css-tree/lib/syntax/atrule/import.js deleted file mode 100644 index 7403ad9e..00000000 --- a/node_modules/css-tree/lib/syntax/atrule/import.js +++ /dev/null @@ -1,39 +0,0 @@ -import { - String as StringToken, - Ident, - Url, - Function as FunctionToken, - LeftParenthesis -} from '../../tokenizer/index.js'; - -export default { - parse: { - prelude() { - const children = this.createList(); - - this.skipSC(); - - switch (this.tokenType) { - case StringToken: - children.push(this.String()); - break; - - case Url: - case FunctionToken: - children.push(this.Url()); - break; - - default: - this.error('String or url() is expected'); - } - - if (this.lookupNonWSType(0) === Ident || - this.lookupNonWSType(0) === LeftParenthesis) { - children.push(this.MediaQueryList()); - } - - return children; - }, - block: null - } -}; -- cgit v1.2.3