Skip to content

Commit 9376af3

Browse files
committed
fix: bump minimatch
Fixes #2267
1 parent e045423 commit 9376af3

File tree

3 files changed

+186
-18
lines changed

3 files changed

+186
-18
lines changed

lib/monitor/match.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const minimatch = require('minimatch');
1+
const { minimatch } = require('minimatch');
22
const path = require('path');
33
const fs = require('fs');
44
const debug = require('debug')('nodemon:match');
@@ -127,7 +127,7 @@ function tryBaseDir(dir) {
127127
if (stat.isFile() || stat.isDirectory()) {
128128
return dir;
129129
}
130-
} catch (e) {}
130+
} catch (e) { }
131131
}
132132

133133
return false;

package-lock.json

Lines changed: 183 additions & 15 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
@@ -59,7 +59,7 @@
5959
"chokidar": "^3.5.2",
6060
"debug": "^4",
6161
"ignore-by-default": "^1.0.1",
62-
"minimatch": "^3.1.2",
62+
"minimatch": "^10.2.1",
6363
"pstree.remy": "^1.1.8",
6464
"semver": "^7.5.3",
6565
"simple-update-notifier": "^2.0.0",

0 commit comments

Comments
 (0)