From 099b891e45678f948c8d6aec11af350ef60a929d Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Sun, 24 Mar 2024 01:01:24 +0200 Subject: [PATCH] chore(deps): upgrade to latest stable and regenerate lock file --- package-lock.json | 146 +++++++++--------- package.json | 12 +- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 2 +- packages/language-service/package.json | 4 +- packages/optimizer/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- .../webpack-plugin/src/mini-css-support.ts | 2 +- packages/webpack-plugin/src/plugin-utils.ts | 2 +- 10 files changed, 90 insertions(+), 86 deletions(-) diff --git a/package-lock.json b/package-lock.json index a7c62f1da..98efbdbfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@file-services/node": "^9.1.0", "@rollup/plugin-html": "^1.0.3", "@rollup/plugin-node-resolve": "^15.2.3", - "@types/chai": "^4.3.13", + "@types/chai": "^4.3.14", "@types/chai-subset": "^1.3.5", "@types/css-selector-tokenizer": "^0.7.4", "@types/cssesc": "^3.0.2", @@ -30,14 +30,14 @@ "@types/mocha": "^10.0.6", "@types/node": "18", "@types/postcss-safe-parser": "^5.0.4", - "@types/react": "^18.2.67", + "@types/react": "^18.2.69", "@types/react-dom": "^18.2.22", "@types/validate-npm-package-name": "^4.0.2", "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "^7.3.1", "@typescript-eslint/parser": "^7.3.1", "@typescript-eslint/rule-tester": "^7.3.1", - "autoprefixer": "^10.4.18", + "autoprefixer": "^10.4.19", "c8": "^9.1.0", "chai": "^4.3.10", "chai-subset": "^1.6.0", @@ -51,7 +51,7 @@ "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", "playwright-chromium": "^1.42.1", - "postcss": "^8.4.37", + "postcss": "^8.4.38", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", @@ -63,9 +63,9 @@ "style-loader": "^3.3.4", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.1.0", - "typescript": "~5.4.2", + "typescript": "~5.4.3", "url-loader": "^4.1.1", - "webpack": "^5.90.3", + "webpack": "^5.91.0", "yargs": "^17.7.2" }, "engines": { @@ -547,9 +547,9 @@ } }, "node_modules/@file-services/resolve/node_modules/type-fest": { - "version": "4.13.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.13.0.tgz", - "integrity": "sha512-nKO1N9IFeTec3jnNe/3nZlX+RzwZsvT3c4akWC3IlhYGQbRSPFMBe87vmoaymS3hW2l/rs+4ptDDTxzcbqAcmA==", + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.13.1.tgz", + "integrity": "sha512-ASMgM+Vf2cLwDMt1KXSkMUDSYCxtckDJs8zsaVF/mYteIsiARKCVtyXtcK38mIKbLTctZP8v6GMqdNaeI3fo7g==", "engines": { "node": ">=16" }, @@ -1141,9 +1141,9 @@ } }, "node_modules/@types/chai": { - "version": "4.3.13", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.13.tgz", - "integrity": "sha512-+LxQEbg4BDUf88utmhpUpTyYn1zHao443aGnXIAQak9ZMt9Rtsic0Oig0OS1xyIqdDXc5uMekoC6NaiUlkT/qA==", + "version": "4.3.14", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.14.tgz", + "integrity": "sha512-Wj71sXE4Q4AkGdG9Tvq1u/fquNz9EdG4LIJMwVVII7ashjD/8cf8fyIfJAjRr6YcsXnSE8cOGQPq1gqeR8z+3w==", "dev": true }, "node_modules/@types/chai-subset": { @@ -1297,15 +1297,15 @@ } }, "node_modules/@types/prop-types": { - "version": "15.7.11", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", - "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==", + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", "dev": true }, "node_modules/@types/react": { - "version": "18.2.67", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.67.tgz", - "integrity": "sha512-vkIE2vTIMHQ/xL0rgmuoECBCkZFZeHr49HeWSc24AptMbNRo7pwSBvj73rlJJs9fGKj0koS+V7kQB1jHS0uCgw==", + "version": "18.2.69", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.69.tgz", + "integrity": "sha512-W1HOMUWY/1Yyw0ba5TkCV+oqynRjG7BnteBB+B7JmAK7iw3l2SW+VGOxL+akPweix6jk2NNJtyJKpn4TkpfK3Q==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1767,9 +1767,9 @@ } }, "node_modules/@wixc3/resolve-directory-context/node_modules/type-fest": { - "version": "4.13.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.13.0.tgz", - "integrity": "sha512-nKO1N9IFeTec3jnNe/3nZlX+RzwZsvT3c4akWC3IlhYGQbRSPFMBe87vmoaymS3hW2l/rs+4ptDDTxzcbqAcmA==", + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.13.1.tgz", + "integrity": "sha512-ASMgM+Vf2cLwDMt1KXSkMUDSYCxtckDJs8zsaVF/mYteIsiARKCVtyXtcK38mIKbLTctZP8v6GMqdNaeI3fo7g==", "engines": { "node": ">=16" }, @@ -1988,9 +1988,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.18", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.18.tgz", - "integrity": "sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==", + "version": "10.4.19", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", + "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", "dev": true, "funding": [ { @@ -2008,7 +2008,7 @@ ], "dependencies": { "browserslist": "^4.23.0", - "caniuse-lite": "^1.0.30001591", + "caniuse-lite": "^1.0.30001599", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -2244,9 +2244,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001599", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz", - "integrity": "sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "funding": [ { "type": "opencollective", @@ -2877,9 +2877,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.711", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.711.tgz", - "integrity": "sha512-hRg81qzvUEibX2lDxnFlVCHACa+LtrCPIsWAxo161LDYIB3jauf57RGsMZV9mvGwE98yGH06icj3zBEoOkxd/w==" + "version": "1.4.715", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.715.tgz", + "integrity": "sha512-XzWNH4ZSa9BwVUQSDorPWAUQ5WGuYz7zJUNpNif40zFCiCl20t8zgylmreNmn26h5kiyw2lg7RfTmeMBsDklqg==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -5833,9 +5833,9 @@ } }, "node_modules/postcss": { - "version": "8.4.37", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.37.tgz", - "integrity": "sha512-7iB/v/r7Woof0glKLH8b1SPHrsX7uhdO+Geb41QpF/+mWZHU3uxxSlN+UXGVit1PawOYDToO+AbZzhBzWRDwbQ==", + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "funding": [ { "type": "opencollective", @@ -6666,14 +6666,15 @@ } }, "node_modules/string.prototype.padend": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.5.tgz", - "integrity": "sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.6.tgz", + "integrity": "sha512-XZpspuSB7vJWhvJc9DLSlrXl1mcA2BdoY5jjnS135ydXqLoqhs96JjDtCkjJEQHvfqZIp9hBuBMgI589peyx9Q==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -6715,14 +6716,17 @@ } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -7066,9 +7070,9 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dev": true, "dependencies": { "call-bind": "^1.0.7", @@ -7086,9 +7090,9 @@ } }, "node_modules/typescript": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz", - "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==", + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", + "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -7249,9 +7253,9 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "node_modules/vscode-css-languageservice": { - "version": "6.2.12", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.12.tgz", - "integrity": "sha512-PS9r7HgNjqzRl3v91sXpCyZPc8UDotNo6gntFNtGCKPhGA9Frk7g/VjX1Mbv3F00pn56D+rxrFzR9ep4cawOgA==", + "version": "6.2.13", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.13.tgz", + "integrity": "sha512-2rKWXfH++Kxd9Z4QuEgd1IF7WmblWWU7DScuyf1YumoGLkY9DW6wF/OTlhOyO2rN63sWHX2dehIpKBbho4ZwvA==", "dependencies": { "@vscode/l10n": "^0.0.18", "vscode-languageserver-textdocument": "^1.0.11", @@ -7315,25 +7319,25 @@ } }, "node_modules/webpack": { - "version": "5.90.3", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.90.3.tgz", - "integrity": "sha512-h6uDYlWCctQRuXBs1oYpVe6sFcWedl0dpcVaTf/YF67J9bKvwJajFulMVSYKHrksMB3I/pIagRzDxwxkebuzKA==", + "version": "5.91.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.91.0.tgz", + "integrity": "sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.5", - "@webassemblyjs/ast": "^1.11.5", - "@webassemblyjs/wasm-edit": "^1.11.5", - "@webassemblyjs/wasm-parser": "^1.11.5", + "@webassemblyjs/ast": "^1.12.1", + "@webassemblyjs/wasm-edit": "^1.12.1", + "@webassemblyjs/wasm-parser": "^1.12.1", "acorn": "^8.7.1", "acorn-import-assertions": "^1.9.0", "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.15.0", + "enhanced-resolve": "^5.16.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", + "graceful-fs": "^4.2.11", "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.2.0", "mime-types": "^2.1.27", @@ -7341,7 +7345,7 @@ "schema-utils": "^3.2.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.3.10", - "watchpack": "^2.4.0", + "watchpack": "^2.4.1", "webpack-sources": "^3.2.3" }, "bin": { @@ -7595,7 +7599,7 @@ "@stylable/core": "^6.0.1", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.15.1", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "engines": { "node": ">=18.12.0" @@ -7615,7 +7619,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.37", + "postcss": "^8.4.38", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^7.0.0", @@ -7634,7 +7638,7 @@ "@stylable/core": "^6.0.1", "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "engines": { "node": ">=18.12.0" @@ -7776,9 +7780,9 @@ "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.37", + "postcss": "^8.4.38", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.12", + "vscode-css-languageservice": "^6.2.13", "vscode-languageserver": "^9.0.1", "vscode-languageserver-textdocument": "^1.0.11", "vscode-uri": "^3.0.8" @@ -7826,7 +7830,7 @@ "@stylable/core": "^6.0.1", "@tokey/css-selector-parser": "^0.6.2", "lightningcss": "^1.24.1", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "engines": { "node": ">=18.12.0" @@ -7916,7 +7920,7 @@ "decache": "^4.6.2", "enhanced-resolve": "^5.16.0", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "engines": { "node": ">=18.12.0" diff --git a/package.json b/package.json index 5fbbe87c1..5a57b6852 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@file-services/node": "^9.1.0", "@rollup/plugin-html": "^1.0.3", "@rollup/plugin-node-resolve": "^15.2.3", - "@types/chai": "^4.3.13", + "@types/chai": "^4.3.14", "@types/chai-subset": "^1.3.5", "@types/css-selector-tokenizer": "^0.7.4", "@types/cssesc": "^3.0.2", @@ -38,14 +38,14 @@ "@types/mocha": "^10.0.6", "@types/node": "18", "@types/postcss-safe-parser": "^5.0.4", - "@types/react": "^18.2.67", + "@types/react": "^18.2.69", "@types/react-dom": "^18.2.22", "@types/validate-npm-package-name": "^4.0.2", "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "^7.3.1", "@typescript-eslint/parser": "^7.3.1", "@typescript-eslint/rule-tester": "^7.3.1", - "autoprefixer": "^10.4.18", + "autoprefixer": "^10.4.19", "c8": "^9.1.0", "chai": "^4.3.10", "chai-subset": "^1.6.0", @@ -59,7 +59,7 @@ "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", "playwright-chromium": "^1.42.1", - "postcss": "^8.4.37", + "postcss": "^8.4.38", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", @@ -71,9 +71,9 @@ "style-loader": "^3.3.4", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.1.0", - "typescript": "~5.4.2", + "typescript": "~5.4.3", "url-loader": "^4.1.1", - "webpack": "^5.90.3", + "webpack": "^5.91.0", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index cfd3bc791..8dfcfba3c 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^6.0.1", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.15.1", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 35989efcb..2fcb91b25 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -11,7 +11,7 @@ "@stylable/core": "^6.0.1", "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index 1f8409161..02f3d807e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -16,7 +16,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.37", + "postcss": "^8.4.38", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^7.0.0", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 7008eb0a4..9cbfc3e1f 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -19,9 +19,9 @@ "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.37", + "postcss": "^8.4.38", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.12", + "vscode-css-languageservice": "^6.2.13", "vscode-languageserver": "^9.0.1", "vscode-languageserver-textdocument": "^1.0.11", "vscode-uri": "^3.0.8" diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 482e28ea1..63104eea6 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^6.0.1", "@tokey/css-selector-parser": "^0.6.2", "lightningcss": "^1.24.1", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index e9b1d736e..abdf3d5e1 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -20,7 +20,7 @@ "decache": "^4.6.2", "enhanced-resolve": "^5.16.0", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.37" + "postcss": "^8.4.38" }, "files": [ "dist", diff --git a/packages/webpack-plugin/src/mini-css-support.ts b/packages/webpack-plugin/src/mini-css-support.ts index 402e7b945..9c4b7d289 100644 --- a/packages/webpack-plugin/src/mini-css-support.ts +++ b/packages/webpack-plugin/src/mini-css-support.ts @@ -57,7 +57,7 @@ export function injectCssModules( compilation.options, compilation, compilation.resolverFactory.get('normal'), - compilation.compiler.inputFileSystem, + compilation.compiler.inputFileSystem ?? compilation.inputFileSystem, () => (syncCheck = true) ); if (!syncCheck) { diff --git a/packages/webpack-plugin/src/plugin-utils.ts b/packages/webpack-plugin/src/plugin-utils.ts index 3e502b689..42a5f6625 100644 --- a/packages/webpack-plugin/src/plugin-utils.ts +++ b/packages/webpack-plugin/src/plugin-utils.ts @@ -453,7 +453,7 @@ function getModuleRequestPath( ) { const visited = new Set(); const path = []; - let current: Module | null = module; + let current: Module | null | undefined = module; while (current) { if (visited.has(current)) { path.unshift(current.readableIdentifier(requestShortener) + '<-- Circular');