Skip to content

Commit 3f3c48c

Browse files
committed
Update to latest glob
1 parent b290a7c commit 3f3c48c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/step-definitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from "path";
22

3-
import glob from "glob";
3+
import { glob } from "glob";
44

55
import util from "util";
66

@@ -26,7 +26,7 @@ export async function getStepDefinitionPaths(
2626
return (
2727
await Promise.all(
2828
stepDefinitionPatterns.map((pattern) =>
29-
util.promisify(glob)(pattern, { nodir: true })
29+
glob(pattern, { nodir: true, windowsPathsNoEscape: true })
3030
)
3131
)
3232
).reduce((acum, el) => acum.concat(el), []);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"debug": "^4.2.0",
6262
"error-stack-parser": "^2.0.7",
6363
"esbuild": "^0.17.8",
64-
"glob": "^7.2.0",
64+
"glob": "^9.3.0",
6565
"is-path-inside": "^3.0.3",
6666
"module-alias": "^2.2.2",
6767
"node-hook": "^1.0.0",
@@ -81,7 +81,7 @@
8181
"@types/common-ancestor-path": "^1.0.0",
8282
"@types/debug": "^4.1.7",
8383
"@types/fs-extra": "^9.0.13",
84-
"@types/glob": "^7.2.0",
84+
"@types/glob": "^8.1.0",
8585
"@types/jsdom": "^20.0.0",
8686
"@types/module-alias": "^2.0.1",
8787
"@types/node-hook": "^1.0.1",

0 commit comments

Comments
 (0)