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/cjs/replace/Value.cjs | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 node_modules/csso/cjs/replace/Value.cjs (limited to 'node_modules/csso/cjs/replace/Value.cjs') diff --git a/node_modules/csso/cjs/replace/Value.cjs b/node_modules/csso/cjs/replace/Value.cjs deleted file mode 100644 index 8979bdc0..00000000 --- a/node_modules/csso/cjs/replace/Value.cjs +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -const cssTree = require('css-tree'); -const font = require('./property/font.cjs'); -const fontWeight = require('./property/font-weight.cjs'); -const background = require('./property/background.cjs'); -const border = require('./property/border.cjs'); - -const handlers = { - 'font': font, - 'font-weight': fontWeight, - 'background': background, - 'border': border, - 'outline': border -}; - -function compressValue(node) { - if (!this.declaration) { - return; - } - - const property = cssTree.property(this.declaration.property); - - if (handlers.hasOwnProperty(property.basename)) { - handlers[property.basename](node); - } -} - -module.exports = compressValue; -- cgit v1.2.3