astro-eslint-parser 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/lib/index.mjs +2 -2
- package/package.json +2 -2
package/lib/index.d.mts
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -278,7 +278,7 @@ function toAbsolutePath(filePath, baseDir) {
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
// src/parser/ts-for-v5/resolve-project-list.ts
|
|
281
|
-
var
|
|
281
|
+
var import_fast_glob = require("fast-glob");
|
|
282
282
|
var import_is_glob = __toESM(require("is-glob"));
|
|
283
283
|
var path3 = __toESM(require("path"));
|
|
284
284
|
var import_module = require("module");
|
|
@@ -308,7 +308,7 @@ function resolveProjectList(options) {
|
|
|
308
308
|
const globProjects = sanitizedProjects.filter((project) => (0, import_is_glob.default)(project));
|
|
309
309
|
const uniqueCanonicalProjectPaths = new Set(
|
|
310
310
|
nonGlobProjects.concat(
|
|
311
|
-
globProjects.length === 0 ? [] : (0,
|
|
311
|
+
globProjects.length === 0 ? [] : (0, import_fast_glob.sync)([...globProjects, ...projectFolderIgnoreList], {
|
|
312
312
|
cwd: options.tsconfigRootDir
|
|
313
313
|
})
|
|
314
314
|
).map(
|
|
@@ -2822,7 +2822,7 @@ __export(meta_exports, {
|
|
|
2822
2822
|
|
|
2823
2823
|
// package.json
|
|
2824
2824
|
var name = "astro-eslint-parser";
|
|
2825
|
-
var version = "1.2.
|
|
2825
|
+
var version = "1.2.1";
|
|
2826
2826
|
|
|
2827
2827
|
// src/index.ts
|
|
2828
2828
|
function parseForESLint2(code, options) {
|
package/lib/index.mjs
CHANGED
|
@@ -247,7 +247,7 @@ function toAbsolutePath(filePath, baseDir) {
|
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
// src/parser/ts-for-v5/resolve-project-list.ts
|
|
250
|
-
import { sync as globSync } from "
|
|
250
|
+
import { sync as globSync } from "fast-glob";
|
|
251
251
|
import isGlob from "is-glob";
|
|
252
252
|
import * as path3 from "path";
|
|
253
253
|
import { createRequire } from "module";
|
|
@@ -2800,7 +2800,7 @@ __export(meta_exports, {
|
|
|
2800
2800
|
|
|
2801
2801
|
// package.json
|
|
2802
2802
|
var name = "astro-eslint-parser";
|
|
2803
|
-
var version = "1.2.
|
|
2803
|
+
var version = "1.2.1";
|
|
2804
2804
|
|
|
2805
2805
|
// src/index.ts
|
|
2806
2806
|
function parseForESLint2(code, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro-eslint-parser",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Astro component parser for ESLint",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"eslint-scope": "^8.0.1",
|
|
58
58
|
"eslint-visitor-keys": "^4.0.0",
|
|
59
59
|
"espree": "^10.0.0",
|
|
60
|
-
"
|
|
60
|
+
"fast-glob": "^3.3.3",
|
|
61
61
|
"is-glob": "^4.0.3",
|
|
62
62
|
"semver": "^7.3.8"
|
|
63
63
|
},
|