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/csso/lib/clean/index.js | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 node_modules/csso/lib/clean/index.js (limited to 'node_modules/csso/lib/clean/index.js') diff --git a/node_modules/csso/lib/clean/index.js b/node_modules/csso/lib/clean/index.js deleted file mode 100644 index 4faa73a6..00000000 --- a/node_modules/csso/lib/clean/index.js +++ /dev/null @@ -1,28 +0,0 @@ -import { walk } from 'css-tree'; -import Atrule from './Atrule.js'; -import Comment from './Comment.js'; -import Declaration from './Declaration.js'; -import Raw from './Raw.js'; -import Rule from './Rule.js'; -import TypeSelector from './TypeSelector.js'; -import WhiteSpace from './WhiteSpace.js'; - -const handlers = { - Atrule, - Comment, - Declaration, - Raw, - Rule, - TypeSelector, - WhiteSpace -}; - -export default function(ast, options) { - walk(ast, { - leave(node, item, list) { - if (handlers.hasOwnProperty(node.type)) { - handlers[node.type].call(this, node, item, list, options); - } - } - }); -}; -- cgit v1.2.3