From d24d1363ed288d8b7ed1c9c5474087cf24f7ad14 Mon Sep 17 00:00:00 2001 From: Cody Mikol Date: Sat, 21 Oct 2023 16:56:55 -0400 Subject: [PATCH] chore: update minimatch to 9 this updates minimatch to 9, which no longer has a default export and must be destructured. Fixes N/A --- lib/karma-webpack/preprocessor.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/karma-webpack/preprocessor.js b/lib/karma-webpack/preprocessor.js index 6ca84a8..4733724 100644 --- a/lib/karma-webpack/preprocessor.js +++ b/lib/karma-webpack/preprocessor.js @@ -1,7 +1,7 @@ const path = require('path'); const glob = require('glob'); -const minimatch = require('minimatch'); +const { minimatch } = require('minimatch'); const { ensureWebpackFrameworkSet } = require('../karma/validation'); const { hash } = require('../utils/hash'); diff --git a/package.json b/package.json index 253a978..8fcea14 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ }, "dependencies": { "glob": "^7.1.3", - "minimatch": "^8.0.4", + "minimatch": "^9.0.3", "webpack-merge": "^4.1.5" }, "devDependencies": {