From eb1b19cb92487be81396bf0500300afd5378f780 Mon Sep 17 00:00:00 2001 From: ahabhgk Date: Wed, 25 Oct 2023 21:28:25 +0800 Subject: [PATCH] use correct version css-loader --- pnpm-lock.yaml | 34 +++++++++++++++++++ .../large/many-replacements/test.filter.js | 8 +++-- webpack-test/package.json | 1 + 3 files changed, 40 insertions(+), 3 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20fa90df9f0..d30b8489010 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1296,6 +1296,7 @@ importers: coffee-loader: ^1.0.0 coffeescript: ^2.5.1 copy-webpack-plugin: '5' + css-loader: ^5.0.1 csv-to-markdown-table: ^1.3.0 enhanced-resolve: 5.12.0 file-loader: ^6.2.0 @@ -1355,6 +1356,7 @@ importers: coffee-loader: 1.0.1_coffeescript@2.7.0 coffeescript: 2.7.0 copy-webpack-plugin: 5.1.2 + css-loader: 5.0.1 csv-to-markdown-table: 1.3.0 file-loader: 6.2.0 is-ci: 3.0.1 @@ -16245,6 +16247,26 @@ packages: resolution: {integrity: sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==} engines: {node: '>=4'} + /css-loader/5.0.1: + resolution: {integrity: sha512-cXc2ti9V234cq7rJzFKhirb2L2iPy8ZjALeVJAozXYz9te3r4eqLSixNAbMDJSgJEQywqXzs8gonxaboeKqwiw==} + engines: {node: '>= 10.13.0'} + peerDependencies: + webpack: ^4.27.0 || ^5.0.0 + dependencies: + camelcase: 6.3.0 + cssesc: 3.0.0 + icss-utils: 5.1.0_postcss@8.4.21 + loader-utils: 2.0.4 + postcss: 8.4.21 + postcss-modules-extract-imports: 3.0.0_postcss@8.4.21 + postcss-modules-local-by-default: 4.0.3_postcss@8.4.21 + postcss-modules-scope: 3.0.0_postcss@8.4.21 + postcss-modules-values: 4.0.0_postcss@8.4.21 + postcss-value-parser: 4.2.0 + schema-utils: 3.1.2 + semver: 7.5.1 + dev: true + /css-loader/6.7.3: resolution: {integrity: sha512-qhOH1KlBMnZP8FzRO6YCH9UHXQhVMcEGLyNdb7Hv2cpcmJbW0YrddO+tG1ab5nT41KpHIYGsbeHqxB9xPu1pKQ==} engines: {node: '>= 12.13.0'} @@ -24124,6 +24146,18 @@ packages: postcss-value-parser: 4.2.0 dev: true + /postcss-modules-local-by-default/4.0.3_postcss@8.4.21: + resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + icss-utils: 5.1.0_postcss@8.4.21 + postcss: 8.4.21 + postcss-selector-parser: 6.0.11 + postcss-value-parser: 4.2.0 + dev: true + /postcss-modules-local-by-default/4.0.3_postcss@8.4.23: resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==} engines: {node: ^10 || ^12 || >= 14} diff --git a/webpack-test/cases/large/many-replacements/test.filter.js b/webpack-test/cases/large/many-replacements/test.filter.js index 71a71e594ff..de62cf5195d 100644 --- a/webpack-test/cases/large/many-replacements/test.filter.js +++ b/webpack-test/cases/large/many-replacements/test.filter.js @@ -1,3 +1,5 @@ -module.exports = function (config) { - return !process.env.CI; -}; +// module.exports = function (config) { +// return !process.env.CI; +// }; + +module.exports = () => false // passed it, but it's too slow diff --git a/webpack-test/package.json b/webpack-test/package.json index ba8e551fa72..174e069950f 100644 --- a/webpack-test/package.json +++ b/webpack-test/package.json @@ -30,6 +30,7 @@ "coffee-loader": "^1.0.0", "coffeescript": "^2.5.1", "copy-webpack-plugin": "5", + "css-loader": "^5.0.1", "csv-to-markdown-table": "^1.3.0", "file-loader": "^6.2.0", "is-ci": "3.0.1",