Update dependency glob to v9 (#15726)

* Update dependency glob to v9

* Adjust to new API

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2023-03-17 13:28:51 +00:00 committed by GitHub
parent 0232c11bc2
commit c5be2acd46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 8 deletions

View File

@ -20,7 +20,7 @@ require("./rollup.js");
gulp.task("gather-gallery-pages", async function gatherPages() { gulp.task("gather-gallery-pages", async function gatherPages() {
const pageDir = path.resolve(paths.gallery_dir, "src/pages"); const pageDir = path.resolve(paths.gallery_dir, "src/pages");
const files = glob.sync(path.resolve(pageDir, "**/*")); const files = await glob(path.resolve(pageDir, "**/*"));
const galleryBuild = path.resolve(paths.gallery_dir, "build"); const galleryBuild = path.resolve(paths.gallery_dir, "build");
fs.mkdirSync(galleryBuild, { recursive: true }); fs.mkdirSync(galleryBuild, { recursive: true });

View File

@ -204,7 +204,7 @@
"esprima": "4.0.1", "esprima": "4.0.1",
"fancy-log": "2.0.0", "fancy-log": "2.0.0",
"fs-extra": "11.1.0", "fs-extra": "11.1.0",
"glob": "8.1.0", "glob": "9.2.1",
"gulp": "4.0.2", "gulp": "4.0.2",
"gulp-flatmap": "1.0.2", "gulp-flatmap": "1.0.2",
"gulp-json-transform": "0.4.8", "gulp-json-transform": "0.4.8",

View File

@ -9100,7 +9100,19 @@ fsevents@~2.3.2:
languageName: node languageName: node
linkType: hard linkType: hard
"glob@npm:8.1.0, glob@npm:^8.0.3": "glob@npm:9.2.1":
version: 9.2.1
resolution: "glob@npm:9.2.1"
dependencies:
fs.realpath: ^1.0.0
minimatch: ^7.4.1
minipass: ^4.2.4
path-scurry: ^1.6.1
checksum: ef9b1c32491e6b532bdd0d2abcc3c9f48e83446609e11285869156982fc5a756dfbaa6f59f797712343bd1e22500ac15708692806633653fde4ef67c85e2aab7
languageName: node
linkType: hard
"glob@npm:^8.0.3":
version: 8.1.0 version: 8.1.0
resolution: "glob@npm:8.1.0" resolution: "glob@npm:8.1.0"
dependencies: dependencies:
@ -9623,7 +9635,7 @@ fsevents@~2.3.2:
fancy-log: 2.0.0 fancy-log: 2.0.0
fs-extra: 11.1.0 fs-extra: 11.1.0
fuse.js: 6.6.2 fuse.js: 6.6.2
glob: 8.1.0 glob: 9.2.1
google-timezones-json: 1.0.2 google-timezones-json: 1.0.2
gulp: 4.0.2 gulp: 4.0.2
gulp-flatmap: 1.0.2 gulp-flatmap: 1.0.2
@ -11563,6 +11575,13 @@ fsevents@~2.3.2:
languageName: node languageName: node
linkType: hard linkType: hard
"lru-cache@npm:^7.14.1":
version: 7.18.3
resolution: "lru-cache@npm:7.18.3"
checksum: e550d772384709deea3f141af34b6d4fa392e2e418c1498c078de0ee63670f1f46f5eee746e8ef7e69e1c895af0d4224e62ee33e66a543a14763b0f2e74c1356
languageName: node
linkType: hard
"magic-string@npm:0.30.0": "magic-string@npm:0.30.0":
version: 0.30.0 version: 0.30.0
resolution: "magic-string@npm:0.30.0" resolution: "magic-string@npm:0.30.0"
@ -11862,6 +11881,15 @@ fsevents@~2.3.2:
languageName: node languageName: node
linkType: hard linkType: hard
"minimatch@npm:^7.4.1":
version: 7.4.2
resolution: "minimatch@npm:7.4.2"
dependencies:
brace-expansion: ^2.0.1
checksum: 9e341b04e69d5ab03e4206dcb61c8a158e3b8709628bf5e1a4eaa9f3b72c0ba925e24ad959b1f6ce6835caa5a927131d5087fae6836b69e7d99d7d5e63ef0bd8
languageName: node
linkType: hard
"minimist@npm:^1.2.0, minimist@npm:^1.2.6": "minimist@npm:^1.2.0, minimist@npm:^1.2.6":
version: 1.2.7 version: 1.2.7
resolution: "minimist@npm:1.2.7" resolution: "minimist@npm:1.2.7"
@ -11939,10 +11967,10 @@ fsevents@~2.3.2:
languageName: node languageName: node
linkType: hard linkType: hard
"minipass@npm:^4.0.0": "minipass@npm:^4.0.0, minipass@npm:^4.0.2, minipass@npm:^4.2.4":
version: 4.0.2 version: 4.2.4
resolution: "minipass@npm:4.0.2" resolution: "minipass@npm:4.2.4"
checksum: 2e4f4caaf85a45c01c6042adc43b5111a6113f62e300acf1db3b193ac3ec6e955bc893d6d8a08635598771a55a0f60487dcac59a1ac39557eb524295d4778c9e checksum: c664f2ae4401408d1e7a6e4f50aca45f87b1b0634bc9261136df5c378e313e77355765f73f59c4a5abcadcdf43d83fcd3eb14e4a7cdcce8e36508e2290345753
languageName: node languageName: node
linkType: hard linkType: hard
@ -13001,6 +13029,16 @@ fsevents@~2.3.2:
languageName: node languageName: node
linkType: hard linkType: hard
"path-scurry@npm:^1.6.1":
version: 1.6.1
resolution: "path-scurry@npm:1.6.1"
dependencies:
lru-cache: ^7.14.1
minipass: ^4.0.2
checksum: 7ba57e823cb7bb879669a4e5e05a283cde1bb9e81b6d806b2609f8d8026d0aef08f4b655b17fc86b21c9c32807851bba95ca715db5ab0605fb13c7a3e9172e42
languageName: node
linkType: hard
"path-to-regexp@npm:0.1.7": "path-to-regexp@npm:0.1.7":
version: 0.1.7 version: 0.1.7
resolution: "path-to-regexp@npm:0.1.7" resolution: "path-to-regexp@npm:0.1.7"