Skip to content

Commit 5b27e3a

Browse files
fix(deps): update dependency is-path-inside to v4 (#5748)
* fix(deps): update dependency is-path-inside to v4 * fix: destructured default * Apply batched suggestions from code review Co-authored-by: Josh Goldberg ✨ <github@joshuakgoldberg.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> Co-authored-by: Josh Goldberg ✨ <github@joshuakgoldberg.com>
1 parent 1da009c commit 5b27e3a

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

lib/cli/watch-run.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const debug = require("debug")("mocha:cli:watch");
44
const path = require("node:path");
55
const chokidar = require("chokidar");
66
const glob = require("glob");
7-
const isPathInside = require("is-path-inside");
7+
const { default: isPathInside } = require("is-path-inside");
88
const { minimatch } = require("minimatch");
99
const Context = require("../context.js").Context;
1010
const collectFiles = require("./collect-files.cjs");

package-lock.json

Lines changed: 8 additions & 5 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
@@ -94,7 +94,7 @@
9494
"diff": "^9.0.0",
9595
"find-up": "^8.0.0",
9696
"glob": "^13.0.0",
97-
"is-path-inside": "^3.0.3",
97+
"is-path-inside": "^4.0.0",
9898
"is-unicode-supported": "^0.1.0",
9999
"js-yaml": "^5.0.0",
100100
"minimatch": "^10.2.2",

0 commit comments

Comments
 (0)