Skip to content

Commit 2bb78d1

Browse files
committed
Update glob dependency
1 parent 7bcc4d1 commit 2bb78d1

3 files changed

Lines changed: 99 additions & 27 deletions

File tree

package-lock.json

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

packages/config/gulp.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { readFileSync } from "fs";
22
import { sep as pathSeparator } from "path";
33
import { Readable } from "stream";
44

5-
import glob from "glob";
5+
import { globSync } from "glob";
66
import gulp from "gulp";
77
import file from "gulp-file";
88
import rename from "gulp-rename";
@@ -26,10 +26,8 @@ const collectFiles = (stream) =>
2626
const readJsonFile = (filename) => JSON.parse(readFileSync(filename, "utf8"));
2727

2828
const getAllPackages = () =>
29-
glob
30-
// Get an array of all package.json filenames
31-
.sync("packages/*/package.json")
32-
29+
// Get an array of all package.json filenames
30+
globSync("packages/*/package.json")
3331
// Map file names to package details
3432
.map((filename) => {
3533
const packageJson = readJsonFile(filename);

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"alias-hq": "6.2.4",
5454
"app-root-path": "^3.1.0",
5555
"esbuild": "0.23.1",
56-
"glob": "7.2.3",
56+
"glob": "^11.1.0",
5757
"gulp": "5.0.0",
5858
"gulp-cli": "3.0.0",
5959
"gulp-file": "0.4.0",

0 commit comments

Comments
 (0)