From ccd28cc502b1a91e3501b9d41acf1b385e865d69 Mon Sep 17 00:00:00 2001 From: Westin Wrzesinski Date: Thu, 11 Nov 2021 12:36:47 -0600 Subject: [PATCH] rollback karma-webpack to 4.0.0-rc.3 There seems to be a regression with the colors property in stats merging to the default karma-webpack config. The fix for rc5 is here: https://github.com/ryanclark/karma-webpack/pull/376 but it returned in 4.0.2 it seems. Rather than fix this we should wait til we move to webpack v5 and karma-webpack v5 which won't have this issue ideally. --- config/karma.conf.js | 5 +---- package.json | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/config/karma.conf.js b/config/karma.conf.js index 2bc3ee4..7f191e6 100644 --- a/config/karma.conf.js +++ b/config/karma.conf.js @@ -104,10 +104,7 @@ export function getKarmaConfig(karma : Karma, cfg : Config) : KarmaConfig { basePath: __dirname, - frameworks: [ - 'mocha', - 'webpack' - ], + frameworks: ['mocha'], client: { captureConsole, diff --git a/package.json b/package.json index 54f05a9..39b3142 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grumbler-scripts", - "version": "4.0.0-beta.5", + "version": "4.0.0-beta.7", "description": "Javascript module template.", "main": "index.js", "scripts": { @@ -123,7 +123,7 @@ "karma-sinon-chai": "^2.0.2", "karma-sourcemap-loader": "^0.3.7", "karma-spec-reporter": "0.0.32", - "karma-webpack": "4.0.2", + "karma-webpack": "4.0.0-rc.3", "mocha": "^9.1.3", "node-cleanup": "^2.1.2", "node-sass": "^4.13.1",