From 03921339d6826719e8e1d8ec7e4555319f892dea Mon Sep 17 00:00:00 2001 From: Arseniy Klempner Date: Mon, 13 Nov 2023 21:23:15 -0800 Subject: [PATCH] chore: fix karma webpack --- package-lock.json | 81 ++++++++++++++++++++++++++++++++++++++++++++--- package.json | 16 +++++----- 2 files changed, 84 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4dd09997c5..721552f851 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "karma-firefox-launcher": "^2.1.2", "karma-mocha": "^2.0.1", "karma-webkit-launcher": "^2.1.0", - "karma-webpack": "^5.0.0", + "karma-webpack": "github:codymikol/karma-webpack#2337a82beb078c0d8e25ae8333a06249b8e72828", "lint-staged": "^14.0.1", "playwright": "^1.38.1", "size-limit": "^9.0.0", @@ -12845,15 +12845,17 @@ }, "node_modules/karma-webpack": { "version": "5.0.0", + "resolved": "git+ssh://git@github.com/codymikol/karma-webpack.git#2337a82beb078c0d8e25ae8333a06249b8e72828", + "integrity": "sha512-UBHuEnrcPRKo+8YQjvGZyinVQbvJ3Ib078ToIB5uEGoK5iSuOQrOTZFNQdNiodSbWFO3aX0LcerQVK0T81hXmg==", "dev": true, "license": "MIT", "dependencies": { "glob": "^7.1.3", - "minimatch": "^3.0.4", + "minimatch": "^9.0.3", "webpack-merge": "^4.1.5" }, "engines": { - "node": ">= 6" + "node": ">= 18" }, "peerDependencies": { "webpack": "^5.0.0" @@ -12878,6 +12880,42 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/karma-webpack/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/karma-webpack/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/karma-webpack/node_modules/minimatch/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, "node_modules/karma/node_modules/ansi-regex": { "version": "5.0.1", "dev": true, @@ -34518,11 +34556,13 @@ } }, "karma-webpack": { - "version": "5.0.0", + "version": "git+ssh://git@github.com/codymikol/karma-webpack.git#2337a82beb078c0d8e25ae8333a06249b8e72828", + "integrity": "sha512-UBHuEnrcPRKo+8YQjvGZyinVQbvJ3Ib078ToIB5uEGoK5iSuOQrOTZFNQdNiodSbWFO3aX0LcerQVK0T81hXmg==", "dev": true, + "from": "karma-webpack@github:codymikol/karma-webpack#2337a82beb078c0d8e25ae8333a06249b8e72828", "requires": { "glob": "^7.1.3", - "minimatch": "^3.0.4", + "minimatch": "^9.0.3", "webpack-merge": "^4.1.5" }, "dependencies": { @@ -34536,6 +34576,37 @@ "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" + }, + "dependencies": { + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + } } } } diff --git a/package.json b/package.json index b7464d0a4e..5ea45c16a8 100644 --- a/package.json +++ b/package.json @@ -50,19 +50,19 @@ "eslint-plugin-prettier": "^5.0.0", "gh-pages": "^6.0.0", "husky": "^8.0.3", - "lint-staged": "^14.0.1", - "size-limit": "^9.0.0", - "ts-loader": "^9.4.2", - "ts-node": "^10.9.1", - "typedoc": "^0.25.1", - "typescript": "^5.2.2", "karma": "^6.4.2", "karma-chrome-launcher": "^3.2.0", "karma-firefox-launcher": "^2.1.2", "karma-mocha": "^2.0.1", "karma-webkit-launcher": "^2.1.0", - "karma-webpack": "^5.0.0", - "playwright": "^1.38.1" + "karma-webpack": "github:codymikol/karma-webpack#2337a82beb078c0d8e25ae8333a06249b8e72828", + "lint-staged": "^14.0.1", + "playwright": "^1.38.1", + "size-limit": "^9.0.0", + "ts-loader": "^9.4.2", + "ts-node": "^10.9.1", + "typedoc": "^0.25.1", + "typescript": "^5.2.2" }, "lint-staged": { "*.{ts,js}": [