diff --git a/package-lock.json b/package-lock.json index cf5d065f9..8984d9762 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "babel-polyfill": "6.26.0", "chalk": "4.1.2", "clean-webpack-plugin": "4.0.0", - "css-loader": "5.2.7", + "css-loader": "6.10.0", "cssnano": "6.0.3", "dotenv": "8.6.0", "dotenv-webpack": "8.0.1", @@ -5345,30 +5345,37 @@ } }, "node_modules/css-loader": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.7.tgz", - "integrity": "sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.10.0.tgz", + "integrity": "sha512-LTSA/jWbwdMlk+rhmElbDR2vbtQoTBPr7fkJE+mxrHj+7ru0hUmHafDRzWIjIHTwpitWVaqY2/UWGRca3yUgRw==", "dependencies": { "icss-utils": "^5.1.0", - "loader-utils": "^2.0.0", - "postcss": "^8.2.15", + "postcss": "^8.4.33", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", - "postcss-modules-scope": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.4", + "postcss-modules-scope": "^3.1.1", "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^3.0.0", - "semver": "^7.3.5" + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" }, "engines": { - "node": ">= 10.13.0" + "node": ">= 12.13.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "webpack": "^4.27.0 || ^5.0.0" + "@rspack/core": "0.x || 1.x", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/css-loader/node_modules/lru-cache": { diff --git a/package.json b/package.json index d5ca1291a..63ac1f8b8 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "babel-polyfill": "6.26.0", "chalk": "4.1.2", "clean-webpack-plugin": "4.0.0", - "css-loader": "5.2.7", + "css-loader": "6.10.0", "cssnano": "6.0.3", "dotenv": "8.6.0", "dotenv-webpack": "8.0.1",