@icebreakers/eslint-config 1.1.7 → 1.2.0
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.
|
@@ -22,7 +22,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
22
22
|
};
|
|
23
23
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
24
24
|
|
|
25
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.
|
|
25
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/esm_shims.js
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { fileURLToPath } from "url";
|
|
28
28
|
var getFilename = () => fileURLToPath(import.meta.url);
|
package/dist/index.cjs
CHANGED
|
@@ -31,20 +31,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
));
|
|
32
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.
|
|
34
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js
|
|
35
35
|
var getImportMetaUrl, importMetaUrl;
|
|
36
36
|
var init_cjs_shims = __esm({
|
|
37
|
-
"../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.
|
|
37
|
+
"../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
38
38
|
"use strict";
|
|
39
39
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
40
40
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/base.js
|
|
45
45
|
var base;
|
|
46
46
|
var init_base = __esm({
|
|
47
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
47
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/base.js"() {
|
|
48
48
|
"use strict";
|
|
49
49
|
init_cjs_shims();
|
|
50
50
|
base = {
|
|
@@ -63,10 +63,10 @@ var init_base = __esm({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
66
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/code-blocks.js
|
|
67
67
|
var codeBlocks;
|
|
68
68
|
var init_code_blocks = __esm({
|
|
69
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
69
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/code-blocks.js"() {
|
|
70
70
|
"use strict";
|
|
71
71
|
init_cjs_shims();
|
|
72
72
|
codeBlocks = {
|
|
@@ -89,10 +89,10 @@ var init_code_blocks = __esm({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
92
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js
|
|
93
93
|
var import_node_fs, import_node_module, import_node_path, arrayify, getPhysicalFilename, getPositionAtFactory, normalizePosition, prevCharOffsetFactory, nextCharOffsetFactory, importMetaUrl2, cjsRequire;
|
|
94
94
|
var init_helpers = __esm({
|
|
95
|
-
"../../node_modules/.pnpm/eslint-mdx@3.
|
|
95
|
+
"../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js"() {
|
|
96
96
|
"use strict";
|
|
97
97
|
init_cjs_shims();
|
|
98
98
|
import_node_fs = __toESM(require("fs"), 1);
|
|
@@ -171,10 +171,10 @@ var init_helpers = __esm({
|
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
174
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js
|
|
175
175
|
var pkg, meta;
|
|
176
176
|
var init_meta = __esm({
|
|
177
|
-
"../../node_modules/.pnpm/eslint-mdx@3.
|
|
177
|
+
"../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js"() {
|
|
178
178
|
"use strict";
|
|
179
179
|
init_cjs_shims();
|
|
180
180
|
init_helpers();
|
|
@@ -183,10 +183,10 @@ var init_meta = __esm({
|
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
185
|
|
|
186
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
186
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/common.js
|
|
187
187
|
var NODE_OPTIONS, hasFlag, parseVersion, compareVersion, NODE_VERSION, compareNodeVersion;
|
|
188
188
|
var init_common = __esm({
|
|
189
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
189
|
+
"../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/common.js"() {
|
|
190
190
|
"use strict";
|
|
191
191
|
init_cjs_shims();
|
|
192
192
|
NODE_OPTIONS = process.env.NODE_OPTIONS?.split(/\s+/);
|
|
@@ -213,10 +213,10 @@ var init_common = __esm({
|
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
216
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/constants.js
|
|
217
217
|
var TsRunner, NODE_OPTIONS_, SYNCKIT_EXEC_ARGV, SYNCKIT_GLOBAL_SHIMS, SYNCKIT_TIMEOUT, SYNCKIT_TS_RUNNER, TS_ESM_PARTIAL_SUPPORTED, MTS_SUPPORTED, MODULE_REGISTER_SUPPORTED, STRIP_TYPES_NODE_VERSION, TRANSFORM_TYPES_NODE_VERSION, FEATURE_TYPESCRIPT_NODE_VERSION, DEFAULT_TYPES_NODE_VERSION, STRIP_TYPES_FLAG, TRANSFORM_TYPES_FLAG, NO_STRIP_TYPES_FLAG, NODE_OPTIONS2, NO_STRIP_TYPES, DEFAULT_TIMEOUT, DEFAULT_EXEC_ARGV, DEFAULT_TS_RUNNER, DEFAULT_GLOBAL_SHIMS, DEFAULT_GLOBAL_SHIMS_PRESET, IMPORT_FLAG, REQUIRE_FLAG, REQUIRE_ABBR_FLAG, REQUIRE_FLAGS, LOADER_FLAG, EXPERIMENTAL_LOADER_FLAG, LOADER_FLAGS, IMPORT_FLAG_SUPPORTED, INT32_BYTES;
|
|
218
218
|
var init_constants = __esm({
|
|
219
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
219
|
+
"../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/constants.js"() {
|
|
220
220
|
"use strict";
|
|
221
221
|
init_cjs_shims();
|
|
222
222
|
init_common();
|
|
@@ -270,23 +270,24 @@ var init_constants = __esm({
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
274
|
-
var import_node_module2, CWD, cjsRequire2, EXTENSIONS;
|
|
273
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/constants.js
|
|
274
|
+
var import_node_module2, CWD, importMetaUrl3, cjsRequire2, EXTENSIONS;
|
|
275
275
|
var init_constants2 = __esm({
|
|
276
|
-
"../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
276
|
+
"../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/constants.js"() {
|
|
277
277
|
"use strict";
|
|
278
278
|
init_cjs_shims();
|
|
279
279
|
import_node_module2 = require("module");
|
|
280
280
|
CWD = process.cwd();
|
|
281
|
-
|
|
281
|
+
importMetaUrl3 = importMetaUrl3;
|
|
282
|
+
cjsRequire2 = importMetaUrl3 ? (0, import_node_module2.createRequire)(importMetaUrl3) : require;
|
|
282
283
|
EXTENSIONS = [".ts", ".tsx", ...Object.keys(cjsRequire2.extensions)];
|
|
283
284
|
}
|
|
284
285
|
});
|
|
285
286
|
|
|
286
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
287
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/helpers.js
|
|
287
288
|
var import_node_fs2, import_node_path2, tryPkg, isPkgAvailable, tryFile, tryExtensions, findUp;
|
|
288
289
|
var init_helpers2 = __esm({
|
|
289
|
-
"../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
290
|
+
"../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/helpers.js"() {
|
|
290
291
|
"use strict";
|
|
291
292
|
init_cjs_shims();
|
|
292
293
|
import_node_fs2 = __toESM(require("fs"), 1);
|
|
@@ -317,28 +318,25 @@ var init_helpers2 = __esm({
|
|
|
317
318
|
return ext == null ? "" : filepath + ext;
|
|
318
319
|
};
|
|
319
320
|
findUp = (searchEntry, searchFileOrIncludeDir, includeDir) => {
|
|
320
|
-
console.assert(import_node_path2.default.isAbsolute(searchEntry));
|
|
321
|
-
if (!tryFile(searchEntry, true) || searchEntry !== CWD && !searchEntry.startsWith(CWD + import_node_path2.default.sep)) {
|
|
322
|
-
return "";
|
|
323
|
-
}
|
|
324
|
-
searchEntry = import_node_path2.default.resolve(import_node_fs2.default.statSync(searchEntry).isDirectory() ? searchEntry : import_node_path2.default.resolve(searchEntry, ".."));
|
|
325
321
|
const isSearchFile = typeof searchFileOrIncludeDir === "string";
|
|
326
322
|
const searchFile = isSearchFile ? searchFileOrIncludeDir : "package.json";
|
|
323
|
+
let lastSearchEntry;
|
|
327
324
|
do {
|
|
328
|
-
const searched = tryFile(
|
|
325
|
+
const searched = tryFile(searchFile, isSearchFile && includeDir, searchEntry);
|
|
329
326
|
if (searched) {
|
|
330
327
|
return searched;
|
|
331
328
|
}
|
|
332
|
-
|
|
333
|
-
|
|
329
|
+
lastSearchEntry = searchEntry;
|
|
330
|
+
searchEntry = import_node_path2.default.dirname(searchEntry);
|
|
331
|
+
} while (!lastSearchEntry || lastSearchEntry !== searchEntry);
|
|
334
332
|
return "";
|
|
335
333
|
};
|
|
336
334
|
}
|
|
337
335
|
});
|
|
338
336
|
|
|
339
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
337
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/index.js
|
|
340
338
|
var init_lib = __esm({
|
|
341
|
-
"../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
339
|
+
"../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/index.js"() {
|
|
342
340
|
"use strict";
|
|
343
341
|
init_cjs_shims();
|
|
344
342
|
init_constants2();
|
|
@@ -346,7 +344,7 @@ var init_lib = __esm({
|
|
|
346
344
|
}
|
|
347
345
|
});
|
|
348
346
|
|
|
349
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
347
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/helpers.js
|
|
350
348
|
function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = DEFAULT_EXEC_ARGV, tsRunner = DEFAULT_TS_RUNNER, transferList = [], globalShims = DEFAULT_GLOBAL_SHIMS } = {}) {
|
|
351
349
|
const { port1: mainPort, port2: workerPort } = new import_node_worker_threads.MessageChannel();
|
|
352
350
|
const { isTs, ext, jsUseEsm, tsUseEsm, tsRunner: finalTsRunner, workerPath: finalWorkerPath, pnpLoaderPath, execArgv: finalExecArgv } = setupTsRunner(workerPath, { execArgv, tsRunner });
|
|
@@ -390,11 +388,13 @@ function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = D
|
|
|
390
388
|
port.postMessage(abortMsg);
|
|
391
389
|
throw new Error("Internal error: Atomics.wait() failed: " + status);
|
|
392
390
|
}
|
|
393
|
-
const
|
|
394
|
-
|
|
391
|
+
const result = (0, import_node_worker_threads.receiveMessageOnPort)(mainPort);
|
|
392
|
+
const msg = result?.message;
|
|
393
|
+
if (msg?.id == null || msg.id < expectedId) {
|
|
395
394
|
const waitingTime = Date.now() - start;
|
|
396
395
|
return receiveMessageWithId(port, expectedId, waitingTimeout ? waitingTimeout - waitingTime : void 0);
|
|
397
396
|
}
|
|
397
|
+
const { id, ...message } = msg;
|
|
398
398
|
if (expectedId !== id) {
|
|
399
399
|
throw new Error(`Internal error: Expected id ${expectedId} but got id ${id}`);
|
|
400
400
|
}
|
|
@@ -418,7 +418,7 @@ function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = D
|
|
|
418
418
|
}
|
|
419
419
|
var import_node_crypto, import_node_fs3, import_node_path3, import_node_url, import_node_worker_threads, isFile, dataUrl, hasRequireFlag, hasImportFlag, hasLoaderFlag, setupTsRunner, md5Hash, encodeImportModule, _generateGlobals, globalsCache, tmpdir, _dirname, generateGlobals, sharedBuffer, sharedBufferView;
|
|
420
420
|
var init_helpers3 = __esm({
|
|
421
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
421
|
+
"../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/helpers.js"() {
|
|
422
422
|
"use strict";
|
|
423
423
|
init_cjs_shims();
|
|
424
424
|
import_node_crypto = require("crypto");
|
|
@@ -429,9 +429,9 @@ var init_helpers3 = __esm({
|
|
|
429
429
|
init_lib();
|
|
430
430
|
init_common();
|
|
431
431
|
init_constants();
|
|
432
|
-
isFile = (
|
|
432
|
+
isFile = (path8) => {
|
|
433
433
|
try {
|
|
434
|
-
return !!import_node_fs3.default.statSync(
|
|
434
|
+
return !!import_node_fs3.default.statSync(path8, { throwIfNoEntry: false })?.isFile();
|
|
435
435
|
} catch {
|
|
436
436
|
return false;
|
|
437
437
|
}
|
|
@@ -678,15 +678,15 @@ var init_helpers3 = __esm({
|
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
680
|
|
|
681
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
681
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/types.js
|
|
682
682
|
var init_types = __esm({
|
|
683
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
683
|
+
"../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/types.js"() {
|
|
684
684
|
"use strict";
|
|
685
685
|
init_cjs_shims();
|
|
686
686
|
}
|
|
687
687
|
});
|
|
688
688
|
|
|
689
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
689
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/index.js
|
|
690
690
|
function createSyncFn(workerPath, timeoutOrOptions) {
|
|
691
691
|
syncFnCache ?? (syncFnCache = /* @__PURE__ */ new Map());
|
|
692
692
|
if (typeof workerPath !== "string" || workerPath.startsWith("file://")) {
|
|
@@ -705,7 +705,7 @@ function createSyncFn(workerPath, timeoutOrOptions) {
|
|
|
705
705
|
}
|
|
706
706
|
var import_node_module3, import_node_path4, import_node_url2, import_node_worker_threads2, syncFnCache;
|
|
707
707
|
var init_lib2 = __esm({
|
|
708
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
708
|
+
"../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/index.js"() {
|
|
709
709
|
"use strict";
|
|
710
710
|
init_cjs_shims();
|
|
711
711
|
import_node_module3 = __toESM(require("module"), 1);
|
|
@@ -721,10 +721,10 @@ var init_lib2 = __esm({
|
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
723
|
|
|
724
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
724
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js
|
|
725
725
|
var performSyncWork;
|
|
726
726
|
var init_sync = __esm({
|
|
727
|
-
"../../node_modules/.pnpm/eslint-mdx@3.
|
|
727
|
+
"../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js"() {
|
|
728
728
|
"use strict";
|
|
729
729
|
init_cjs_shims();
|
|
730
730
|
init_lib2();
|
|
@@ -733,10 +733,10 @@ var init_sync = __esm({
|
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
|
|
736
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
736
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
737
737
|
var import_node_path5, DEFAULT_EXTENSIONS, MARKDOWN_EXTENSIONS, Parser, parser, parse, parseForESLint;
|
|
738
738
|
var init_parser = __esm({
|
|
739
|
-
"../../node_modules/.pnpm/eslint-mdx@3.
|
|
739
|
+
"../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js"() {
|
|
740
740
|
"use strict";
|
|
741
741
|
init_cjs_shims();
|
|
742
742
|
import_node_path5 = __toESM(require("path"), 1);
|
|
@@ -802,7 +802,7 @@ var init_parser = __esm({
|
|
|
802
802
|
}
|
|
803
803
|
});
|
|
804
804
|
|
|
805
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
805
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js
|
|
806
806
|
var lib_exports = {};
|
|
807
807
|
__export(lib_exports, {
|
|
808
808
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -822,7 +822,7 @@ __export(lib_exports, {
|
|
|
822
822
|
prevCharOffsetFactory: () => prevCharOffsetFactory
|
|
823
823
|
});
|
|
824
824
|
var init_lib3 = __esm({
|
|
825
|
-
"../../node_modules/.pnpm/eslint-mdx@3.
|
|
825
|
+
"../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js"() {
|
|
826
826
|
"use strict";
|
|
827
827
|
init_cjs_shims();
|
|
828
828
|
init_helpers();
|
|
@@ -832,10 +832,10 @@ var init_lib3 = __esm({
|
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
834
|
|
|
835
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
835
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js
|
|
836
836
|
var flat, parserOptions, restConfig, flatCodeBlocks;
|
|
837
837
|
var init_flat = __esm({
|
|
838
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
838
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js"() {
|
|
839
839
|
"use strict";
|
|
840
840
|
init_cjs_shims();
|
|
841
841
|
init_lib3();
|
|
@@ -871,25 +871,25 @@ var init_flat = __esm({
|
|
|
871
871
|
}
|
|
872
872
|
});
|
|
873
873
|
|
|
874
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
875
|
-
var import_node_module4, getGlobals,
|
|
874
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js
|
|
875
|
+
var import_node_module4, getGlobals, importMetaUrl4, cjsRequire3;
|
|
876
876
|
var init_helpers4 = __esm({
|
|
877
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
877
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js"() {
|
|
878
878
|
"use strict";
|
|
879
879
|
init_cjs_shims();
|
|
880
880
|
import_node_module4 = require("module");
|
|
881
881
|
getGlobals = (sources, initialGlobals = {}) => (Array.isArray(sources) ? sources : Object.keys(sources)).reduce((globals, source) => Object.assign(globals, {
|
|
882
882
|
[source]: false
|
|
883
883
|
}), initialGlobals);
|
|
884
|
-
|
|
885
|
-
cjsRequire3 =
|
|
884
|
+
importMetaUrl4 = importMetaUrl4;
|
|
885
|
+
cjsRequire3 = importMetaUrl4 ? (0, import_node_module4.createRequire)(importMetaUrl4) : require;
|
|
886
886
|
}
|
|
887
887
|
});
|
|
888
888
|
|
|
889
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
889
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js
|
|
890
890
|
var isReactPluginAvailable, overrides;
|
|
891
891
|
var init_overrides = __esm({
|
|
892
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
892
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js"() {
|
|
893
893
|
"use strict";
|
|
894
894
|
init_cjs_shims();
|
|
895
895
|
init_lib3();
|
|
@@ -920,10 +920,10 @@ var init_overrides = __esm({
|
|
|
920
920
|
}
|
|
921
921
|
});
|
|
922
922
|
|
|
923
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
923
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js
|
|
924
924
|
var overrides2, recommended, addPrettierRules;
|
|
925
925
|
var init_recommended = __esm({
|
|
926
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
926
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js"() {
|
|
927
927
|
"use strict";
|
|
928
928
|
init_cjs_shims();
|
|
929
929
|
init_helpers4();
|
|
@@ -979,10 +979,10 @@ var init_recommended = __esm({
|
|
|
979
979
|
}
|
|
980
980
|
});
|
|
981
981
|
|
|
982
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
982
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js
|
|
983
983
|
var configs;
|
|
984
984
|
var init_configs = __esm({
|
|
985
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
985
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js"() {
|
|
986
986
|
"use strict";
|
|
987
987
|
init_cjs_shims();
|
|
988
988
|
init_base();
|
|
@@ -1002,10 +1002,10 @@ var init_configs = __esm({
|
|
|
1002
1002
|
}
|
|
1003
1003
|
});
|
|
1004
1004
|
|
|
1005
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1005
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js
|
|
1006
1006
|
var pkg2, meta2;
|
|
1007
1007
|
var init_meta2 = __esm({
|
|
1008
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1008
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js"() {
|
|
1009
1009
|
"use strict";
|
|
1010
1010
|
init_cjs_shims();
|
|
1011
1011
|
init_helpers4();
|
|
@@ -1014,7 +1014,7 @@ var init_meta2 = __esm({
|
|
|
1014
1014
|
}
|
|
1015
1015
|
});
|
|
1016
1016
|
|
|
1017
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1017
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js
|
|
1018
1018
|
function getShortLang(filename, languageMapper) {
|
|
1019
1019
|
const language = filename.split(".").at(-1);
|
|
1020
1020
|
if (languageMapper === false) {
|
|
@@ -1030,7 +1030,7 @@ function getShortLang(filename, languageMapper) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
var DEFAULT_LANGUAGE_MAPPER;
|
|
1032
1032
|
var init_helpers5 = __esm({
|
|
1033
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1033
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js"() {
|
|
1034
1034
|
"use strict";
|
|
1035
1035
|
init_cjs_shims();
|
|
1036
1036
|
DEFAULT_LANGUAGE_MAPPER = {
|
|
@@ -1048,19 +1048,7 @@ var init_helpers5 = __esm({
|
|
|
1048
1048
|
}
|
|
1049
1049
|
});
|
|
1050
1050
|
|
|
1051
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1052
|
-
var fromMarkdown;
|
|
1053
|
-
var init_from_markdown = __esm({
|
|
1054
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js"() {
|
|
1055
|
-
"use strict";
|
|
1056
|
-
init_cjs_shims();
|
|
1057
|
-
init_lib2();
|
|
1058
|
-
init_helpers4();
|
|
1059
|
-
fromMarkdown = createSyncFn(cjsRequire3.resolve("./worker.js"));
|
|
1060
|
-
}
|
|
1061
|
-
});
|
|
1062
|
-
|
|
1063
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
1051
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
1064
1052
|
function traverse(node, callbacks) {
|
|
1065
1053
|
if (callbacks[node.type]) {
|
|
1066
1054
|
callbacks[node.type](node);
|
|
@@ -1125,9 +1113,26 @@ function getBlockRangeMap(text, node, comments) {
|
|
|
1125
1113
|
function fileNameFromMeta(block) {
|
|
1126
1114
|
return codeBlockFileNameRegex.exec(block.meta)?.groups.filename.replaceAll(/\s+/gu, "_");
|
|
1127
1115
|
}
|
|
1116
|
+
function getOnDiskFilepath(filepath) {
|
|
1117
|
+
let fallback;
|
|
1118
|
+
try {
|
|
1119
|
+
if (!import_node_fs4.default.statSync(filepath, { throwIfNoEntry: false })) {
|
|
1120
|
+
fallback = true;
|
|
1121
|
+
}
|
|
1122
|
+
} catch (err) {
|
|
1123
|
+
if (err.code === "ENOTDIR") {
|
|
1124
|
+
fallback = true;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
return fallback ? getOnDiskFilepath(import_node_path6.default.dirname(filepath)) : filepath;
|
|
1128
|
+
}
|
|
1128
1129
|
function preprocess(sourceText, filename) {
|
|
1129
1130
|
const text = sourceText.startsWith(BOM) ? sourceText.slice(1) : sourceText;
|
|
1130
|
-
const
|
|
1131
|
+
const { root } = performSyncWork({
|
|
1132
|
+
filePath: getOnDiskFilepath(filename),
|
|
1133
|
+
code: text,
|
|
1134
|
+
isMdx: filename.endsWith(".mdx")
|
|
1135
|
+
});
|
|
1131
1136
|
const blocks = [];
|
|
1132
1137
|
blocksCache.set(filename, blocks);
|
|
1133
1138
|
let allComments = [];
|
|
@@ -1139,7 +1144,7 @@ function preprocess(sourceText, filename) {
|
|
|
1139
1144
|
allComments = [];
|
|
1140
1145
|
}
|
|
1141
1146
|
}
|
|
1142
|
-
traverse(
|
|
1147
|
+
traverse(root, {
|
|
1143
1148
|
"*"() {
|
|
1144
1149
|
allComments = [];
|
|
1145
1150
|
},
|
|
@@ -1241,12 +1246,14 @@ function postprocess(messages, filename) {
|
|
|
1241
1246
|
return group.map(adjust).filter(excludeUnsatisfiableRules);
|
|
1242
1247
|
});
|
|
1243
1248
|
}
|
|
1244
|
-
var UNSATISFIABLE_RULES, SUPPORTS_AUTOFIX, BOM, blocksCache, COMMENTS, eslintCommentRegex, leadingWhitespaceRegex, codeBlockFileNameRegex, markdownProcessor;
|
|
1249
|
+
var import_node_fs4, import_node_path6, UNSATISFIABLE_RULES, SUPPORTS_AUTOFIX, BOM, blocksCache, COMMENTS, eslintCommentRegex, leadingWhitespaceRegex, codeBlockFileNameRegex, markdownProcessor;
|
|
1245
1250
|
var init_markdown = __esm({
|
|
1246
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1251
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js"() {
|
|
1247
1252
|
"use strict";
|
|
1248
1253
|
init_cjs_shims();
|
|
1249
|
-
|
|
1254
|
+
import_node_fs4 = __toESM(require("fs"), 1);
|
|
1255
|
+
import_node_path6 = __toESM(require("path"), 1);
|
|
1256
|
+
init_lib3();
|
|
1250
1257
|
init_meta2();
|
|
1251
1258
|
UNSATISFIABLE_RULES = /* @__PURE__ */ new Set([
|
|
1252
1259
|
"eol-last",
|
|
@@ -1280,15 +1287,15 @@ var init_markdown = __esm({
|
|
|
1280
1287
|
}
|
|
1281
1288
|
});
|
|
1282
1289
|
|
|
1283
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1290
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js
|
|
1284
1291
|
var processorOptions, linterPath, ESLinter, verify;
|
|
1285
1292
|
var init_options = __esm({
|
|
1286
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1293
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js"() {
|
|
1287
1294
|
"use strict";
|
|
1288
1295
|
init_cjs_shims();
|
|
1289
1296
|
init_helpers4();
|
|
1290
1297
|
processorOptions = {};
|
|
1291
|
-
linterPath = Object.keys(cjsRequire3.cache).find((
|
|
1298
|
+
linterPath = Object.keys(cjsRequire3.cache).find((path8) => /([/\\])eslint\1lib(?:\1linter){2}\.js$/.test(path8));
|
|
1292
1299
|
if (!linterPath) {
|
|
1293
1300
|
throw new Error("Could not find ESLint Linter in require cache");
|
|
1294
1301
|
}
|
|
@@ -1303,10 +1310,10 @@ var init_options = __esm({
|
|
|
1303
1310
|
}
|
|
1304
1311
|
});
|
|
1305
1312
|
|
|
1306
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1313
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js
|
|
1307
1314
|
var createRemarkProcessor, remark;
|
|
1308
1315
|
var init_remark = __esm({
|
|
1309
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1316
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js"() {
|
|
1310
1317
|
"use strict";
|
|
1311
1318
|
init_cjs_shims();
|
|
1312
1319
|
init_meta2();
|
|
@@ -1354,10 +1361,10 @@ var init_remark = __esm({
|
|
|
1354
1361
|
}
|
|
1355
1362
|
});
|
|
1356
1363
|
|
|
1357
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1364
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js
|
|
1358
1365
|
var processors;
|
|
1359
1366
|
var init_processors = __esm({
|
|
1360
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1367
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js"() {
|
|
1361
1368
|
"use strict";
|
|
1362
1369
|
init_cjs_shims();
|
|
1363
1370
|
init_remark();
|
|
@@ -1368,13 +1375,13 @@ var init_processors = __esm({
|
|
|
1368
1375
|
}
|
|
1369
1376
|
});
|
|
1370
1377
|
|
|
1371
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1372
|
-
var
|
|
1378
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js
|
|
1379
|
+
var import_node_path7, remark2;
|
|
1373
1380
|
var init_remark2 = __esm({
|
|
1374
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1381
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js"() {
|
|
1375
1382
|
"use strict";
|
|
1376
1383
|
init_cjs_shims();
|
|
1377
|
-
|
|
1384
|
+
import_node_path7 = __toESM(require("path"), 1);
|
|
1378
1385
|
init_lib3();
|
|
1379
1386
|
remark2 = {
|
|
1380
1387
|
meta: {
|
|
@@ -1388,7 +1395,7 @@ var init_remark2 = __esm({
|
|
|
1388
1395
|
},
|
|
1389
1396
|
create(context) {
|
|
1390
1397
|
const filename = context.getFilename();
|
|
1391
|
-
const extname =
|
|
1398
|
+
const extname = import_node_path7.default.extname(filename);
|
|
1392
1399
|
const sourceCode = context.getSourceCode();
|
|
1393
1400
|
const options = context.parserOptions;
|
|
1394
1401
|
const isMdx = [
|
|
@@ -1451,10 +1458,10 @@ var init_remark2 = __esm({
|
|
|
1451
1458
|
}
|
|
1452
1459
|
});
|
|
1453
1460
|
|
|
1454
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1461
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js
|
|
1455
1462
|
var rules;
|
|
1456
1463
|
var init_rules = __esm({
|
|
1457
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1464
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js"() {
|
|
1458
1465
|
"use strict";
|
|
1459
1466
|
init_cjs_shims();
|
|
1460
1467
|
init_remark2();
|
|
@@ -1462,7 +1469,7 @@ var init_rules = __esm({
|
|
|
1462
1469
|
}
|
|
1463
1470
|
});
|
|
1464
1471
|
|
|
1465
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1472
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js
|
|
1466
1473
|
var lib_exports2 = {};
|
|
1467
1474
|
__export(lib_exports2, {
|
|
1468
1475
|
DEFAULT_LANGUAGE_MAPPER: () => DEFAULT_LANGUAGE_MAPPER,
|
|
@@ -1484,7 +1491,7 @@ __export(lib_exports2, {
|
|
|
1484
1491
|
rules: () => rules
|
|
1485
1492
|
});
|
|
1486
1493
|
var init_lib4 = __esm({
|
|
1487
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1494
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js"() {
|
|
1488
1495
|
"use strict";
|
|
1489
1496
|
init_cjs_shims();
|
|
1490
1497
|
init_configs();
|
|
@@ -1588,7 +1595,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
1588
1595
|
// src/defaults.ts
|
|
1589
1596
|
init_cjs_shims();
|
|
1590
1597
|
|
|
1591
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.
|
|
1598
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.2.0_eslint@9.29.0_jiti@2.4.2__vue-eslint-parser@10.1.3_eslint@9.29.0_jiti@2.4.2__/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
1592
1599
|
var inline_non_void_elements_default = [
|
|
1593
1600
|
"a",
|
|
1594
1601
|
"abbr",
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__reExport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AKO2PQXS.js";
|
|
4
4
|
|
|
5
5
|
// src/antfu.ts
|
|
6
6
|
var antfu_exports = {};
|
|
@@ -75,7 +75,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.
|
|
78
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.2.0_eslint@9.29.0_jiti@2.4.2__vue-eslint-parser@10.1.3_eslint@9.29.0_jiti@2.4.2__/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
79
79
|
var inline_non_void_elements_default = [
|
|
80
80
|
"a",
|
|
81
81
|
"abbr",
|
|
@@ -289,7 +289,7 @@ function getPresets(options, mode) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
if (enableMDX) {
|
|
292
|
-
presets.push((0, antfu_exports.interopDefault)(import("./lib-
|
|
292
|
+
presets.push((0, antfu_exports.interopDefault)(import("./lib-UCMM3N7R.js")).then((mdx) => {
|
|
293
293
|
return [
|
|
294
294
|
{
|
|
295
295
|
...mdx.flat,
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
__dirname,
|
|
3
3
|
__export,
|
|
4
4
|
__require
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AKO2PQXS.js";
|
|
6
6
|
|
|
7
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
7
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js
|
|
8
8
|
var lib_exports2 = {};
|
|
9
9
|
__export(lib_exports2, {
|
|
10
10
|
DEFAULT_LANGUAGE_MAPPER: () => DEFAULT_LANGUAGE_MAPPER,
|
|
@@ -26,7 +26,7 @@ __export(lib_exports2, {
|
|
|
26
26
|
rules: () => rules
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
29
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/base.js
|
|
30
30
|
var base = {
|
|
31
31
|
parser: "eslint-mdx",
|
|
32
32
|
parserOptions: {
|
|
@@ -41,7 +41,7 @@ var base = {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/code-blocks.js
|
|
45
45
|
var codeBlocks = {
|
|
46
46
|
parserOptions: {
|
|
47
47
|
ecmaFeatures: {
|
|
@@ -60,7 +60,7 @@ var codeBlocks = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
63
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js
|
|
64
64
|
var lib_exports = {};
|
|
65
65
|
__export(lib_exports, {
|
|
66
66
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -80,7 +80,7 @@ __export(lib_exports, {
|
|
|
80
80
|
prevCharOffsetFactory: () => prevCharOffsetFactory
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
83
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js
|
|
84
84
|
import fs from "fs";
|
|
85
85
|
import { createRequire } from "module";
|
|
86
86
|
import path from "path";
|
|
@@ -155,20 +155,20 @@ var nextCharOffsetFactory = (text) => {
|
|
|
155
155
|
var importMetaUrl = import.meta.url;
|
|
156
156
|
var cjsRequire = importMetaUrl ? createRequire(importMetaUrl) : __require;
|
|
157
157
|
|
|
158
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
158
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js
|
|
159
159
|
var pkg = cjsRequire("../package.json");
|
|
160
160
|
var meta = { name: pkg.name, version: pkg.version };
|
|
161
161
|
|
|
162
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
162
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
163
163
|
import path5 from "path";
|
|
164
164
|
|
|
165
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
165
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/index.js
|
|
166
166
|
import module from "module";
|
|
167
167
|
import path4 from "path";
|
|
168
168
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
169
169
|
import { parentPort, workerData } from "worker_threads";
|
|
170
170
|
|
|
171
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
171
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/common.js
|
|
172
172
|
var NODE_OPTIONS = process.env.NODE_OPTIONS?.split(/\s+/);
|
|
173
173
|
var hasFlag = (flag) => NODE_OPTIONS?.includes(flag) || process.argv.includes(flag);
|
|
174
174
|
var parseVersion = (version) => version.split(".").map(Number.parseFloat);
|
|
@@ -191,7 +191,7 @@ var compareVersion = (version1, version2) => {
|
|
|
191
191
|
var NODE_VERSION = process.versions.node;
|
|
192
192
|
var compareNodeVersion = (version) => compareVersion(NODE_VERSION, version);
|
|
193
193
|
|
|
194
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
194
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/constants.js
|
|
195
195
|
var TsRunner = {
|
|
196
196
|
Node: "node",
|
|
197
197
|
Bun: "bun",
|
|
@@ -240,20 +240,21 @@ var LOADER_FLAGS = /* @__PURE__ */ new Set([LOADER_FLAG, EXPERIMENTAL_LOADER_FLA
|
|
|
240
240
|
var IMPORT_FLAG_SUPPORTED = compareNodeVersion("20.6") >= 0;
|
|
241
241
|
var INT32_BYTES = 4;
|
|
242
242
|
|
|
243
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
243
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/helpers.js
|
|
244
244
|
import { createHash } from "crypto";
|
|
245
245
|
import fs3 from "fs";
|
|
246
246
|
import path3 from "path";
|
|
247
247
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
248
248
|
import { MessageChannel, Worker, receiveMessageOnPort } from "worker_threads";
|
|
249
249
|
|
|
250
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
250
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/constants.js
|
|
251
251
|
import { createRequire as createRequire2 } from "module";
|
|
252
252
|
var CWD = process.cwd();
|
|
253
|
-
var
|
|
253
|
+
var importMetaUrl2 = import.meta.url;
|
|
254
|
+
var cjsRequire2 = importMetaUrl2 ? createRequire2(importMetaUrl2) : __require;
|
|
254
255
|
var EXTENSIONS = [".ts", ".tsx", ...Object.keys(cjsRequire2.extensions)];
|
|
255
256
|
|
|
256
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
257
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.7/node_modules/@pkgr/core/lib/helpers.js
|
|
257
258
|
import fs2 from "fs";
|
|
258
259
|
import path2 from "path";
|
|
259
260
|
var tryPkg = (pkg3) => {
|
|
@@ -281,27 +282,24 @@ var tryExtensions = (filepath, extensions = EXTENSIONS) => {
|
|
|
281
282
|
return ext == null ? "" : filepath + ext;
|
|
282
283
|
};
|
|
283
284
|
var findUp = (searchEntry, searchFileOrIncludeDir, includeDir) => {
|
|
284
|
-
console.assert(path2.isAbsolute(searchEntry));
|
|
285
|
-
if (!tryFile(searchEntry, true) || searchEntry !== CWD && !searchEntry.startsWith(CWD + path2.sep)) {
|
|
286
|
-
return "";
|
|
287
|
-
}
|
|
288
|
-
searchEntry = path2.resolve(fs2.statSync(searchEntry).isDirectory() ? searchEntry : path2.resolve(searchEntry, ".."));
|
|
289
285
|
const isSearchFile = typeof searchFileOrIncludeDir === "string";
|
|
290
286
|
const searchFile = isSearchFile ? searchFileOrIncludeDir : "package.json";
|
|
287
|
+
let lastSearchEntry;
|
|
291
288
|
do {
|
|
292
|
-
const searched = tryFile(
|
|
289
|
+
const searched = tryFile(searchFile, isSearchFile && includeDir, searchEntry);
|
|
293
290
|
if (searched) {
|
|
294
291
|
return searched;
|
|
295
292
|
}
|
|
296
|
-
|
|
297
|
-
|
|
293
|
+
lastSearchEntry = searchEntry;
|
|
294
|
+
searchEntry = path2.dirname(searchEntry);
|
|
295
|
+
} while (!lastSearchEntry || lastSearchEntry !== searchEntry);
|
|
298
296
|
return "";
|
|
299
297
|
};
|
|
300
298
|
|
|
301
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
302
|
-
var isFile = (
|
|
299
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/helpers.js
|
|
300
|
+
var isFile = (path8) => {
|
|
303
301
|
try {
|
|
304
|
-
return !!fs3.statSync(
|
|
302
|
+
return !!fs3.statSync(path8, { throwIfNoEntry: false })?.isFile();
|
|
305
303
|
} catch {
|
|
306
304
|
return false;
|
|
307
305
|
}
|
|
@@ -592,11 +590,13 @@ function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = D
|
|
|
592
590
|
port.postMessage(abortMsg);
|
|
593
591
|
throw new Error("Internal error: Atomics.wait() failed: " + status);
|
|
594
592
|
}
|
|
595
|
-
const
|
|
596
|
-
|
|
593
|
+
const result = receiveMessageOnPort(mainPort);
|
|
594
|
+
const msg = result?.message;
|
|
595
|
+
if (msg?.id == null || msg.id < expectedId) {
|
|
597
596
|
const waitingTime = Date.now() - start;
|
|
598
597
|
return receiveMessageWithId(port, expectedId, waitingTimeout ? waitingTimeout - waitingTime : void 0);
|
|
599
598
|
}
|
|
599
|
+
const { id, ...message } = msg;
|
|
600
600
|
if (expectedId !== id) {
|
|
601
601
|
throw new Error(`Internal error: Expected id ${expectedId} but got id ${id}`);
|
|
602
602
|
}
|
|
@@ -619,7 +619,7 @@ function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = D
|
|
|
619
619
|
return syncFn;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
622
|
+
// ../../node_modules/.pnpm/synckit@0.11.8/node_modules/synckit/lib/index.js
|
|
623
623
|
var syncFnCache;
|
|
624
624
|
function createSyncFn(workerPath, timeoutOrOptions) {
|
|
625
625
|
syncFnCache ?? (syncFnCache = /* @__PURE__ */ new Map());
|
|
@@ -638,10 +638,10 @@ function createSyncFn(workerPath, timeoutOrOptions) {
|
|
|
638
638
|
return syncFn;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
641
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js
|
|
642
642
|
var performSyncWork = createSyncFn(cjsRequire.resolve("./worker.js"));
|
|
643
643
|
|
|
644
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.
|
|
644
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
645
645
|
var DEFAULT_EXTENSIONS = [".mdx"];
|
|
646
646
|
var MARKDOWN_EXTENSIONS = [".md"];
|
|
647
647
|
var Parser = class {
|
|
@@ -700,7 +700,7 @@ var Parser = class {
|
|
|
700
700
|
var parser = new Parser();
|
|
701
701
|
var { parse, parseForESLint } = parser;
|
|
702
702
|
|
|
703
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
703
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js
|
|
704
704
|
var flat = {
|
|
705
705
|
files: ["**/*.{md,mdx}"],
|
|
706
706
|
languageOptions: {
|
|
@@ -729,15 +729,15 @@ var flatCodeBlocks = {
|
|
|
729
729
|
...restConfig
|
|
730
730
|
};
|
|
731
731
|
|
|
732
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
732
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js
|
|
733
733
|
import { createRequire as createRequire3 } from "module";
|
|
734
734
|
var getGlobals = (sources, initialGlobals = {}) => (Array.isArray(sources) ? sources : Object.keys(sources)).reduce((globals, source) => Object.assign(globals, {
|
|
735
735
|
[source]: false
|
|
736
736
|
}), initialGlobals);
|
|
737
|
-
var
|
|
738
|
-
var cjsRequire3 =
|
|
737
|
+
var importMetaUrl3 = import.meta.url;
|
|
738
|
+
var cjsRequire3 = importMetaUrl3 ? createRequire3(importMetaUrl3) : __require;
|
|
739
739
|
|
|
740
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
740
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js
|
|
741
741
|
var isReactPluginAvailable = false;
|
|
742
742
|
try {
|
|
743
743
|
cjsRequire3.resolve("eslint-plugin-react");
|
|
@@ -761,7 +761,7 @@ var overrides = {
|
|
|
761
761
|
}
|
|
762
762
|
};
|
|
763
763
|
|
|
764
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
764
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js
|
|
765
765
|
var overrides2 = [
|
|
766
766
|
{
|
|
767
767
|
files: ["*.md", "*.mdx"],
|
|
@@ -811,7 +811,7 @@ var addPrettierRules = () => {
|
|
|
811
811
|
};
|
|
812
812
|
addPrettierRules();
|
|
813
813
|
|
|
814
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
814
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js
|
|
815
815
|
var configs = {
|
|
816
816
|
base,
|
|
817
817
|
"code-blocks": codeBlocks,
|
|
@@ -822,11 +822,11 @@ var configs = {
|
|
|
822
822
|
recommended
|
|
823
823
|
};
|
|
824
824
|
|
|
825
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
825
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js
|
|
826
826
|
var pkg2 = cjsRequire3("../package.json");
|
|
827
827
|
var meta2 = { name: pkg2.name, version: pkg2.version };
|
|
828
828
|
|
|
829
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
829
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js
|
|
830
830
|
var DEFAULT_LANGUAGE_MAPPER = {
|
|
831
831
|
ecmascript: "js",
|
|
832
832
|
javascript: "js",
|
|
@@ -853,10 +853,9 @@ function getShortLang(filename, languageMapper) {
|
|
|
853
853
|
return languageMapper[lang] || lang;
|
|
854
854
|
}
|
|
855
855
|
|
|
856
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
856
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
857
|
+
import fs4 from "fs";
|
|
858
|
+
import path6 from "path";
|
|
860
859
|
var UNSATISFIABLE_RULES = /* @__PURE__ */ new Set([
|
|
861
860
|
"eol-last",
|
|
862
861
|
"unicode-bom"
|
|
@@ -941,9 +940,26 @@ var codeBlockFileNameRegex = /filename=(?<quote>["'])(?<filename>.*?)\k<quote>/u
|
|
|
941
940
|
function fileNameFromMeta(block) {
|
|
942
941
|
return codeBlockFileNameRegex.exec(block.meta)?.groups.filename.replaceAll(/\s+/gu, "_");
|
|
943
942
|
}
|
|
943
|
+
function getOnDiskFilepath(filepath) {
|
|
944
|
+
let fallback;
|
|
945
|
+
try {
|
|
946
|
+
if (!fs4.statSync(filepath, { throwIfNoEntry: false })) {
|
|
947
|
+
fallback = true;
|
|
948
|
+
}
|
|
949
|
+
} catch (err) {
|
|
950
|
+
if (err.code === "ENOTDIR") {
|
|
951
|
+
fallback = true;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
return fallback ? getOnDiskFilepath(path6.dirname(filepath)) : filepath;
|
|
955
|
+
}
|
|
944
956
|
function preprocess(sourceText, filename) {
|
|
945
957
|
const text = sourceText.startsWith(BOM) ? sourceText.slice(1) : sourceText;
|
|
946
|
-
const
|
|
958
|
+
const { root } = performSyncWork({
|
|
959
|
+
filePath: getOnDiskFilepath(filename),
|
|
960
|
+
code: text,
|
|
961
|
+
isMdx: filename.endsWith(".mdx")
|
|
962
|
+
});
|
|
947
963
|
const blocks = [];
|
|
948
964
|
blocksCache.set(filename, blocks);
|
|
949
965
|
let allComments = [];
|
|
@@ -955,7 +971,7 @@ function preprocess(sourceText, filename) {
|
|
|
955
971
|
allComments = [];
|
|
956
972
|
}
|
|
957
973
|
}
|
|
958
|
-
traverse(
|
|
974
|
+
traverse(root, {
|
|
959
975
|
"*"() {
|
|
960
976
|
allComments = [];
|
|
961
977
|
},
|
|
@@ -1067,9 +1083,9 @@ var markdownProcessor = {
|
|
|
1067
1083
|
supportsAutofix: SUPPORTS_AUTOFIX
|
|
1068
1084
|
};
|
|
1069
1085
|
|
|
1070
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1086
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js
|
|
1071
1087
|
var processorOptions = {};
|
|
1072
|
-
var linterPath = Object.keys(cjsRequire3.cache).find((
|
|
1088
|
+
var linterPath = Object.keys(cjsRequire3.cache).find((path8) => /([/\\])eslint\1lib(?:\1linter){2}\.js$/.test(path8));
|
|
1073
1089
|
if (!linterPath) {
|
|
1074
1090
|
throw new Error("Could not find ESLint Linter in require cache");
|
|
1075
1091
|
}
|
|
@@ -1082,7 +1098,7 @@ ESLinter.prototype.verify = function(code, config, options) {
|
|
|
1082
1098
|
return verify.call(this, code, config, options);
|
|
1083
1099
|
};
|
|
1084
1100
|
|
|
1085
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1101
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js
|
|
1086
1102
|
var createRemarkProcessor = (processorOptions2 = processorOptions) => ({
|
|
1087
1103
|
meta: {
|
|
1088
1104
|
name: "mdx/remark",
|
|
@@ -1122,11 +1138,11 @@ var createRemarkProcessor = (processorOptions2 = processorOptions) => ({
|
|
|
1122
1138
|
});
|
|
1123
1139
|
var remark = createRemarkProcessor();
|
|
1124
1140
|
|
|
1125
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1141
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js
|
|
1126
1142
|
var processors = { remark };
|
|
1127
1143
|
|
|
1128
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1129
|
-
import
|
|
1144
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js
|
|
1145
|
+
import path7 from "path";
|
|
1130
1146
|
var remark2 = {
|
|
1131
1147
|
meta: {
|
|
1132
1148
|
type: "layout",
|
|
@@ -1139,7 +1155,7 @@ var remark2 = {
|
|
|
1139
1155
|
},
|
|
1140
1156
|
create(context) {
|
|
1141
1157
|
const filename = context.getFilename();
|
|
1142
|
-
const extname =
|
|
1158
|
+
const extname = path7.extname(filename);
|
|
1143
1159
|
const sourceCode = context.getSourceCode();
|
|
1144
1160
|
const options = context.parserOptions;
|
|
1145
1161
|
const isMdx = [
|
|
@@ -1200,7 +1216,7 @@ var remark2 = {
|
|
|
1200
1216
|
}
|
|
1201
1217
|
};
|
|
1202
1218
|
|
|
1203
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.
|
|
1219
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.5.0_eslint@9.29.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js
|
|
1204
1220
|
var rules = { remark: remark2 };
|
|
1205
1221
|
export {
|
|
1206
1222
|
DEFAULT_LANGUAGE_MAPPER,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"description": "icebreakers's eslint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@antfu/eslint-config": "4.
|
|
44
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
43
|
+
"@antfu/eslint-config": "4.15.0",
|
|
44
|
+
"@eslint-react/eslint-plugin": "^1.52.2",
|
|
45
45
|
"eslint-plugin-format": "1.0.1",
|
|
46
46
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
47
47
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@unocss/eslint-plugin": "66.
|
|
54
|
-
"eslint-plugin-mdx": "3.
|
|
53
|
+
"@unocss/eslint-plugin": "66.2.3",
|
|
54
|
+
"eslint-plugin-mdx": "3.5.0"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public",
|