Skip to content

Commit ddc8031

Browse files
authored
fix: replace globby with fast-glob (#361)
* fix: replace `globby` with `fast-glob` * Create light-items-warn.md
1 parent fc31be7 commit ddc8031

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.changeset/light-items-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"astro-eslint-parser": patch
3+
---
4+
5+
fix: replace `globby` with `fast-glob`

explorer-v3/astro.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export default defineConfig({
2525
"astro-eslint-parser": resolve(
2626
"./build-system/shim/astro-eslint-parser/index.js",
2727
),
28-
globby: resolve("./build-system/shim/globby.js"),
2928
"fast-glob": resolve("./build-system/shim/fast-glob.js"),
3029
tslib: resolve("../node_modules/tslib/tslib.es6.js"),
3130
"escape-string-regexp": resolve(

explorer-v3/build-system/pre-build/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const alias = {
1818
url: resolve("../shim/url.js"),
1919
util: resolve("../shim/util.js"),
2020
typescript: resolve("../shim/typescript.js"),
21-
globby: resolve("../shim/globby.js"),
21+
"fast-glob": resolve("../shim/fast-glob.js"),
2222
};
2323

2424
function getBase(name) {

explorer-v3/build-system/shim/globby.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"eslint-scope": "^8.0.1",
5858
"eslint-visitor-keys": "^4.0.0",
5959
"espree": "^10.0.0",
60-
"globby": "^14.0.0",
60+
"fast-glob": "^3.3.3",
6161
"is-glob": "^4.0.3",
6262
"semver": "^7.3.8"
6363
},

src/parser/ts-for-v5/resolve-project-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Code updated to exclude caching.
44
*/
55

6-
import { sync as globSync } from "globby";
6+
import { sync as globSync } from "fast-glob";
77
import isGlob from "is-glob";
88
import * as path from "path";
99
import { createRequire } from "module";

0 commit comments

Comments
 (0)