Skip to content

Commit a3dea85

Browse files
feat: bump mimimatch from ^5.1.6 to ^9.0.5 (#5349)
* feat: bump mimimatch from ^5.1.6 to ^9.0.5 * fix: switch to named require
1 parent 5730dfc commit a3dea85

File tree

4 files changed

+107
-110
lines changed

4 files changed

+107
-110
lines changed

lib/cli/collect-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require('node:fs');
44
const path = require('node:path');
55
const pc = require('picocolors');
66
const debug = require('debug')('mocha:cli:run:helpers');
7-
const minimatch = require('minimatch');
7+
const { minimatch } = require('minimatch');
88
const {NO_FILES_MATCH_PATTERN} = require('../errors').constants;
99
const lookupFiles = require('./lookup-files');
1010
const {castArray} = require('../utils');

package-lock.json

Lines changed: 104 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"he": "^1.2.0",
107107
"js-yaml": "^4.1.0",
108108
"log-symbols": "^4.1.0",
109-
"minimatch": "^5.1.6",
109+
"minimatch": "^9.0.5",
110110
"ms": "^2.1.3",
111111
"picocolors": "^1.1.1",
112112
"serialize-javascript": "^6.0.2",

scripts/karma-rollup-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const fs = require('node:fs');
3434
const path = require('node:path');
3535
const {randomUUID} = require('node:crypto');
3636
const rollup = require('rollup');
37-
const minimatch = require('minimatch');
37+
const { minimatch } = require('minimatch');
3838
const loadConfigFile = require('rollup/dist/loadConfigFile.js');
3939
const multiEntry = require('@rollup/plugin-multi-entry');
4040

0 commit comments

Comments
 (0)