From 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 14:05:49 +0800 Subject: updated node_modules --- node_modules/cssnano/README.md | 2 +- node_modules/cssnano/package.json | 14 +++++++------- node_modules/cssnano/src/index.js | 4 ++-- node_modules/cssnano/types/index.d.ts | 1 + 4 files changed, 11 insertions(+), 10 deletions(-) (limited to 'node_modules/cssnano') diff --git a/node_modules/cssnano/README.md b/node_modules/cssnano/README.md index 3cdb2f43..0f110530 100644 --- a/node_modules/cssnano/README.md +++ b/node_modules/cssnano/README.md @@ -3,4 +3,4 @@ For documentation, please see the following links: * Repository: https://github.com/cssnano/cssnano -* Website: http://cssnano.co +* Website: http://cssnano.github.io/cssnano diff --git a/node_modules/cssnano/package.json b/node_modules/cssnano/package.json index d8c4bcc2..00bbacd0 100644 --- a/node_modules/cssnano/package.json +++ b/node_modules/cssnano/package.json @@ -1,6 +1,6 @@ { "name": "cssnano", - "version": "6.0.3", + "version": "6.1.2", "description": "A modular minifier, built on top of the PostCSS ecosystem.", "main": "src/index.js", "types": "types/index.d.ts", @@ -19,8 +19,8 @@ ], "license": "MIT", "dependencies": { - "lilconfig": "^3.0.0", - "cssnano-preset-default": "^6.0.3" + "lilconfig": "^3.1.1", + "cssnano-preset-default": "^6.1.2" }, "homepage": "https://github.com/cssnano/cssnano", "author": { @@ -41,10 +41,10 @@ "node": "^14 || ^16 || >=18.0" }, "devDependencies": { - "autoprefixer": "^10.4.16", - "postcss": "^8.4.32", - "cssnano-preset-advanced": "^6.0.3", - "cssnano-preset-lite": "^3.0.1" + "autoprefixer": "^10.4.19", + "postcss": "^8.4.38", + "cssnano-preset-advanced": "^6.1.2", + "cssnano-preset-lite": "^3.1.0" }, "peerDependencies": { "postcss": "^8.4.31" diff --git a/node_modules/cssnano/src/index.js b/node_modules/cssnano/src/index.js index 50fb2148..20c38975 100644 --- a/node_modules/cssnano/src/index.js +++ b/node_modules/cssnano/src/index.js @@ -42,8 +42,8 @@ function resolvePreset(preset) { } // For JS setups where we invoked the preset already - if (preset.plugins) { - return preset.plugins; + if (fn.plugins) { + return fn.plugins; } // Provide an alias for the default preset, as it is built-in. diff --git a/node_modules/cssnano/types/index.d.ts b/node_modules/cssnano/types/index.d.ts index 50a8ff7a..1a2de054 100644 --- a/node_modules/cssnano/types/index.d.ts +++ b/node_modules/cssnano/types/index.d.ts @@ -14,3 +14,4 @@ type Options = { configFile?: string; }; declare var postcss: true; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file -- cgit v1.2.3