@storm-software/eslint 0.170.108 → 0.170.110
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/README.md +1 -1
- package/dist/preset.cjs +159 -127
- package/dist/preset.js +157 -119
- package/dist/{src-IDHCMRE4.js → src-XMAEW4HR.js} +1 -1
- package/dist/types.d.cts +52 -52
- package/dist/types.d.ts +52 -52
- package/package.json +14 -14
package/dist/preset.cjs
CHANGED
|
@@ -2121,14 +2121,10 @@ var init_package = __esm({
|
|
|
2121
2121
|
"../eslint-plugin-tsdoc/package.json"() {
|
|
2122
2122
|
package_default3 = {
|
|
2123
2123
|
name: "@storm-software/eslint-plugin-tsdoc",
|
|
2124
|
-
version: "0.0.
|
|
2124
|
+
version: "0.0.39",
|
|
2125
2125
|
private: false,
|
|
2126
2126
|
description: "An ESLint Plugin that enforces TSDoc comments in Storm Software projects.",
|
|
2127
|
-
keywords: [
|
|
2128
|
-
"eslint",
|
|
2129
|
-
"eslint-plugin",
|
|
2130
|
-
"storm-software"
|
|
2131
|
-
],
|
|
2127
|
+
keywords: ["eslint", "eslint-plugin", "storm-software"],
|
|
2132
2128
|
homepage: "https://stormsoftware.com",
|
|
2133
2129
|
bugs: {
|
|
2134
2130
|
url: "https://stormsoftware.com/support",
|
|
@@ -2173,9 +2169,7 @@ var init_package = __esm({
|
|
|
2173
2169
|
},
|
|
2174
2170
|
types: "./dist/index.d.ts",
|
|
2175
2171
|
typings: "dist/index.d.mts",
|
|
2176
|
-
files: [
|
|
2177
|
-
"dist"
|
|
2178
|
-
],
|
|
2172
|
+
files: ["dist"],
|
|
2179
2173
|
dependencies: {
|
|
2180
2174
|
"@microsoft/tsdoc": "catalog:",
|
|
2181
2175
|
"@microsoft/tsdoc-config": "catalog:",
|
|
@@ -5916,7 +5910,7 @@ init_cjs_shims();
|
|
|
5916
5910
|
|
|
5917
5911
|
// ../eslint-plugin-banner/package.json
|
|
5918
5912
|
var package_default = {
|
|
5919
|
-
version: "0.0.
|
|
5913
|
+
version: "0.0.41"};
|
|
5920
5914
|
|
|
5921
5915
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5922
5916
|
init_cjs_shims();
|
|
@@ -7380,10 +7374,10 @@ init_cjs_shims();
|
|
|
7380
7374
|
// src/plugins.ts
|
|
7381
7375
|
init_cjs_shims();
|
|
7382
7376
|
|
|
7383
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7377
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/index.js
|
|
7384
7378
|
init_cjs_shims();
|
|
7385
7379
|
|
|
7386
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7380
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/electron.js
|
|
7387
7381
|
init_cjs_shims();
|
|
7388
7382
|
var electron_default = {
|
|
7389
7383
|
settings: {
|
|
@@ -7391,7 +7385,7 @@ var electron_default = {
|
|
|
7391
7385
|
}
|
|
7392
7386
|
};
|
|
7393
7387
|
|
|
7394
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7388
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/errors.js
|
|
7395
7389
|
init_cjs_shims();
|
|
7396
7390
|
var errors_default = {
|
|
7397
7391
|
plugins: ["import-x"],
|
|
@@ -7404,7 +7398,7 @@ var errors_default = {
|
|
|
7404
7398
|
}
|
|
7405
7399
|
};
|
|
7406
7400
|
|
|
7407
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7401
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/electron.js
|
|
7408
7402
|
init_cjs_shims();
|
|
7409
7403
|
var electron_default2 = {
|
|
7410
7404
|
settings: {
|
|
@@ -7412,7 +7406,7 @@ var electron_default2 = {
|
|
|
7412
7406
|
}
|
|
7413
7407
|
};
|
|
7414
7408
|
|
|
7415
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7409
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/errors.js
|
|
7416
7410
|
init_cjs_shims();
|
|
7417
7411
|
var errors_default2 = {
|
|
7418
7412
|
rules: {
|
|
@@ -7424,7 +7418,7 @@ var errors_default2 = {
|
|
|
7424
7418
|
}
|
|
7425
7419
|
};
|
|
7426
7420
|
|
|
7427
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7421
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/react-native.js
|
|
7428
7422
|
init_cjs_shims();
|
|
7429
7423
|
var react_native_default = {
|
|
7430
7424
|
settings: {
|
|
@@ -7436,7 +7430,7 @@ var react_native_default = {
|
|
|
7436
7430
|
}
|
|
7437
7431
|
};
|
|
7438
7432
|
|
|
7439
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7433
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/react.js
|
|
7440
7434
|
init_cjs_shims();
|
|
7441
7435
|
var react_default = {
|
|
7442
7436
|
settings: {
|
|
@@ -7451,7 +7445,7 @@ var react_default = {
|
|
|
7451
7445
|
}
|
|
7452
7446
|
};
|
|
7453
7447
|
|
|
7454
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7448
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/recommended.js
|
|
7455
7449
|
init_cjs_shims();
|
|
7456
7450
|
var recommended_default2 = {
|
|
7457
7451
|
rules: {
|
|
@@ -7466,7 +7460,7 @@ var recommended_default2 = {
|
|
|
7466
7460
|
}
|
|
7467
7461
|
};
|
|
7468
7462
|
|
|
7469
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7463
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/stage-0.js
|
|
7470
7464
|
init_cjs_shims();
|
|
7471
7465
|
var stage_0_default = {
|
|
7472
7466
|
rules: {
|
|
@@ -7474,7 +7468,7 @@ var stage_0_default = {
|
|
|
7474
7468
|
}
|
|
7475
7469
|
};
|
|
7476
7470
|
|
|
7477
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7471
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/typescript.js
|
|
7478
7472
|
init_cjs_shims();
|
|
7479
7473
|
var typeScriptExtensions = [".ts", ".tsx", ".cts", ".mts"];
|
|
7480
7474
|
var allExtensions = [
|
|
@@ -7500,7 +7494,7 @@ var typescript_default = {
|
|
|
7500
7494
|
}
|
|
7501
7495
|
};
|
|
7502
7496
|
|
|
7503
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7497
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/flat/warnings.js
|
|
7504
7498
|
init_cjs_shims();
|
|
7505
7499
|
var warnings_default = {
|
|
7506
7500
|
rules: {
|
|
@@ -7511,7 +7505,7 @@ var warnings_default = {
|
|
|
7511
7505
|
}
|
|
7512
7506
|
};
|
|
7513
7507
|
|
|
7514
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7508
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/react-native.js
|
|
7515
7509
|
init_cjs_shims();
|
|
7516
7510
|
var react_native_default2 = {
|
|
7517
7511
|
settings: {
|
|
@@ -7523,7 +7517,7 @@ var react_native_default2 = {
|
|
|
7523
7517
|
}
|
|
7524
7518
|
};
|
|
7525
7519
|
|
|
7526
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7520
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/react.js
|
|
7527
7521
|
init_cjs_shims();
|
|
7528
7522
|
var react_default2 = {
|
|
7529
7523
|
settings: {
|
|
@@ -7536,7 +7530,7 @@ var react_default2 = {
|
|
|
7536
7530
|
}
|
|
7537
7531
|
};
|
|
7538
7532
|
|
|
7539
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7533
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/recommended.js
|
|
7540
7534
|
init_cjs_shims();
|
|
7541
7535
|
var recommended_default3 = {
|
|
7542
7536
|
plugins: ["import-x"],
|
|
@@ -7556,7 +7550,7 @@ var recommended_default3 = {
|
|
|
7556
7550
|
}
|
|
7557
7551
|
};
|
|
7558
7552
|
|
|
7559
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7553
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/stage-0.js
|
|
7560
7554
|
init_cjs_shims();
|
|
7561
7555
|
var stage_0_default2 = {
|
|
7562
7556
|
plugins: ["import-x"],
|
|
@@ -7565,7 +7559,7 @@ var stage_0_default2 = {
|
|
|
7565
7559
|
}
|
|
7566
7560
|
};
|
|
7567
7561
|
|
|
7568
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7562
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/typescript.js
|
|
7569
7563
|
init_cjs_shims();
|
|
7570
7564
|
var typeScriptExtensions2 = [".ts", ".tsx", ".cts", ".mts"];
|
|
7571
7565
|
var allExtensions2 = [
|
|
@@ -7591,7 +7585,7 @@ var typescript_default2 = {
|
|
|
7591
7585
|
}
|
|
7592
7586
|
};
|
|
7593
7587
|
|
|
7594
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7588
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/config/warnings.js
|
|
7595
7589
|
init_cjs_shims();
|
|
7596
7590
|
var warnings_default2 = {
|
|
7597
7591
|
plugins: ["import-x"],
|
|
@@ -7603,19 +7597,19 @@ var warnings_default2 = {
|
|
|
7603
7597
|
}
|
|
7604
7598
|
};
|
|
7605
7599
|
|
|
7606
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7600
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/meta.js
|
|
7607
7601
|
init_cjs_shims();
|
|
7608
7602
|
|
|
7609
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7603
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/require.js
|
|
7610
7604
|
init_cjs_shims();
|
|
7611
7605
|
var importMetaUrl2 = importMetaUrl2;
|
|
7612
7606
|
var cjsRequire = importMetaUrl2 ? Module.createRequire(importMetaUrl2) : __require;
|
|
7613
7607
|
|
|
7614
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7608
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/meta.js
|
|
7615
7609
|
var { name, version: version2 } = cjsRequire("../package.json");
|
|
7616
7610
|
var meta2 = { name, version: version2 };
|
|
7617
7611
|
|
|
7618
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7612
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/node-resolver.js
|
|
7619
7613
|
init_cjs_shims();
|
|
7620
7614
|
function createNodeResolver({ extensions = [".mjs", ".cjs", ".js", ".json", ".node"], conditionNames = ["import", "require", "default"], mainFields = ["module", "main"], ...restOptions } = {}) {
|
|
7621
7615
|
const resolver = new unrsResolver.ResolverFactory({
|
|
@@ -7639,20 +7633,23 @@ function createNodeResolver({ extensions = [".mjs", ".cjs", ".js", ".json", ".no
|
|
|
7639
7633
|
} catch {
|
|
7640
7634
|
}
|
|
7641
7635
|
return { found: false };
|
|
7636
|
+
},
|
|
7637
|
+
clearCache() {
|
|
7638
|
+
resolver.clearCache();
|
|
7642
7639
|
}
|
|
7643
7640
|
};
|
|
7644
7641
|
}
|
|
7645
7642
|
|
|
7646
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7643
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.js
|
|
7647
7644
|
init_cjs_shims();
|
|
7648
7645
|
|
|
7649
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7646
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/index.js
|
|
7650
7647
|
init_cjs_shims();
|
|
7651
7648
|
|
|
7652
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7649
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/apply-default.js
|
|
7653
7650
|
init_cjs_shims();
|
|
7654
7651
|
|
|
7655
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7652
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/deep-merge.js
|
|
7656
7653
|
init_cjs_shims();
|
|
7657
7654
|
function isObjectNotArray(obj) {
|
|
7658
7655
|
return typeof obj === "object" && obj != null && !Array.isArray(obj);
|
|
@@ -7676,7 +7673,7 @@ function deepMerge(first = {}, second = {}) {
|
|
|
7676
7673
|
}));
|
|
7677
7674
|
}
|
|
7678
7675
|
|
|
7679
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7676
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/apply-default.js
|
|
7680
7677
|
function applyDefault(defaultOptions, userOptions) {
|
|
7681
7678
|
const options = structuredClone(defaultOptions ?? []);
|
|
7682
7679
|
if (userOptions == null) {
|
|
@@ -7691,19 +7688,19 @@ function applyDefault(defaultOptions, userOptions) {
|
|
|
7691
7688
|
return options;
|
|
7692
7689
|
}
|
|
7693
7690
|
|
|
7694
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7691
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/arraify.js
|
|
7695
7692
|
init_cjs_shims();
|
|
7696
7693
|
var arraify = (value) => value ? Array.isArray(value) ? value : [value] : void 0;
|
|
7697
7694
|
|
|
7698
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7695
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/create-rule.js
|
|
7699
7696
|
init_cjs_shims();
|
|
7700
7697
|
|
|
7701
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7698
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/docs-url.js
|
|
7702
7699
|
init_cjs_shims();
|
|
7703
7700
|
var repoUrl = "https://github.com/un-ts/eslint-plugin-import-x";
|
|
7704
7701
|
var docsUrl = (ruleName, commitish = `v${version2}`) => `${repoUrl}/blob/${commitish}/docs/rules/${ruleName}.md`;
|
|
7705
7702
|
|
|
7706
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7703
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/create-rule.js
|
|
7707
7704
|
function RuleCreator2(urlCreator) {
|
|
7708
7705
|
return function createNamedRule({ meta: meta3, name: name3, ...rule }) {
|
|
7709
7706
|
return createRule_({
|
|
@@ -7730,7 +7727,7 @@ function createRule_({ create, defaultOptions, meta: meta3 }) {
|
|
|
7730
7727
|
}
|
|
7731
7728
|
var createRule2 = RuleCreator2(docsUrl);
|
|
7732
7729
|
|
|
7733
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7730
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/declared-scope.js
|
|
7734
7731
|
init_cjs_shims();
|
|
7735
7732
|
function declaredScope(context, node2, name3) {
|
|
7736
7733
|
const references = context.sourceCode.getScope(node2).references;
|
|
@@ -7738,10 +7735,10 @@ function declaredScope(context, node2, name3) {
|
|
|
7738
7735
|
return reference?.resolved?.scope.type;
|
|
7739
7736
|
}
|
|
7740
7737
|
|
|
7741
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7738
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/export-map.js
|
|
7742
7739
|
init_cjs_shims();
|
|
7743
7740
|
|
|
7744
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7741
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/get-value.js
|
|
7745
7742
|
init_cjs_shims();
|
|
7746
7743
|
var getValue = (node2) => {
|
|
7747
7744
|
switch (node2.type) {
|
|
@@ -7757,7 +7754,7 @@ var getValue = (node2) => {
|
|
|
7757
7754
|
}
|
|
7758
7755
|
};
|
|
7759
7756
|
|
|
7760
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7757
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/ignore.js
|
|
7761
7758
|
init_cjs_shims();
|
|
7762
7759
|
var log = debug__default.default("eslint-plugin-import-x:utils:ignore");
|
|
7763
7760
|
var cachedSet;
|
|
@@ -7806,7 +7803,7 @@ function hasValidExtension(filepath, context) {
|
|
|
7806
7803
|
return validExtensions(context).has(path16__default.default.extname(filepath));
|
|
7807
7804
|
}
|
|
7808
7805
|
|
|
7809
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7806
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/lazy-value.js
|
|
7810
7807
|
init_cjs_shims();
|
|
7811
7808
|
var lazy = (cb) => {
|
|
7812
7809
|
let isCalled = false;
|
|
@@ -7840,10 +7837,10 @@ function defineLazyProperty(object2, propertyName, valueGetter) {
|
|
|
7840
7837
|
return object2;
|
|
7841
7838
|
}
|
|
7842
7839
|
|
|
7843
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7840
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/parse.js
|
|
7844
7841
|
init_cjs_shims();
|
|
7845
7842
|
|
|
7846
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7843
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/module-require.js
|
|
7847
7844
|
init_cjs_shims();
|
|
7848
7845
|
function createModule(filename) {
|
|
7849
7846
|
const mod = new Module__default.default(filename);
|
|
@@ -7869,7 +7866,7 @@ function moduleRequire(p, sourceFile) {
|
|
|
7869
7866
|
return cjsRequire(p);
|
|
7870
7867
|
}
|
|
7871
7868
|
|
|
7872
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7869
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/parse.js
|
|
7873
7870
|
function withoutProjectParserOptions(opts) {
|
|
7874
7871
|
const { EXPERIMENTAL_useProjectService, project, projectService, ...rest } = opts;
|
|
7875
7872
|
return rest;
|
|
@@ -7963,16 +7960,16 @@ function getParserOrPath(path23, context) {
|
|
|
7963
7960
|
return null;
|
|
7964
7961
|
}
|
|
7965
7962
|
|
|
7966
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7963
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/resolve.js
|
|
7967
7964
|
init_cjs_shims();
|
|
7968
7965
|
|
|
7969
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7966
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/import-type.js
|
|
7970
7967
|
init_cjs_shims();
|
|
7971
7968
|
|
|
7972
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7969
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/package-path.js
|
|
7973
7970
|
init_cjs_shims();
|
|
7974
7971
|
|
|
7975
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7972
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/pkg-up.js
|
|
7976
7973
|
init_cjs_shims();
|
|
7977
7974
|
function findUp(filename, cwd2) {
|
|
7978
7975
|
let dir = path16__default.default.resolve(cwd2 || "");
|
|
@@ -7993,7 +7990,7 @@ function pkgUp(opts) {
|
|
|
7993
7990
|
return findUp("package.json", opts && opts.cwd);
|
|
7994
7991
|
}
|
|
7995
7992
|
|
|
7996
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
7993
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/read-pkg-up.js
|
|
7997
7994
|
init_cjs_shims();
|
|
7998
7995
|
function stripBOM(str) {
|
|
7999
7996
|
return str.replace(/^\uFEFF/, "");
|
|
@@ -8013,7 +8010,7 @@ function readPkgUp(opts) {
|
|
|
8013
8010
|
}
|
|
8014
8011
|
}
|
|
8015
8012
|
|
|
8016
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8013
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/package-path.js
|
|
8017
8014
|
function getContextPackagePath(context) {
|
|
8018
8015
|
return getFilePackagePath(context.physicalFilename);
|
|
8019
8016
|
}
|
|
@@ -8028,7 +8025,7 @@ function getFilePackageName(filename) {
|
|
|
8028
8025
|
return null;
|
|
8029
8026
|
}
|
|
8030
8027
|
|
|
8031
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8028
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/import-type.js
|
|
8032
8029
|
function baseModule(name3) {
|
|
8033
8030
|
if (isScoped(name3)) {
|
|
8034
8031
|
const [scope, pkg2] = name3.split("/");
|
|
@@ -8138,17 +8135,17 @@ function importType(name3, context) {
|
|
|
8138
8135
|
return typeTest(name3, context, typeof name3 === "string" ? resolve2(name3, context) : null);
|
|
8139
8136
|
}
|
|
8140
8137
|
|
|
8141
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8138
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/legacy-resolver-settings.js
|
|
8142
8139
|
init_cjs_shims();
|
|
8143
8140
|
|
|
8144
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8141
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/pkg-dir.js
|
|
8145
8142
|
init_cjs_shims();
|
|
8146
8143
|
function pkgDir(cwd2) {
|
|
8147
8144
|
const fp = pkgUp({ cwd: cwd2 });
|
|
8148
8145
|
return fp ? path16__default.default.dirname(fp) : null;
|
|
8149
8146
|
}
|
|
8150
8147
|
|
|
8151
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8148
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/legacy-resolver-settings.js
|
|
8152
8149
|
function resolveWithLegacyResolver(resolver, config6, modulePath, sourceFile) {
|
|
8153
8150
|
if (resolver.interfaceVersion === 2) {
|
|
8154
8151
|
return resolver.resolve(modulePath, sourceFile, config6);
|
|
@@ -8268,7 +8265,7 @@ function getBaseDir(sourceFile) {
|
|
|
8268
8265
|
return pkgDir(sourceFile) || process.cwd();
|
|
8269
8266
|
}
|
|
8270
8267
|
|
|
8271
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8268
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/module-cache.js
|
|
8272
8269
|
init_cjs_shims();
|
|
8273
8270
|
var log3 = debug__default.default("eslint-plugin-import-x:utils:ModuleCache");
|
|
8274
8271
|
var ModuleCache = class {
|
|
@@ -8305,13 +8302,16 @@ var ModuleCache = class {
|
|
|
8305
8302
|
}
|
|
8306
8303
|
};
|
|
8307
8304
|
|
|
8308
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8305
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/resolve.js
|
|
8309
8306
|
var importMetaUrl3 = importMetaUrl3;
|
|
8310
8307
|
var _filename = importMetaUrl3 ? url$1.fileURLToPath(importMetaUrl3) : __filename;
|
|
8311
8308
|
var _dirname = path16__default.default.dirname(_filename);
|
|
8312
8309
|
var CASE_SENSITIVE_FS = !fs3__default.default.existsSync(path16__default.default.resolve(_dirname, path16__default.default.basename(_filename).replace(/^resolve\./, "reSOLVE.")));
|
|
8313
8310
|
var IMPORT_RESOLVE_ERROR_NAME = "EslintPluginImportResolveError";
|
|
8314
8311
|
var fileExistsCache = new ModuleCache();
|
|
8312
|
+
function isDirectoryAccessError(error) {
|
|
8313
|
+
return typeof error === "object" && error != null && "code" in error && (error.code === "EACCES" || error.code === "EPERM");
|
|
8314
|
+
}
|
|
8315
8315
|
function fileExistsWithCaseSync(filepath, cacheSettings, strict, leaf = true) {
|
|
8316
8316
|
if (CASE_SENSITIVE_FS) {
|
|
8317
8317
|
return true;
|
|
@@ -8331,8 +8331,30 @@ function fileExistsWithCaseSync(filepath, cacheSettings, strict, leaf = true) {
|
|
|
8331
8331
|
if (dir === "" || parsedPath.root === filepath) {
|
|
8332
8332
|
result = true;
|
|
8333
8333
|
} else {
|
|
8334
|
-
|
|
8335
|
-
|
|
8334
|
+
try {
|
|
8335
|
+
const filenames = fs3__default.default.readdirSync(dir);
|
|
8336
|
+
if (filenames.includes(parsedPath.base)) {
|
|
8337
|
+
result = fileExistsWithCaseSync(dir, cacheSettings, strict, false);
|
|
8338
|
+
} else {
|
|
8339
|
+
const baseLowerCase = parsedPath.base.toLowerCase();
|
|
8340
|
+
const hasCaseInsensitiveMatch = filenames.some((p) => p.toLowerCase() === baseLowerCase);
|
|
8341
|
+
const isMissing = !hasCaseInsensitiveMatch;
|
|
8342
|
+
if (isMissing && leaf) {
|
|
8343
|
+
const queryIndex = filepath.lastIndexOf("?");
|
|
8344
|
+
const hashIndex = filepath.lastIndexOf("#");
|
|
8345
|
+
const index = Math.max(queryIndex, hashIndex);
|
|
8346
|
+
result = index > 0 ? fileExistsWithCaseSync(filepath.slice(0, index), cacheSettings, strict) : false;
|
|
8347
|
+
} else {
|
|
8348
|
+
result = isMissing && !leaf;
|
|
8349
|
+
}
|
|
8350
|
+
}
|
|
8351
|
+
} catch (error) {
|
|
8352
|
+
if (isDirectoryAccessError(error)) {
|
|
8353
|
+
result = true;
|
|
8354
|
+
} else {
|
|
8355
|
+
throw error;
|
|
8356
|
+
}
|
|
8357
|
+
}
|
|
8336
8358
|
}
|
|
8337
8359
|
fileExistsCache.set(filepath, result);
|
|
8338
8360
|
return result;
|
|
@@ -8357,12 +8379,22 @@ function isValidNewResolver(resolver) {
|
|
|
8357
8379
|
}
|
|
8358
8380
|
return true;
|
|
8359
8381
|
}
|
|
8382
|
+
var cachedNodeResolvers = /* @__PURE__ */ new Map();
|
|
8383
|
+
function getCachedNodeResolver(opts) {
|
|
8384
|
+
const key = stableHashX.stableHash(opts);
|
|
8385
|
+
let resolver = cachedNodeResolvers.get(key);
|
|
8386
|
+
if (!resolver) {
|
|
8387
|
+
resolver = createNodeResolver(opts);
|
|
8388
|
+
cachedNodeResolvers.set(key, resolver);
|
|
8389
|
+
}
|
|
8390
|
+
return resolver;
|
|
8391
|
+
}
|
|
8360
8392
|
function legacyNodeResolve(resolverOptions, context, modulePath, sourceFile) {
|
|
8361
8393
|
const { extensions, includeCoreModules, moduleDirectory, paths, preserveSymlinks, package: packageJson, packageFilter, pathFilter, packageIterator, ...rest } = resolverOptions;
|
|
8362
8394
|
const normalizedExtensions = arraify(extensions);
|
|
8363
8395
|
const modules = arraify(moduleDirectory);
|
|
8364
8396
|
const symlinks = preserveSymlinks === false;
|
|
8365
|
-
const resolver =
|
|
8397
|
+
const resolver = getCachedNodeResolver({
|
|
8366
8398
|
extensions: normalizedExtensions,
|
|
8367
8399
|
builtinModules: includeCoreModules !== false,
|
|
8368
8400
|
modules,
|
|
@@ -8377,7 +8409,7 @@ function legacyNodeResolve(resolverOptions, context, modulePath, sourceFile) {
|
|
|
8377
8409
|
if (normalizedPaths?.length) {
|
|
8378
8410
|
const paths2 = modules?.length ? normalizedPaths.filter((p) => !modules.includes(p)) : normalizedPaths;
|
|
8379
8411
|
if (paths2.length > 0) {
|
|
8380
|
-
const resolver2 =
|
|
8412
|
+
const resolver2 = getCachedNodeResolver({
|
|
8381
8413
|
extensions: normalizedExtensions,
|
|
8382
8414
|
builtinModules: includeCoreModules !== false,
|
|
8383
8415
|
modules: paths2,
|
|
@@ -8517,7 +8549,7 @@ function importXResolverCompat(resolver, resolverOptions = {}) {
|
|
|
8517
8549
|
};
|
|
8518
8550
|
}
|
|
8519
8551
|
|
|
8520
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8552
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/unambiguous.js
|
|
8521
8553
|
init_cjs_shims();
|
|
8522
8554
|
var pattern = /(^|;)\s*(export|import)((\s+\w)|(\s*[*={]))|import\(/m;
|
|
8523
8555
|
function isMaybeUnambiguousModule(content) {
|
|
@@ -8528,7 +8560,7 @@ function isUnambiguousModule(ast) {
|
|
|
8528
8560
|
return ast.body && ast.body.some((node2) => unambiguousNodeType.test(node2.type));
|
|
8529
8561
|
}
|
|
8530
8562
|
|
|
8531
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8563
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/visit.js
|
|
8532
8564
|
init_cjs_shims();
|
|
8533
8565
|
function visit(node2, keys, visitorSpec) {
|
|
8534
8566
|
if (!node2 || !keys) {
|
|
@@ -8557,7 +8589,7 @@ function visit(node2, keys, visitorSpec) {
|
|
|
8557
8589
|
}
|
|
8558
8590
|
}
|
|
8559
8591
|
|
|
8560
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
8592
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/export-map.js
|
|
8561
8593
|
var log4 = debug__default.default("eslint-plugin-import-x:ExportMap");
|
|
8562
8594
|
var exportCache = /* @__PURE__ */ new Map();
|
|
8563
8595
|
var declTypes = /* @__PURE__ */ new Set([
|
|
@@ -9243,7 +9275,7 @@ function makeContextCacheKey(context) {
|
|
|
9243
9275
|
return hash;
|
|
9244
9276
|
}
|
|
9245
9277
|
|
|
9246
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9278
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/import-declaration.js
|
|
9247
9279
|
init_cjs_shims();
|
|
9248
9280
|
var importDeclaration = (context, node2) => {
|
|
9249
9281
|
if (node2.parent && node2.parent.type === types$1.AST_NODE_TYPES.ImportDeclaration) {
|
|
@@ -9253,7 +9285,7 @@ var importDeclaration = (context, node2) => {
|
|
|
9253
9285
|
return ancestors[ancestors.length - 1];
|
|
9254
9286
|
};
|
|
9255
9287
|
|
|
9256
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9288
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/module-visitor.js
|
|
9257
9289
|
init_cjs_shims();
|
|
9258
9290
|
function moduleVisitor(visitor, options) {
|
|
9259
9291
|
const ignore2 = options?.ignore;
|
|
@@ -9381,7 +9413,6 @@ function makeOptionsSchema(additionalProperties) {
|
|
|
9381
9413
|
ignore: {
|
|
9382
9414
|
type: "array",
|
|
9383
9415
|
minItems: 1,
|
|
9384
|
-
items: { type: "string" },
|
|
9385
9416
|
uniqueItems: true
|
|
9386
9417
|
}
|
|
9387
9418
|
},
|
|
@@ -9396,7 +9427,7 @@ function makeOptionsSchema(additionalProperties) {
|
|
|
9396
9427
|
}
|
|
9397
9428
|
makeOptionsSchema();
|
|
9398
9429
|
|
|
9399
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9430
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/npm-client.js
|
|
9400
9431
|
init_cjs_shims();
|
|
9401
9432
|
var NPM = "npm";
|
|
9402
9433
|
var NPM_CLIENTS = /* @__PURE__ */ new Set([
|
|
@@ -9417,12 +9448,12 @@ var getNpmClient = () => {
|
|
|
9417
9448
|
};
|
|
9418
9449
|
var getNpmInstallCommand = (packageName) => `${getNpmClient()} ${npmClient === NPM ? "i" : "add"} ${npmClient === "deno" ? `${NPM}:` : ""}${packageName}`;
|
|
9419
9450
|
|
|
9420
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9451
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/parse-path.js
|
|
9421
9452
|
init_cjs_shims();
|
|
9422
9453
|
var parsePath = (path23) => {
|
|
9423
9454
|
const hashIndex = path23.indexOf("#");
|
|
9424
9455
|
const queryIndex = path23.indexOf("?");
|
|
9425
|
-
const hasHash = hashIndex
|
|
9456
|
+
const hasHash = hashIndex > 0;
|
|
9426
9457
|
const hash = hasHash ? path23.slice(hashIndex) : "";
|
|
9427
9458
|
const hasQuery = queryIndex !== -1 && (!hasHash || queryIndex < hashIndex);
|
|
9428
9459
|
const query = hasQuery ? path23.slice(queryIndex, hasHash ? hashIndex : void 0) : "";
|
|
@@ -9431,7 +9462,7 @@ var parsePath = (path23) => {
|
|
|
9431
9462
|
};
|
|
9432
9463
|
var stringifyPath = ({ pathname, query, hash }) => pathname + query + hash;
|
|
9433
9464
|
|
|
9434
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9465
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/source-type.js
|
|
9435
9466
|
init_cjs_shims();
|
|
9436
9467
|
function sourceType(context) {
|
|
9437
9468
|
if ("languageOptions" in context && context.languageOptions) {
|
|
@@ -9447,13 +9478,13 @@ function sourceType(context) {
|
|
|
9447
9478
|
}
|
|
9448
9479
|
}
|
|
9449
9480
|
|
|
9450
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9481
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/utils/static-require.js
|
|
9451
9482
|
init_cjs_shims();
|
|
9452
9483
|
function isStaticRequire(node2) {
|
|
9453
9484
|
return node2 && node2.callee && node2.callee.type === "Identifier" && node2.callee.name === "require" && node2.arguments.length === 1 && node2.arguments[0].type === "Literal" && typeof node2.arguments[0].value === "string";
|
|
9454
9485
|
}
|
|
9455
9486
|
|
|
9456
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9487
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.js
|
|
9457
9488
|
function isComma(token) {
|
|
9458
9489
|
return token.type === "Punctuator" && token.value === ",";
|
|
9459
9490
|
}
|
|
@@ -9619,7 +9650,7 @@ ${newImports}`)
|
|
|
9619
9650
|
}
|
|
9620
9651
|
});
|
|
9621
9652
|
|
|
9622
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9653
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/default.js
|
|
9623
9654
|
init_cjs_shims();
|
|
9624
9655
|
var default_default = createRule2({
|
|
9625
9656
|
name: "default",
|
|
@@ -9664,7 +9695,7 @@ var default_default = createRule2({
|
|
|
9664
9695
|
}
|
|
9665
9696
|
});
|
|
9666
9697
|
|
|
9667
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9698
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/dynamic-import-chunkname.js
|
|
9668
9699
|
init_cjs_shims();
|
|
9669
9700
|
var dynamic_import_chunkname_default = createRule2({
|
|
9670
9701
|
name: "dynamic-import-chunkname",
|
|
@@ -9835,7 +9866,7 @@ var dynamic_import_chunkname_default = createRule2({
|
|
|
9835
9866
|
}
|
|
9836
9867
|
});
|
|
9837
9868
|
|
|
9838
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
9869
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/export.js
|
|
9839
9870
|
init_cjs_shims();
|
|
9840
9871
|
var rootProgram = "root";
|
|
9841
9872
|
var tsTypePrefix = "type:";
|
|
@@ -9988,7 +10019,7 @@ var export_default = createRule2({
|
|
|
9988
10019
|
}
|
|
9989
10020
|
});
|
|
9990
10021
|
|
|
9991
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
10022
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/exports-last.js
|
|
9992
10023
|
init_cjs_shims();
|
|
9993
10024
|
var findLastIndex = (array2, predicate) => {
|
|
9994
10025
|
let i = array2.length - 1;
|
|
@@ -10036,7 +10067,7 @@ var exports_last_default = createRule2({
|
|
|
10036
10067
|
}
|
|
10037
10068
|
});
|
|
10038
10069
|
|
|
10039
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
10070
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/extensions.js
|
|
10040
10071
|
init_cjs_shims();
|
|
10041
10072
|
|
|
10042
10073
|
// ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
|
|
@@ -11638,7 +11669,8 @@ minimatch.Minimatch = Minimatch;
|
|
|
11638
11669
|
minimatch.escape = escape;
|
|
11639
11670
|
minimatch.unescape = unescape;
|
|
11640
11671
|
|
|
11641
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
11672
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/extensions.js
|
|
11673
|
+
var dtsRe = /\.d\.[cm]?ts$/;
|
|
11642
11674
|
var modifierValues = ["always", "ignorePackages", "never"];
|
|
11643
11675
|
var modifierSchema = {
|
|
11644
11676
|
type: "string",
|
|
@@ -11821,7 +11853,7 @@ var extensions_default = createRule2({
|
|
|
11821
11853
|
return;
|
|
11822
11854
|
}
|
|
11823
11855
|
const resolvedPath = resolve2(importPath, context);
|
|
11824
|
-
const extension = path16__default.default.extname(resolvedPath || importPath).slice(1);
|
|
11856
|
+
const extension = path16__default.default.extname(resolvedPath && dtsRe.test(resolvedPath) ? importPath : resolvedPath || importPath).slice(1);
|
|
11825
11857
|
const isPackage = isExternalModule(importPath, resolve2(importPath, context), context) || isScoped(importPath);
|
|
11826
11858
|
if (!extension || !importPath.endsWith(`.${extension}`)) {
|
|
11827
11859
|
if (!props.checkTypeImports && ("importKind" in node2 && node2.importKind === "type" || "exportKind" in node2 && node2.exportKind === "type")) {
|
|
@@ -11920,7 +11952,7 @@ var extensions_default = createRule2({
|
|
|
11920
11952
|
}
|
|
11921
11953
|
});
|
|
11922
11954
|
|
|
11923
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
11955
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/first.js
|
|
11924
11956
|
init_cjs_shims();
|
|
11925
11957
|
function getImportValue(node2) {
|
|
11926
11958
|
return node2.type === "ImportDeclaration" ? node2.source.value : "moduleReference" in node2 && "expression" in node2.moduleReference && "value" in node2.moduleReference.expression && node2.moduleReference.expression.value;
|
|
@@ -12055,7 +12087,7 @@ ${nodeSourceCode}`;
|
|
|
12055
12087
|
}
|
|
12056
12088
|
});
|
|
12057
12089
|
|
|
12058
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12090
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/group-exports.js
|
|
12059
12091
|
init_cjs_shims();
|
|
12060
12092
|
function accessorChain(node2) {
|
|
12061
12093
|
const chain = [];
|
|
@@ -12170,7 +12202,7 @@ var group_exports_default = createRule2({
|
|
|
12170
12202
|
}
|
|
12171
12203
|
});
|
|
12172
12204
|
|
|
12173
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12205
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/imports-first.js
|
|
12174
12206
|
init_cjs_shims();
|
|
12175
12207
|
var imports_first_default = createRule2({
|
|
12176
12208
|
...first_default,
|
|
@@ -12195,7 +12227,7 @@ var imports_first_default = createRule2({
|
|
|
12195
12227
|
}
|
|
12196
12228
|
});
|
|
12197
12229
|
|
|
12198
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12230
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/max-dependencies.js
|
|
12199
12231
|
init_cjs_shims();
|
|
12200
12232
|
var max_dependencies_default = createRule2({
|
|
12201
12233
|
name: "max-dependencies",
|
|
@@ -12248,7 +12280,7 @@ var max_dependencies_default = createRule2({
|
|
|
12248
12280
|
}
|
|
12249
12281
|
});
|
|
12250
12282
|
|
|
12251
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12283
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/named.js
|
|
12252
12284
|
init_cjs_shims();
|
|
12253
12285
|
var named_default = createRule2({
|
|
12254
12286
|
name: "named",
|
|
@@ -12374,7 +12406,7 @@ var named_default = createRule2({
|
|
|
12374
12406
|
}
|
|
12375
12407
|
});
|
|
12376
12408
|
|
|
12377
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12409
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/namespace.js
|
|
12378
12410
|
init_cjs_shims();
|
|
12379
12411
|
function processBodyStatement(context, namespaces, declaration) {
|
|
12380
12412
|
if (declaration.type !== "ImportDeclaration") {
|
|
@@ -12602,7 +12634,7 @@ var namespace_default = createRule2({
|
|
|
12602
12634
|
}
|
|
12603
12635
|
});
|
|
12604
12636
|
|
|
12605
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12637
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/newline-after-import.js
|
|
12606
12638
|
init_cjs_shims();
|
|
12607
12639
|
var log5 = debug__default.default("eslint-plugin-import-x:rules:newline-after-import");
|
|
12608
12640
|
function containsNodeOrEqual(outerNode, innerNode) {
|
|
@@ -12804,7 +12836,7 @@ var newline_after_import_default = createRule2({
|
|
|
12804
12836
|
}
|
|
12805
12837
|
});
|
|
12806
12838
|
|
|
12807
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12839
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-absolute-path.js
|
|
12808
12840
|
init_cjs_shims();
|
|
12809
12841
|
var no_absolute_path_default = createRule2({
|
|
12810
12842
|
name: "no-absolute-path",
|
|
@@ -12842,7 +12874,7 @@ var no_absolute_path_default = createRule2({
|
|
|
12842
12874
|
}
|
|
12843
12875
|
});
|
|
12844
12876
|
|
|
12845
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12877
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-amd.js
|
|
12846
12878
|
init_cjs_shims();
|
|
12847
12879
|
var no_amd_default = createRule2({
|
|
12848
12880
|
name: "no-amd",
|
|
@@ -12889,7 +12921,7 @@ var no_amd_default = createRule2({
|
|
|
12889
12921
|
}
|
|
12890
12922
|
});
|
|
12891
12923
|
|
|
12892
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
12924
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-anonymous-default-export.js
|
|
12893
12925
|
init_cjs_shims();
|
|
12894
12926
|
var { hasOwnProperty } = Object.prototype;
|
|
12895
12927
|
var hasOwn = (object2, key) => hasOwnProperty.call(object2, key);
|
|
@@ -13023,7 +13055,7 @@ var no_anonymous_default_export_default = createRule2({
|
|
|
13023
13055
|
}
|
|
13024
13056
|
});
|
|
13025
13057
|
|
|
13026
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13058
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-commonjs.js
|
|
13027
13059
|
init_cjs_shims();
|
|
13028
13060
|
function normalizeLegacyOptions(options) {
|
|
13029
13061
|
if (options.includes("allow-primitive-modules")) {
|
|
@@ -13146,7 +13178,7 @@ var no_commonjs_default = createRule2({
|
|
|
13146
13178
|
}
|
|
13147
13179
|
});
|
|
13148
13180
|
|
|
13149
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13181
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-cycle.js
|
|
13150
13182
|
init_cjs_shims();
|
|
13151
13183
|
var traversed = /* @__PURE__ */ new Set();
|
|
13152
13184
|
var no_cycle_default = createRule2({
|
|
@@ -13275,7 +13307,7 @@ function routeString(route) {
|
|
|
13275
13307
|
return route.map((s) => `${s.value}:${s.loc.start.line}`).join("=>");
|
|
13276
13308
|
}
|
|
13277
13309
|
|
|
13278
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13310
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-default-export.js
|
|
13279
13311
|
init_cjs_shims();
|
|
13280
13312
|
var no_default_export_default = createRule2({
|
|
13281
13313
|
name: "no-default-export",
|
|
@@ -13331,7 +13363,7 @@ var no_default_export_default = createRule2({
|
|
|
13331
13363
|
}
|
|
13332
13364
|
});
|
|
13333
13365
|
|
|
13334
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13366
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-deprecated.js
|
|
13335
13367
|
init_cjs_shims();
|
|
13336
13368
|
function message(deprecation) {
|
|
13337
13369
|
if (deprecation.description) {
|
|
@@ -13489,7 +13521,7 @@ var no_deprecated_default = createRule2({
|
|
|
13489
13521
|
}
|
|
13490
13522
|
});
|
|
13491
13523
|
|
|
13492
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13524
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-duplicates.js
|
|
13493
13525
|
init_cjs_shims();
|
|
13494
13526
|
var isTypeScriptVersionSupportPreferInline = lazy(() => {
|
|
13495
13527
|
let typescriptPkg;
|
|
@@ -13762,7 +13794,7 @@ var no_duplicates_default = createRule2({
|
|
|
13762
13794
|
}
|
|
13763
13795
|
});
|
|
13764
13796
|
|
|
13765
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13797
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-dynamic-require.js
|
|
13766
13798
|
init_cjs_shims();
|
|
13767
13799
|
function isRequire(node2) {
|
|
13768
13800
|
return node2.callee?.type === "Identifier" && node2.callee.name === "require" && node2.arguments.length > 0;
|
|
@@ -13831,7 +13863,7 @@ var no_dynamic_require_default = createRule2({
|
|
|
13831
13863
|
}
|
|
13832
13864
|
});
|
|
13833
13865
|
|
|
13834
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13866
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-empty-named-blocks.js
|
|
13835
13867
|
init_cjs_shims();
|
|
13836
13868
|
function getEmptyBlockRange(tokens, index) {
|
|
13837
13869
|
const token = tokens[index];
|
|
@@ -13929,7 +13961,7 @@ var no_empty_named_blocks_default = createRule2({
|
|
|
13929
13961
|
}
|
|
13930
13962
|
});
|
|
13931
13963
|
|
|
13932
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
13964
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-extraneous-dependencies.js
|
|
13933
13965
|
init_cjs_shims();
|
|
13934
13966
|
var depFieldCache = /* @__PURE__ */ new Map();
|
|
13935
13967
|
var minimatch2 = minimatch;
|
|
@@ -14175,7 +14207,7 @@ var no_extraneous_dependencies_default = createRule2({
|
|
|
14175
14207
|
}
|
|
14176
14208
|
});
|
|
14177
14209
|
|
|
14178
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14210
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-import-module-exports.js
|
|
14179
14211
|
init_cjs_shims();
|
|
14180
14212
|
function getEntryPoint(context) {
|
|
14181
14213
|
const pkgPath = pkgUp({
|
|
@@ -14257,7 +14289,7 @@ var no_import_module_exports_default = createRule2({
|
|
|
14257
14289
|
}
|
|
14258
14290
|
});
|
|
14259
14291
|
|
|
14260
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14292
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-internal-modules.js
|
|
14261
14293
|
init_cjs_shims();
|
|
14262
14294
|
function normalizeSep(somePath) {
|
|
14263
14295
|
return somePath.split("\\").join("/");
|
|
@@ -14374,7 +14406,7 @@ var no_internal_modules_default = createRule2({
|
|
|
14374
14406
|
}
|
|
14375
14407
|
});
|
|
14376
14408
|
|
|
14377
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14409
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-mutable-exports.js
|
|
14378
14410
|
init_cjs_shims();
|
|
14379
14411
|
var no_mutable_exports_default = createRule2({
|
|
14380
14412
|
name: "no-mutable-exports",
|
|
@@ -14434,7 +14466,7 @@ var no_mutable_exports_default = createRule2({
|
|
|
14434
14466
|
}
|
|
14435
14467
|
});
|
|
14436
14468
|
|
|
14437
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14469
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-named-as-default-member.js
|
|
14438
14470
|
init_cjs_shims();
|
|
14439
14471
|
var no_named_as_default_member_default = createRule2({
|
|
14440
14472
|
name: "no-named-as-default-member",
|
|
@@ -14521,7 +14553,7 @@ var no_named_as_default_member_default = createRule2({
|
|
|
14521
14553
|
}
|
|
14522
14554
|
});
|
|
14523
14555
|
|
|
14524
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14556
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-named-as-default.js
|
|
14525
14557
|
init_cjs_shims();
|
|
14526
14558
|
var no_named_as_default_default = createRule2({
|
|
14527
14559
|
name: "no-named-as-default",
|
|
@@ -14577,7 +14609,7 @@ var no_named_as_default_default = createRule2({
|
|
|
14577
14609
|
}
|
|
14578
14610
|
});
|
|
14579
14611
|
|
|
14580
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14612
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-named-default.js
|
|
14581
14613
|
init_cjs_shims();
|
|
14582
14614
|
var no_named_default_default = createRule2({
|
|
14583
14615
|
name: "no-named-default",
|
|
@@ -14615,7 +14647,7 @@ var no_named_default_default = createRule2({
|
|
|
14615
14647
|
}
|
|
14616
14648
|
});
|
|
14617
14649
|
|
|
14618
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14650
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-named-export.js
|
|
14619
14651
|
init_cjs_shims();
|
|
14620
14652
|
var no_named_export_default = createRule2({
|
|
14621
14653
|
name: "no-named-export",
|
|
@@ -14652,7 +14684,7 @@ var no_named_export_default = createRule2({
|
|
|
14652
14684
|
}
|
|
14653
14685
|
});
|
|
14654
14686
|
|
|
14655
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14687
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-namespace.js
|
|
14656
14688
|
init_cjs_shims();
|
|
14657
14689
|
var no_namespace_default = createRule2({
|
|
14658
14690
|
name: "no-namespace",
|
|
@@ -14775,7 +14807,7 @@ function generateLocalNames(names, nameConflicts, namespaceName) {
|
|
|
14775
14807
|
return localNames;
|
|
14776
14808
|
}
|
|
14777
14809
|
|
|
14778
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14810
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-nodejs-modules.js
|
|
14779
14811
|
init_cjs_shims();
|
|
14780
14812
|
var no_nodejs_modules_default = createRule2({
|
|
14781
14813
|
name: "no-nodejs-modules",
|
|
@@ -14823,7 +14855,7 @@ var no_nodejs_modules_default = createRule2({
|
|
|
14823
14855
|
}
|
|
14824
14856
|
});
|
|
14825
14857
|
|
|
14826
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14858
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-relative-packages.js
|
|
14827
14859
|
init_cjs_shims();
|
|
14828
14860
|
function toPosixPath(filePath) {
|
|
14829
14861
|
return filePath.replaceAll("\\", "/");
|
|
@@ -14883,7 +14915,7 @@ var no_relative_packages_default = createRule2({
|
|
|
14883
14915
|
}
|
|
14884
14916
|
});
|
|
14885
14917
|
|
|
14886
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14918
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-relative-parent-imports.js
|
|
14887
14919
|
init_cjs_shims();
|
|
14888
14920
|
var no_relative_parent_imports_default = createRule2({
|
|
14889
14921
|
name: "no-relative-parent-imports",
|
|
@@ -14928,7 +14960,7 @@ var no_relative_parent_imports_default = createRule2({
|
|
|
14928
14960
|
}
|
|
14929
14961
|
});
|
|
14930
14962
|
|
|
14931
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
14963
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-rename-default.js
|
|
14932
14964
|
init_cjs_shims();
|
|
14933
14965
|
var no_rename_default_default = createRule2({
|
|
14934
14966
|
name: "no-rename-default",
|
|
@@ -15168,7 +15200,7 @@ function getDefaultExportNode(exportMap) {
|
|
|
15168
15200
|
}
|
|
15169
15201
|
}
|
|
15170
15202
|
|
|
15171
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
15203
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-restricted-paths.js
|
|
15172
15204
|
init_cjs_shims();
|
|
15173
15205
|
var containsPath = (filepath, target) => {
|
|
15174
15206
|
const relative3 = path16__default.default.relative(target, filepath);
|
|
@@ -15369,7 +15401,7 @@ var no_restricted_paths_default = createRule2({
|
|
|
15369
15401
|
}
|
|
15370
15402
|
});
|
|
15371
15403
|
|
|
15372
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
15404
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-self-import.js
|
|
15373
15405
|
init_cjs_shims();
|
|
15374
15406
|
function isImportingSelf(context, node2, requireName) {
|
|
15375
15407
|
const filename = context.physicalFilename;
|
|
@@ -15402,7 +15434,7 @@ var no_self_import_default = createRule2({
|
|
|
15402
15434
|
}
|
|
15403
15435
|
});
|
|
15404
15436
|
|
|
15405
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
15437
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-unassigned-import.js
|
|
15406
15438
|
init_cjs_shims();
|
|
15407
15439
|
function testIsAllow(globs, context, source) {
|
|
15408
15440
|
if (!Array.isArray(globs)) {
|
|
@@ -15472,7 +15504,7 @@ var no_unassigned_import_default = createRule2({
|
|
|
15472
15504
|
}
|
|
15473
15505
|
});
|
|
15474
15506
|
|
|
15475
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
15507
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-unresolved.js
|
|
15476
15508
|
init_cjs_shims();
|
|
15477
15509
|
var no_unresolved_default = createRule2({
|
|
15478
15510
|
name: "no-unresolved",
|
|
@@ -15527,7 +15559,7 @@ var no_unresolved_default = createRule2({
|
|
|
15527
15559
|
}
|
|
15528
15560
|
});
|
|
15529
15561
|
|
|
15530
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
15562
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-unused-modules.js
|
|
15531
15563
|
init_cjs_shims();
|
|
15532
15564
|
function isESLint9UnsupportedApi(input) {
|
|
15533
15565
|
return typeof input === "object" && input !== null && "shouldUseFlatConfig" in input && "FileEnumerator" in eslintUnsupportedApi__default.default;
|
|
@@ -16263,7 +16295,7 @@ In the meantime, if you want to keep this rule enabled, you can suppress this wa
|
|
|
16263
16295
|
}
|
|
16264
16296
|
});
|
|
16265
16297
|
|
|
16266
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
16298
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-useless-path-segments.js
|
|
16267
16299
|
init_cjs_shims();
|
|
16268
16300
|
function toRelativePath(relativePath) {
|
|
16269
16301
|
const stripped = relativePath.replaceAll(/\/$/g, "");
|
|
@@ -16360,7 +16392,7 @@ var no_useless_path_segments_default = createRule2({
|
|
|
16360
16392
|
}
|
|
16361
16393
|
});
|
|
16362
16394
|
|
|
16363
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
16395
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/no-webpack-loader-syntax.js
|
|
16364
16396
|
init_cjs_shims();
|
|
16365
16397
|
var no_webpack_loader_syntax_default = createRule2({
|
|
16366
16398
|
name: "no-webpack-loader-syntax",
|
|
@@ -16391,7 +16423,7 @@ var no_webpack_loader_syntax_default = createRule2({
|
|
|
16391
16423
|
}
|
|
16392
16424
|
});
|
|
16393
16425
|
|
|
16394
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
16426
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/order.js
|
|
16395
16427
|
init_cjs_shims();
|
|
16396
16428
|
var log6 = debug__default.default("eslint-plugin-import-x:rules:order");
|
|
16397
16429
|
var groupBy = (array2, grouper) => array2.reduce((acc, curr, index) => {
|
|
@@ -17436,7 +17468,7 @@ var order_default = createRule2({
|
|
|
17436
17468
|
}
|
|
17437
17469
|
});
|
|
17438
17470
|
|
|
17439
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
17471
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/prefer-default-export.js
|
|
17440
17472
|
init_cjs_shims();
|
|
17441
17473
|
var prefer_default_export_default = createRule2({
|
|
17442
17474
|
name: "prefer-default-export",
|
|
@@ -17542,7 +17574,7 @@ var prefer_default_export_default = createRule2({
|
|
|
17542
17574
|
}
|
|
17543
17575
|
});
|
|
17544
17576
|
|
|
17545
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
17577
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/prefer-namespace-import.js
|
|
17546
17578
|
init_cjs_shims();
|
|
17547
17579
|
var prefer_namespace_import_default = createRule2({
|
|
17548
17580
|
name: "prefer-namespace-import",
|
|
@@ -17624,7 +17656,7 @@ function toRegExp(string3) {
|
|
|
17624
17656
|
return { test: (s) => s === string3 };
|
|
17625
17657
|
}
|
|
17626
17658
|
|
|
17627
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
17659
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/rules/unambiguous.js
|
|
17628
17660
|
init_cjs_shims();
|
|
17629
17661
|
var unambiguous_default = createRule2({
|
|
17630
17662
|
name: "unambiguous",
|
|
@@ -17657,7 +17689,7 @@ var unambiguous_default = createRule2({
|
|
|
17657
17689
|
}
|
|
17658
17690
|
});
|
|
17659
17691
|
|
|
17660
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.
|
|
17692
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.0_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_91ff422333f3a662d9b0c472962165e9/node_modules/eslint-plugin-import-x/lib/index.js
|
|
17661
17693
|
var rules2 = {
|
|
17662
17694
|
"no-unresolved": no_unresolved_default,
|
|
17663
17695
|
named: named_default,
|
|
@@ -17752,7 +17784,7 @@ plugin2.flatConfigs = flatConfigs;
|
|
|
17752
17784
|
plugin2.configs = configs2;
|
|
17753
17785
|
var lib_default = plugin2;
|
|
17754
17786
|
|
|
17755
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.
|
|
17787
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.62.0_eslint@10.5.0_jiti@2.7.0_8dcc8015d0e56bb7a90f2a9fec1cada6/node_modules/eslint-plugin-import-zod/dist/index.mjs
|
|
17756
17788
|
init_cjs_shims();
|
|
17757
17789
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
17758
17790
|
var __esm2 = (fn, res) => function() {
|
|
@@ -20082,7 +20114,7 @@ plugin3.configs = configs3;
|
|
|
20082
20114
|
|
|
20083
20115
|
// ../eslint-plugin-pnpm/package.json
|
|
20084
20116
|
var package_default2 = {
|
|
20085
|
-
version: "0.0.
|
|
20117
|
+
version: "0.0.39"};
|
|
20086
20118
|
|
|
20087
20119
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
20088
20120
|
var plugin4 = {
|