@slidev/cli 0.28.7 → 0.28.10
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 +2 -2
- package/dist/{build-SDBHBRMF.mjs → build-SSE6CJNH.mjs} +3 -3
- package/dist/{build-DBBNRLZC.js → build-VQ6LBTZA.js} +11 -11
- package/dist/{chunk-IMHRVD6I.js → chunk-27R37BMF.js} +189 -153
- package/dist/{chunk-VIIDVLUI.js → chunk-2SSJRGTD.js} +4 -4
- package/dist/{chunk-KKDVTP42.mjs → chunk-2TR76FQE.mjs} +72 -36
- package/dist/{chunk-2IUA7VOF.js → chunk-427KVGZF.js} +74 -66
- package/dist/{chunk-QT3EQ43A.js → chunk-7QXPSYEZ.js} +2 -2
- package/dist/{chunk-ARIEVK2P.mjs → chunk-FOVZ2FGH.mjs} +21 -13
- package/dist/{chunk-EY6W34PM.mjs → chunk-OIWGD2TC.mjs} +2 -2
- package/dist/{chunk-4OPORETI.mjs → chunk-VYBQLH2X.mjs} +2 -2
- package/dist/cli.js +25 -25
- package/dist/cli.mjs +6 -6
- package/dist/{export-RYMKJRRP.mjs → export-C3RVIEF4.mjs} +2 -2
- package/dist/{export-K6LZ37II.js → export-ZRXUVXEE.js} +5 -5
- package/dist/index.js +7 -7
- package/dist/index.mjs +4 -4
- package/package.json +22 -22
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7QXPSYEZjs = require('./chunk-7QXPSYEZ.js');
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js
|
|
13
|
-
var require_constants =
|
|
13
|
+
var require_constants = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
14
14
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js"(exports, module) {
|
|
15
|
-
|
|
15
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
16
16
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
17
17
|
var MAX_LENGTH = 256;
|
|
18
18
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -27,9 +27,9 @@ var require_constants = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js
|
|
30
|
-
var require_debug =
|
|
30
|
+
var require_debug = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
31
31
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js"(exports, module) {
|
|
32
|
-
|
|
32
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
33
33
|
var debug2 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
34
34
|
};
|
|
35
35
|
module.exports = debug2;
|
|
@@ -37,9 +37,9 @@ var require_debug = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js
|
|
40
|
-
var require_re =
|
|
40
|
+
var require_re = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
41
41
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js"(exports, module) {
|
|
42
|
-
|
|
42
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
43
43
|
var { MAX_SAFE_COMPONENT_LENGTH } = require_constants();
|
|
44
44
|
var debug2 = require_debug();
|
|
45
45
|
exports = module.exports = {};
|
|
@@ -101,9 +101,9 @@ var require_re = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
101
101
|
});
|
|
102
102
|
|
|
103
103
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js
|
|
104
|
-
var require_parse_options =
|
|
104
|
+
var require_parse_options = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
105
105
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
106
|
-
|
|
106
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
107
107
|
var opts = ["includePrerelease", "loose", "rtl"];
|
|
108
108
|
var parseOptions = (options) => !options ? {} : typeof options !== "object" ? { loose: true } : opts.filter((k) => options[k]).reduce((options2, k) => {
|
|
109
109
|
options2[k] = true;
|
|
@@ -114,9 +114,9 @@ var require_parse_options = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
114
114
|
});
|
|
115
115
|
|
|
116
116
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js
|
|
117
|
-
var require_identifiers =
|
|
117
|
+
var require_identifiers = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
118
118
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
119
|
-
|
|
119
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
120
120
|
var numeric = /^[0-9]+$/;
|
|
121
121
|
var compareIdentifiers = (a, b) => {
|
|
122
122
|
const anum = numeric.test(a);
|
|
@@ -136,9 +136,9 @@ var require_identifiers = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
136
136
|
});
|
|
137
137
|
|
|
138
138
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js
|
|
139
|
-
var require_semver =
|
|
139
|
+
var require_semver = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
140
140
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js"(exports, module) {
|
|
141
|
-
|
|
141
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
142
142
|
var debug2 = require_debug();
|
|
143
143
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
144
144
|
var { re, t } = require_re();
|
|
@@ -361,9 +361,9 @@ var require_semver = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
361
361
|
});
|
|
362
362
|
|
|
363
363
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js
|
|
364
|
-
var require_parse2 =
|
|
364
|
+
var require_parse2 = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
365
365
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js"(exports, module) {
|
|
366
|
-
|
|
366
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
367
367
|
var { MAX_LENGTH } = require_constants();
|
|
368
368
|
var { re, t } = require_re();
|
|
369
369
|
var SemVer = require_semver();
|
|
@@ -394,9 +394,9 @@ var require_parse2 = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
394
394
|
});
|
|
395
395
|
|
|
396
396
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js
|
|
397
|
-
var require_valid =
|
|
397
|
+
var require_valid = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
398
398
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js"(exports, module) {
|
|
399
|
-
|
|
399
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
400
400
|
var parse2 = require_parse2();
|
|
401
401
|
var valid = (version3, options) => {
|
|
402
402
|
const v = parse2(version3, options);
|
|
@@ -407,9 +407,9 @@ var require_valid = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
407
407
|
});
|
|
408
408
|
|
|
409
409
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js
|
|
410
|
-
var require_clean =
|
|
410
|
+
var require_clean = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
411
411
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js"(exports, module) {
|
|
412
|
-
|
|
412
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
413
413
|
var parse2 = require_parse2();
|
|
414
414
|
var clean = (version3, options) => {
|
|
415
415
|
const s = parse2(version3.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -420,9 +420,9 @@ var require_clean = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
420
420
|
});
|
|
421
421
|
|
|
422
422
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js
|
|
423
|
-
var require_inc =
|
|
423
|
+
var require_inc = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
424
424
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js"(exports, module) {
|
|
425
|
-
|
|
425
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
426
426
|
var SemVer = require_semver();
|
|
427
427
|
var inc = (version3, release, options, identifier) => {
|
|
428
428
|
if (typeof options === "string") {
|
|
@@ -440,9 +440,9 @@ var require_inc = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
440
440
|
});
|
|
441
441
|
|
|
442
442
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js
|
|
443
|
-
var require_compare =
|
|
443
|
+
var require_compare = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
444
444
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js"(exports, module) {
|
|
445
|
-
|
|
445
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
446
446
|
var SemVer = require_semver();
|
|
447
447
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
448
448
|
module.exports = compare;
|
|
@@ -450,9 +450,9 @@ var require_compare = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
450
450
|
});
|
|
451
451
|
|
|
452
452
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js
|
|
453
|
-
var require_eq =
|
|
453
|
+
var require_eq = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
454
454
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js"(exports, module) {
|
|
455
|
-
|
|
455
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
456
456
|
var compare = require_compare();
|
|
457
457
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
458
458
|
module.exports = eq;
|
|
@@ -460,9 +460,9 @@ var require_eq = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
460
460
|
});
|
|
461
461
|
|
|
462
462
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js
|
|
463
|
-
var require_diff =
|
|
463
|
+
var require_diff = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
464
464
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js"(exports, module) {
|
|
465
|
-
|
|
465
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
466
466
|
var parse2 = require_parse2();
|
|
467
467
|
var eq = require_eq();
|
|
468
468
|
var diff = (version1, version22) => {
|
|
@@ -489,9 +489,9 @@ var require_diff = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
489
489
|
});
|
|
490
490
|
|
|
491
491
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js
|
|
492
|
-
var require_major =
|
|
492
|
+
var require_major = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
493
493
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js"(exports, module) {
|
|
494
|
-
|
|
494
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
495
495
|
var SemVer = require_semver();
|
|
496
496
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
497
497
|
module.exports = major;
|
|
@@ -499,9 +499,9 @@ var require_major = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
499
499
|
});
|
|
500
500
|
|
|
501
501
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js
|
|
502
|
-
var require_minor =
|
|
502
|
+
var require_minor = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
503
503
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js"(exports, module) {
|
|
504
|
-
|
|
504
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
505
505
|
var SemVer = require_semver();
|
|
506
506
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
507
507
|
module.exports = minor;
|
|
@@ -509,9 +509,9 @@ var require_minor = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
509
509
|
});
|
|
510
510
|
|
|
511
511
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js
|
|
512
|
-
var require_patch =
|
|
512
|
+
var require_patch = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
513
513
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js"(exports, module) {
|
|
514
|
-
|
|
514
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
515
515
|
var SemVer = require_semver();
|
|
516
516
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
517
517
|
module.exports = patch;
|
|
@@ -519,9 +519,9 @@ var require_patch = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
519
519
|
});
|
|
520
520
|
|
|
521
521
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js
|
|
522
|
-
var require_prerelease =
|
|
522
|
+
var require_prerelease = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
523
523
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
524
|
-
|
|
524
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
525
525
|
var parse2 = require_parse2();
|
|
526
526
|
var prerelease = (version3, options) => {
|
|
527
527
|
const parsed = parse2(version3, options);
|
|
@@ -532,9 +532,9 @@ var require_prerelease = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
532
532
|
});
|
|
533
533
|
|
|
534
534
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js
|
|
535
|
-
var require_rcompare =
|
|
535
|
+
var require_rcompare = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
536
536
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
537
|
-
|
|
537
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
538
538
|
var compare = require_compare();
|
|
539
539
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
540
540
|
module.exports = rcompare;
|
|
@@ -542,9 +542,9 @@ var require_rcompare = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
542
542
|
});
|
|
543
543
|
|
|
544
544
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js
|
|
545
|
-
var require_compare_loose =
|
|
545
|
+
var require_compare_loose = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
546
546
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
547
|
-
|
|
547
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
548
548
|
var compare = require_compare();
|
|
549
549
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
550
550
|
module.exports = compareLoose;
|
|
@@ -552,9 +552,9 @@ var require_compare_loose = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
552
552
|
});
|
|
553
553
|
|
|
554
554
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js
|
|
555
|
-
var require_compare_build =
|
|
555
|
+
var require_compare_build = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
556
556
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
557
|
-
|
|
557
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
558
558
|
var SemVer = require_semver();
|
|
559
559
|
var compareBuild = (a, b, loose) => {
|
|
560
560
|
const versionA = new SemVer(a, loose);
|
|
@@ -566,9 +566,9 @@ var require_compare_build = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
566
566
|
});
|
|
567
567
|
|
|
568
568
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js
|
|
569
|
-
var require_sort =
|
|
569
|
+
var require_sort = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
570
570
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js"(exports, module) {
|
|
571
|
-
|
|
571
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
572
572
|
var compareBuild = require_compare_build();
|
|
573
573
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
574
574
|
module.exports = sort;
|
|
@@ -576,9 +576,9 @@ var require_sort = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
576
576
|
});
|
|
577
577
|
|
|
578
578
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js
|
|
579
|
-
var require_rsort =
|
|
579
|
+
var require_rsort = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
580
580
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
581
|
-
|
|
581
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
582
582
|
var compareBuild = require_compare_build();
|
|
583
583
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
584
584
|
module.exports = rsort;
|
|
@@ -586,9 +586,9 @@ var require_rsort = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
586
586
|
});
|
|
587
587
|
|
|
588
588
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js
|
|
589
|
-
var require_gt =
|
|
589
|
+
var require_gt = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
590
590
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js"(exports, module) {
|
|
591
|
-
|
|
591
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
592
592
|
var compare = require_compare();
|
|
593
593
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
594
594
|
module.exports = gt;
|
|
@@ -596,9 +596,9 @@ var require_gt = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
596
596
|
});
|
|
597
597
|
|
|
598
598
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js
|
|
599
|
-
var require_lt =
|
|
599
|
+
var require_lt = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
600
600
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js"(exports, module) {
|
|
601
|
-
|
|
601
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
602
602
|
var compare = require_compare();
|
|
603
603
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
604
604
|
module.exports = lt;
|
|
@@ -606,9 +606,9 @@ var require_lt = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
606
606
|
});
|
|
607
607
|
|
|
608
608
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js
|
|
609
|
-
var require_neq =
|
|
609
|
+
var require_neq = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
610
610
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js"(exports, module) {
|
|
611
|
-
|
|
611
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
612
612
|
var compare = require_compare();
|
|
613
613
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
614
614
|
module.exports = neq;
|
|
@@ -616,9 +616,9 @@ var require_neq = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
616
616
|
});
|
|
617
617
|
|
|
618
618
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js
|
|
619
|
-
var require_gte =
|
|
619
|
+
var require_gte = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
620
620
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js"(exports, module) {
|
|
621
|
-
|
|
621
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
622
622
|
var compare = require_compare();
|
|
623
623
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
624
624
|
module.exports = gte;
|
|
@@ -626,9 +626,9 @@ var require_gte = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
626
626
|
});
|
|
627
627
|
|
|
628
628
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js
|
|
629
|
-
var require_lte =
|
|
629
|
+
var require_lte = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
630
630
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js"(exports, module) {
|
|
631
|
-
|
|
631
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
632
632
|
var compare = require_compare();
|
|
633
633
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
634
634
|
module.exports = lte;
|
|
@@ -636,9 +636,9 @@ var require_lte = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
636
636
|
});
|
|
637
637
|
|
|
638
638
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js
|
|
639
|
-
var require_cmp =
|
|
639
|
+
var require_cmp = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
640
640
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
641
|
-
|
|
641
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
642
642
|
var eq = require_eq();
|
|
643
643
|
var neq = require_neq();
|
|
644
644
|
var gt = require_gt();
|
|
@@ -682,9 +682,9 @@ var require_cmp = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
682
682
|
});
|
|
683
683
|
|
|
684
684
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js
|
|
685
|
-
var require_coerce =
|
|
685
|
+
var require_coerce = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
686
686
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
687
|
-
|
|
687
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
688
688
|
var SemVer = require_semver();
|
|
689
689
|
var parse2 = require_parse2();
|
|
690
690
|
var { re, t } = require_re();
|
|
@@ -721,10 +721,10 @@ var require_coerce = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
721
721
|
});
|
|
722
722
|
|
|
723
723
|
// ../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js
|
|
724
|
-
var require_iterator =
|
|
724
|
+
var require_iterator = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
725
725
|
"../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js"(exports, module) {
|
|
726
726
|
"use strict";
|
|
727
|
-
|
|
727
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
728
728
|
module.exports = function(Yallist) {
|
|
729
729
|
Yallist.prototype[Symbol.iterator] = function* () {
|
|
730
730
|
for (let walker = this.head; walker; walker = walker.next) {
|
|
@@ -736,10 +736,10 @@ var require_iterator = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
736
736
|
});
|
|
737
737
|
|
|
738
738
|
// ../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js
|
|
739
|
-
var require_yallist =
|
|
739
|
+
var require_yallist = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
740
740
|
"../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports, module) {
|
|
741
741
|
"use strict";
|
|
742
|
-
|
|
742
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
743
743
|
module.exports = Yallist;
|
|
744
744
|
Yallist.Node = Node;
|
|
745
745
|
Yallist.create = Yallist;
|
|
@@ -1106,10 +1106,10 @@ var require_yallist = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1106
1106
|
});
|
|
1107
1107
|
|
|
1108
1108
|
// ../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js
|
|
1109
|
-
var require_lru_cache =
|
|
1109
|
+
var require_lru_cache = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1110
1110
|
"../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"(exports, module) {
|
|
1111
1111
|
"use strict";
|
|
1112
|
-
|
|
1112
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1113
1113
|
var Yallist = require_yallist();
|
|
1114
1114
|
var MAX = Symbol("max");
|
|
1115
1115
|
var LENGTH = Symbol("length");
|
|
@@ -1375,9 +1375,9 @@ var require_lru_cache = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1375
1375
|
});
|
|
1376
1376
|
|
|
1377
1377
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js
|
|
1378
|
-
var require_range =
|
|
1378
|
+
var require_range = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1379
1379
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js"(exports, module) {
|
|
1380
|
-
|
|
1380
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1381
1381
|
var Range = class {
|
|
1382
1382
|
constructor(range2, options) {
|
|
1383
1383
|
options = parseOptions(options);
|
|
@@ -1725,9 +1725,9 @@ var require_range = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1725
1725
|
});
|
|
1726
1726
|
|
|
1727
1727
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js
|
|
1728
|
-
var require_comparator =
|
|
1728
|
+
var require_comparator = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1729
1729
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
1730
|
-
|
|
1730
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1731
1731
|
var ANY = Symbol("SemVer ANY");
|
|
1732
1732
|
var Comparator = class {
|
|
1733
1733
|
static get ANY() {
|
|
@@ -1827,9 +1827,9 @@ var require_comparator = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1827
1827
|
});
|
|
1828
1828
|
|
|
1829
1829
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js
|
|
1830
|
-
var require_satisfies =
|
|
1830
|
+
var require_satisfies = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1831
1831
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
1832
|
-
|
|
1832
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1833
1833
|
var Range = require_range();
|
|
1834
1834
|
var satisfies2 = (version3, range2, options) => {
|
|
1835
1835
|
try {
|
|
@@ -1844,9 +1844,9 @@ var require_satisfies = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1844
1844
|
});
|
|
1845
1845
|
|
|
1846
1846
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js
|
|
1847
|
-
var require_to_comparators =
|
|
1847
|
+
var require_to_comparators = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1848
1848
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
1849
|
-
|
|
1849
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1850
1850
|
var Range = require_range();
|
|
1851
1851
|
var toComparators = (range2, options) => new Range(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1852
1852
|
module.exports = toComparators;
|
|
@@ -1854,9 +1854,9 @@ var require_to_comparators = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1854
1854
|
});
|
|
1855
1855
|
|
|
1856
1856
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js
|
|
1857
|
-
var require_max_satisfying =
|
|
1857
|
+
var require_max_satisfying = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1858
1858
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
1859
|
-
|
|
1859
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1860
1860
|
var SemVer = require_semver();
|
|
1861
1861
|
var Range = require_range();
|
|
1862
1862
|
var maxSatisfying = (versions, range2, options) => {
|
|
@@ -1883,9 +1883,9 @@ var require_max_satisfying = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1883
1883
|
});
|
|
1884
1884
|
|
|
1885
1885
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js
|
|
1886
|
-
var require_min_satisfying =
|
|
1886
|
+
var require_min_satisfying = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1887
1887
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
1888
|
-
|
|
1888
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1889
1889
|
var SemVer = require_semver();
|
|
1890
1890
|
var Range = require_range();
|
|
1891
1891
|
var minSatisfying = (versions, range2, options) => {
|
|
@@ -1912,9 +1912,9 @@ var require_min_satisfying = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1912
1912
|
});
|
|
1913
1913
|
|
|
1914
1914
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js
|
|
1915
|
-
var require_min_version =
|
|
1915
|
+
var require_min_version = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1916
1916
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
1917
|
-
|
|
1917
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1918
1918
|
var SemVer = require_semver();
|
|
1919
1919
|
var Range = require_range();
|
|
1920
1920
|
var gt = require_gt();
|
|
@@ -1968,9 +1968,9 @@ var require_min_version = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1968
1968
|
});
|
|
1969
1969
|
|
|
1970
1970
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js
|
|
1971
|
-
var require_valid2 =
|
|
1971
|
+
var require_valid2 = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1972
1972
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
1973
|
-
|
|
1973
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1974
1974
|
var Range = require_range();
|
|
1975
1975
|
var validRange = (range2, options) => {
|
|
1976
1976
|
try {
|
|
@@ -1984,9 +1984,9 @@ var require_valid2 = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
1984
1984
|
});
|
|
1985
1985
|
|
|
1986
1986
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js
|
|
1987
|
-
var require_outside =
|
|
1987
|
+
var require_outside = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
1988
1988
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
1989
|
-
|
|
1989
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
1990
1990
|
var SemVer = require_semver();
|
|
1991
1991
|
var Comparator = require_comparator();
|
|
1992
1992
|
var { ANY } = Comparator;
|
|
@@ -2053,9 +2053,9 @@ var require_outside = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2053
2053
|
});
|
|
2054
2054
|
|
|
2055
2055
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js
|
|
2056
|
-
var require_gtr =
|
|
2056
|
+
var require_gtr = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
2057
2057
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
2058
|
-
|
|
2058
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2059
2059
|
var outside = require_outside();
|
|
2060
2060
|
var gtr = (version3, range2, options) => outside(version3, range2, ">", options);
|
|
2061
2061
|
module.exports = gtr;
|
|
@@ -2063,9 +2063,9 @@ var require_gtr = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2063
2063
|
});
|
|
2064
2064
|
|
|
2065
2065
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js
|
|
2066
|
-
var require_ltr =
|
|
2066
|
+
var require_ltr = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
2067
2067
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
2068
|
-
|
|
2068
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2069
2069
|
var outside = require_outside();
|
|
2070
2070
|
var ltr = (version3, range2, options) => outside(version3, range2, "<", options);
|
|
2071
2071
|
module.exports = ltr;
|
|
@@ -2073,9 +2073,9 @@ var require_ltr = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2073
2073
|
});
|
|
2074
2074
|
|
|
2075
2075
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js
|
|
2076
|
-
var require_intersects =
|
|
2076
|
+
var require_intersects = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
2077
2077
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
2078
|
-
|
|
2078
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2079
2079
|
var Range = require_range();
|
|
2080
2080
|
var intersects = (r1, r2, options) => {
|
|
2081
2081
|
r1 = new Range(r1, options);
|
|
@@ -2087,9 +2087,9 @@ var require_intersects = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2087
2087
|
});
|
|
2088
2088
|
|
|
2089
2089
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js
|
|
2090
|
-
var require_simplify =
|
|
2090
|
+
var require_simplify = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
2091
2091
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
2092
|
-
|
|
2092
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2093
2093
|
var satisfies2 = require_satisfies();
|
|
2094
2094
|
var compare = require_compare();
|
|
2095
2095
|
module.exports = (versions, range2, options) => {
|
|
@@ -2134,9 +2134,9 @@ var require_simplify = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2134
2134
|
});
|
|
2135
2135
|
|
|
2136
2136
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js
|
|
2137
|
-
var require_subset =
|
|
2137
|
+
var require_subset = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
2138
2138
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
2139
|
-
|
|
2139
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2140
2140
|
var Range = require_range();
|
|
2141
2141
|
var Comparator = require_comparator();
|
|
2142
2142
|
var { ANY } = Comparator;
|
|
@@ -2273,9 +2273,9 @@ var require_subset = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2273
2273
|
});
|
|
2274
2274
|
|
|
2275
2275
|
// ../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js
|
|
2276
|
-
var require_semver2 =
|
|
2276
|
+
var require_semver2 = _chunk7QXPSYEZjs.__commonJS.call(void 0, {
|
|
2277
2277
|
"../../node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js"(exports, module) {
|
|
2278
|
-
|
|
2278
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2279
2279
|
var internalRe = require_re();
|
|
2280
2280
|
module.exports = {
|
|
2281
2281
|
re: internalRe.re,
|
|
@@ -2328,7 +2328,7 @@ var require_semver2 = _chunkQT3EQ43Ajs.__commonJS.call(void 0, {
|
|
|
2328
2328
|
|
|
2329
2329
|
// ../parser/src/fs.ts
|
|
2330
2330
|
var fs_exports = {};
|
|
2331
|
-
|
|
2331
|
+
_chunk7QXPSYEZjs.__export.call(void 0, fs_exports, {
|
|
2332
2332
|
detectFeatures: () => detectFeatures,
|
|
2333
2333
|
filterDisabled: () => filterDisabled,
|
|
2334
2334
|
load: () => load2,
|
|
@@ -2347,16 +2347,16 @@ _chunkQT3EQ43Ajs.__export.call(void 0, fs_exports, {
|
|
|
2347
2347
|
stringify: () => stringify,
|
|
2348
2348
|
stringifySlide: () => stringifySlide
|
|
2349
2349
|
});
|
|
2350
|
-
|
|
2350
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2351
2351
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
2352
2352
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
2353
2353
|
var _markdownit = require('markdown-it'); var _markdownit2 = _interopRequireDefault(_markdownit);
|
|
2354
2354
|
|
|
2355
2355
|
// ../parser/src/core.ts
|
|
2356
|
-
|
|
2356
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2357
2357
|
|
|
2358
2358
|
// ../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs
|
|
2359
|
-
|
|
2359
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
2360
2360
|
function isNothing(subject) {
|
|
2361
2361
|
return typeof subject === "undefined" || subject === null;
|
|
2362
2362
|
}
|
|
@@ -5011,11 +5011,11 @@ var js_yaml_default = jsYaml;
|
|
|
5011
5011
|
var _utils = require('@antfu/utils');
|
|
5012
5012
|
|
|
5013
5013
|
// ../parser/src/config.ts
|
|
5014
|
-
|
|
5014
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
5015
5015
|
|
|
5016
5016
|
|
|
5017
5017
|
// ../parser/src/utils.ts
|
|
5018
|
-
|
|
5018
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
5019
5019
|
|
|
5020
5020
|
function parseRangeString(total, rangeStr) {
|
|
5021
5021
|
if (!rangeStr || rangeStr === "all" || rangeStr === "*")
|
|
@@ -5070,8 +5070,8 @@ function resolveConfig(headmatter, themeMeta = {}) {
|
|
|
5070
5070
|
drawings: {},
|
|
5071
5071
|
plantUmlServer: "https://www.plantuml.com/plantuml"
|
|
5072
5072
|
};
|
|
5073
|
-
const config2 =
|
|
5074
|
-
fonts: resolveFonts(
|
|
5073
|
+
const config2 = _chunk7QXPSYEZjs.__spreadProps.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, {}, defaultConfig2), themeMeta.defaults), headmatter.config), headmatter), {
|
|
5074
|
+
fonts: resolveFonts(_chunk7QXPSYEZjs.__spreadValues.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, {}, (_a = themeMeta.defaults) == null ? void 0 : _a.fonts), (_b = headmatter.config) == null ? void 0 : _b.fonts), headmatter == null ? void 0 : headmatter.fonts)),
|
|
5075
5075
|
drawings: resolveDarwings(headmatter.drawings)
|
|
5076
5076
|
});
|
|
5077
5077
|
if (config2.colorSchema !== "dark" && config2.colorSchema !== "light")
|
|
@@ -5271,7 +5271,7 @@ function parse(markdown, filepath, themeMeta) {
|
|
|
5271
5271
|
if (start === end)
|
|
5272
5272
|
return;
|
|
5273
5273
|
const raw = lines.slice(start, end).join("\n");
|
|
5274
|
-
slides.push(
|
|
5274
|
+
slides.push(_chunk7QXPSYEZjs.__spreadProps.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, {}, parseSlide(raw)), {
|
|
5275
5275
|
index: slides.length,
|
|
5276
5276
|
start,
|
|
5277
5277
|
end
|
|
@@ -5346,13 +5346,13 @@ async function load2(filepath, themeMeta, content) {
|
|
|
5346
5346
|
const path3 = _path.resolve.call(void 0, dir, slide.frontmatter.src);
|
|
5347
5347
|
const raw = await _fs.promises.readFile(path3, "utf-8");
|
|
5348
5348
|
const source = parseSlide(raw);
|
|
5349
|
-
const inline =
|
|
5350
|
-
slide.source =
|
|
5349
|
+
const inline = _chunk7QXPSYEZjs.__spreadValues.call(void 0, {}, slide);
|
|
5350
|
+
slide.source = _chunk7QXPSYEZjs.__spreadValues.call(void 0, {
|
|
5351
5351
|
filepath: path3
|
|
5352
5352
|
}, source);
|
|
5353
5353
|
slide.inline = inline;
|
|
5354
5354
|
Object.assign(slide, slide.source);
|
|
5355
|
-
slide.frontmatter =
|
|
5355
|
+
slide.frontmatter = _chunk7QXPSYEZjs.__spreadValues.call(void 0, _chunk7QXPSYEZjs.__spreadValues.call(void 0, {}, slide.source.frontmatter), inline.frontmatter);
|
|
5356
5356
|
data.features = mergeFeatureFlags(data.features, detectFeatures(raw));
|
|
5357
5357
|
entries.add(path3);
|
|
5358
5358
|
}
|
|
@@ -5368,26 +5368,27 @@ async function saveExternalSlide(slide) {
|
|
|
5368
5368
|
}
|
|
5369
5369
|
|
|
5370
5370
|
// node/parser.ts
|
|
5371
|
-
|
|
5371
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
5372
5372
|
|
|
5373
5373
|
// package.json
|
|
5374
|
-
var version = "0.28.
|
|
5374
|
+
var version = "0.28.10";
|
|
5375
5375
|
|
|
5376
5376
|
// node/themes.ts
|
|
5377
|
-
|
|
5377
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
5378
5378
|
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
|
|
5379
5379
|
|
|
5380
|
-
// ../../node_modules/.pnpm/@antfu+ni@0.
|
|
5381
|
-
|
|
5380
|
+
// ../../node_modules/.pnpm/@antfu+ni@0.13.2/node_modules/@antfu/ni/dist/index.mjs
|
|
5381
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
5382
5382
|
|
|
5383
|
-
// ../../node_modules/.pnpm/@antfu+ni@0.
|
|
5384
|
-
|
|
5383
|
+
// ../../node_modules/.pnpm/@antfu+ni@0.13.2/node_modules/@antfu/ni/dist/chunk-VUUH4WJE.mjs
|
|
5384
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
5385
5385
|
var _os2 = require('os'); var _os3 = _interopRequireDefault(_os2);
|
|
5386
5386
|
var _child_process = require('child_process');
|
|
5387
5387
|
|
|
5388
5388
|
|
|
5389
5389
|
|
|
5390
5390
|
|
|
5391
|
+
|
|
5391
5392
|
var __create = Object.create;
|
|
5392
5393
|
var __defProp = Object.defineProperty;
|
|
5393
5394
|
var __defProps = Object.defineProperties;
|
|
@@ -5413,8 +5414,8 @@ var __spreadValues2 = (a, b) => {
|
|
|
5413
5414
|
var __spreadProps2 = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
5414
5415
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
5415
5416
|
var __require2 = (x) => {
|
|
5416
|
-
if (typeof
|
|
5417
|
-
return
|
|
5417
|
+
if (typeof _chunk7QXPSYEZjs.__require !== "undefined")
|
|
5418
|
+
return _chunk7QXPSYEZjs.__require.call(void 0, x);
|
|
5418
5419
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
5419
5420
|
};
|
|
5420
5421
|
var __objRest = (source, exclude2) => {
|
|
@@ -5447,7 +5448,7 @@ var require_windows = __commonJS2({
|
|
|
5447
5448
|
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
|
|
5448
5449
|
module.exports = isexe;
|
|
5449
5450
|
isexe.sync = sync;
|
|
5450
|
-
var
|
|
5451
|
+
var fs32 = __require2("fs");
|
|
5451
5452
|
function checkPathExt(path3, options) {
|
|
5452
5453
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
5453
5454
|
if (!pathext) {
|
|
@@ -5472,12 +5473,12 @@ var require_windows = __commonJS2({
|
|
|
5472
5473
|
return checkPathExt(path3, options);
|
|
5473
5474
|
}
|
|
5474
5475
|
function isexe(path3, options, cb) {
|
|
5475
|
-
|
|
5476
|
+
fs32.stat(path3, function(er, stat) {
|
|
5476
5477
|
cb(er, er ? false : checkStat(stat, path3, options));
|
|
5477
5478
|
});
|
|
5478
5479
|
}
|
|
5479
5480
|
function sync(path3, options) {
|
|
5480
|
-
return checkStat(
|
|
5481
|
+
return checkStat(fs32.statSync(path3), path3, options);
|
|
5481
5482
|
}
|
|
5482
5483
|
}
|
|
5483
5484
|
});
|
|
@@ -5485,14 +5486,14 @@ var require_mode = __commonJS2({
|
|
|
5485
5486
|
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
|
|
5486
5487
|
module.exports = isexe;
|
|
5487
5488
|
isexe.sync = sync;
|
|
5488
|
-
var
|
|
5489
|
+
var fs32 = __require2("fs");
|
|
5489
5490
|
function isexe(path3, options, cb) {
|
|
5490
|
-
|
|
5491
|
+
fs32.stat(path3, function(er, stat) {
|
|
5491
5492
|
cb(er, er ? false : checkStat(stat, options));
|
|
5492
5493
|
});
|
|
5493
5494
|
}
|
|
5494
5495
|
function sync(path3, options) {
|
|
5495
|
-
return checkStat(
|
|
5496
|
+
return checkStat(fs32.statSync(path3), options);
|
|
5496
5497
|
}
|
|
5497
5498
|
function checkStat(stat, options) {
|
|
5498
5499
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -5514,7 +5515,7 @@ var require_mode = __commonJS2({
|
|
|
5514
5515
|
});
|
|
5515
5516
|
var require_isexe = __commonJS2({
|
|
5516
5517
|
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
|
|
5517
|
-
var
|
|
5518
|
+
var fs32 = __require2("fs");
|
|
5518
5519
|
var core2;
|
|
5519
5520
|
if (process.platform === "win32" || global.TESTING_WINDOWS) {
|
|
5520
5521
|
core2 = require_windows();
|
|
@@ -10854,11 +10855,11 @@ var require_locate_path = __commonJS2({
|
|
|
10854
10855
|
"node_modules/.pnpm/locate-path@6.0.0/node_modules/locate-path/index.js"(exports, module) {
|
|
10855
10856
|
"use strict";
|
|
10856
10857
|
var path3 = __require2("path");
|
|
10857
|
-
var
|
|
10858
|
+
var fs32 = __require2("fs");
|
|
10858
10859
|
var { promisify } = __require2("util");
|
|
10859
10860
|
var pLocate = require_p_locate();
|
|
10860
|
-
var fsStat = promisify(
|
|
10861
|
-
var fsLStat = promisify(
|
|
10861
|
+
var fsStat = promisify(fs32.stat);
|
|
10862
|
+
var fsLStat = promisify(fs32.lstat);
|
|
10862
10863
|
var typeMappings = {
|
|
10863
10864
|
directory: "isDirectory",
|
|
10864
10865
|
file: "isFile"
|
|
@@ -10894,7 +10895,7 @@ var require_locate_path = __commonJS2({
|
|
|
10894
10895
|
type: "file"
|
|
10895
10896
|
}, options);
|
|
10896
10897
|
checkType(options);
|
|
10897
|
-
const statFn = options.allowSymlinks ?
|
|
10898
|
+
const statFn = options.allowSymlinks ? fs32.statSync : fs32.lstatSync;
|
|
10898
10899
|
for (const path_ of paths) {
|
|
10899
10900
|
try {
|
|
10900
10901
|
const stat = statFn(path3.resolve(options.cwd, path_));
|
|
@@ -10910,9 +10911,9 @@ var require_locate_path = __commonJS2({
|
|
|
10910
10911
|
var require_path_exists = __commonJS2({
|
|
10911
10912
|
"node_modules/.pnpm/path-exists@4.0.0/node_modules/path-exists/index.js"(exports, module) {
|
|
10912
10913
|
"use strict";
|
|
10913
|
-
var
|
|
10914
|
+
var fs32 = __require2("fs");
|
|
10914
10915
|
var { promisify } = __require2("util");
|
|
10915
|
-
var pAccess = promisify(
|
|
10916
|
+
var pAccess = promisify(fs32.access);
|
|
10916
10917
|
module.exports = async (path3) => {
|
|
10917
10918
|
try {
|
|
10918
10919
|
await pAccess(path3);
|
|
@@ -10923,7 +10924,7 @@ var require_path_exists = __commonJS2({
|
|
|
10923
10924
|
};
|
|
10924
10925
|
module.exports.sync = (path3) => {
|
|
10925
10926
|
try {
|
|
10926
|
-
|
|
10927
|
+
fs32.accessSync(path3);
|
|
10927
10928
|
return true;
|
|
10928
10929
|
} catch (_) {
|
|
10929
10930
|
return false;
|
|
@@ -11104,16 +11105,16 @@ var require_shebang_command = __commonJS2({
|
|
|
11104
11105
|
var require_readShebang = __commonJS2({
|
|
11105
11106
|
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
11106
11107
|
"use strict";
|
|
11107
|
-
var
|
|
11108
|
+
var fs32 = __require2("fs");
|
|
11108
11109
|
var shebangCommand = require_shebang_command();
|
|
11109
11110
|
function readShebang(command) {
|
|
11110
11111
|
const size = 150;
|
|
11111
11112
|
const buffer = Buffer.alloc(size);
|
|
11112
11113
|
let fd;
|
|
11113
11114
|
try {
|
|
11114
|
-
fd =
|
|
11115
|
-
|
|
11116
|
-
|
|
11115
|
+
fd = fs32.openSync(command, "r");
|
|
11116
|
+
fs32.readSync(fd, buffer, 0, size, 0);
|
|
11117
|
+
fs32.closeSync(fd);
|
|
11117
11118
|
} catch (e) {
|
|
11118
11119
|
}
|
|
11119
11120
|
return shebangCommand(buffer.toString());
|
|
@@ -12818,7 +12819,7 @@ function getVoltaPrefix() {
|
|
|
12818
12819
|
const hasVoltaCommand = import_which.default.sync("volta", { nothrow: true }) !== null;
|
|
12819
12820
|
return hasVoltaCommand ? VOLTA_PREFIX : "";
|
|
12820
12821
|
}
|
|
12821
|
-
var version2 = "0.
|
|
12822
|
+
var version2 = "0.13.2";
|
|
12822
12823
|
var npmRun = (agent) => (args) => {
|
|
12823
12824
|
if (args.length > 1)
|
|
12824
12825
|
return `${agent} run ${args[0]} -- ${args.slice(1).join(" ")}`;
|
|
@@ -12826,7 +12827,7 @@ var npmRun = (agent) => (args) => {
|
|
|
12826
12827
|
return `${agent} run ${args[0]}`;
|
|
12827
12828
|
};
|
|
12828
12829
|
var AGENTS = {
|
|
12829
|
-
npm: {
|
|
12830
|
+
"npm": {
|
|
12830
12831
|
"run": npmRun("npm"),
|
|
12831
12832
|
"install": "npm i",
|
|
12832
12833
|
"frozen": "npm ci",
|
|
@@ -12838,7 +12839,7 @@ var AGENTS = {
|
|
|
12838
12839
|
"uninstall": "npm uninstall {0}",
|
|
12839
12840
|
"global_uninstall": "npm uninstall -g {0}"
|
|
12840
12841
|
},
|
|
12841
|
-
yarn: {
|
|
12842
|
+
"yarn": {
|
|
12842
12843
|
"run": "yarn run {0}",
|
|
12843
12844
|
"install": "yarn install",
|
|
12844
12845
|
"frozen": "yarn install --frozen-lockfile",
|
|
@@ -12850,7 +12851,19 @@ var AGENTS = {
|
|
|
12850
12851
|
"uninstall": "yarn remove {0}",
|
|
12851
12852
|
"global_uninstall": "yarn global remove {0}"
|
|
12852
12853
|
},
|
|
12853
|
-
|
|
12854
|
+
"yarn@berry": {
|
|
12855
|
+
"run": "yarn run {0}",
|
|
12856
|
+
"install": "yarn install",
|
|
12857
|
+
"frozen": "yarn install --immutable",
|
|
12858
|
+
"global": "npm i -g {0}",
|
|
12859
|
+
"add": "yarn add {0}",
|
|
12860
|
+
"upgrade": "yarn up {0}",
|
|
12861
|
+
"upgrade-interactive": "yarn up -i {0}",
|
|
12862
|
+
"execute": "yarn dlx {0}",
|
|
12863
|
+
"uninstall": "yarn remove {0}",
|
|
12864
|
+
"global_uninstall": "npm uninstall -g {0}"
|
|
12865
|
+
},
|
|
12866
|
+
"pnpm": {
|
|
12854
12867
|
"run": npmRun("pnpm"),
|
|
12855
12868
|
"install": "pnpm i",
|
|
12856
12869
|
"frozen": "pnpm i --frozen-lockfile",
|
|
@@ -12870,9 +12883,10 @@ var LOCKS = {
|
|
|
12870
12883
|
"package-lock.json": "npm"
|
|
12871
12884
|
};
|
|
12872
12885
|
var INSTALL_PAGE = {
|
|
12873
|
-
pnpm: "https://pnpm.js.org/en/installation",
|
|
12874
|
-
yarn: "https://yarnpkg.com/
|
|
12875
|
-
|
|
12886
|
+
"pnpm": "https://pnpm.js.org/en/installation",
|
|
12887
|
+
"yarn": "https://classic.yarnpkg.com/en/docs/install",
|
|
12888
|
+
"yarn@berry": "https://yarnpkg.com/getting-started/install",
|
|
12889
|
+
"npm": "https://www.npmjs.com/get-npm"
|
|
12876
12890
|
};
|
|
12877
12891
|
function getCommand(agent, command, args = []) {
|
|
12878
12892
|
if (!(agent in AGENTS))
|
|
@@ -12921,9 +12935,9 @@ async function getConfig() {
|
|
|
12921
12935
|
let packageManager = "";
|
|
12922
12936
|
if (result)
|
|
12923
12937
|
packageManager = (_a = JSON.parse(_fs2.default.readFileSync(result, "utf8")).packageManager) != null ? _a : "";
|
|
12924
|
-
const [, agent] = packageManager.match(new RegExp(`^(${Object.values(LOCKS).join("|")})
|
|
12938
|
+
const [, agent, version22] = packageManager.match(new RegExp(`^(${Object.values(LOCKS).join("|")})@(d).*?$`)) || [];
|
|
12925
12939
|
if (agent)
|
|
12926
|
-
config = Object.assign({}, defaultConfig, { defaultAgent: agent });
|
|
12940
|
+
config = Object.assign({}, defaultConfig, { defaultAgent: agent === "yarn" && parseInt(version22) > 1 ? "yarn@berry" : agent });
|
|
12927
12941
|
else if (!_fs2.default.existsSync(rcPath))
|
|
12928
12942
|
config = defaultConfig;
|
|
12929
12943
|
else
|
|
@@ -13073,11 +13087,33 @@ terminalLink.stderr = (text, url, options = {}) => terminalLink(text, url, __spr
|
|
|
13073
13087
|
terminalLink.stderr.isSupported = import_supports_hyperlinks.default.stderr;
|
|
13074
13088
|
var import_prompts = __toModule2(require_prompts3());
|
|
13075
13089
|
async function detect({ autoInstall, cwd }) {
|
|
13076
|
-
|
|
13077
|
-
const
|
|
13078
|
-
|
|
13090
|
+
let agent = null;
|
|
13091
|
+
const lockPath = await (0, import_find_up2.default)(Object.keys(LOCKS), { cwd });
|
|
13092
|
+
let packageJsonPath;
|
|
13093
|
+
if (lockPath)
|
|
13094
|
+
packageJsonPath = _path2.default.resolve(lockPath, "../package.json");
|
|
13095
|
+
else
|
|
13096
|
+
packageJsonPath = await (0, import_find_up2.default)("package.json", { cwd });
|
|
13097
|
+
if (packageJsonPath && _fs2.default.existsSync(packageJsonPath)) {
|
|
13098
|
+
try {
|
|
13099
|
+
const pkg = JSON.parse(_fs2.default.readFileSync(packageJsonPath, "utf8"));
|
|
13100
|
+
if (typeof pkg.packageManager === "string") {
|
|
13101
|
+
const [name, version22] = pkg.packageManager.split("@");
|
|
13102
|
+
if (name === "yarn" && parseInt(version22) > 1)
|
|
13103
|
+
agent = "yarn@berry";
|
|
13104
|
+
else if (name in AGENTS)
|
|
13105
|
+
agent = name;
|
|
13106
|
+
else
|
|
13107
|
+
console.warn("[ni] Unknown packageManager:", pkg.packageManager);
|
|
13108
|
+
}
|
|
13109
|
+
} catch (e6) {
|
|
13110
|
+
}
|
|
13111
|
+
}
|
|
13112
|
+
if (!agent && lockPath)
|
|
13113
|
+
agent = LOCKS[_path2.default.basename(lockPath)];
|
|
13114
|
+
if (agent && !cmdExists(agent.split("@")[0])) {
|
|
13079
13115
|
if (!autoInstall) {
|
|
13080
|
-
console.warn(`Detected ${agent} but it doesn't seem to be installed.
|
|
13116
|
+
console.warn(`[ni] Detected ${agent} but it doesn't seem to be installed.
|
|
13081
13117
|
`);
|
|
13082
13118
|
if (process.env.CI)
|
|
13083
13119
|
process.exit(1);
|
|
@@ -13117,7 +13153,7 @@ async function run(fn, args, options = {}) {
|
|
|
13117
13153
|
name: "agent",
|
|
13118
13154
|
type: "select",
|
|
13119
13155
|
message: "Choose the agent",
|
|
13120
|
-
choices: agents.map((value) => ({ title: value, value }))
|
|
13156
|
+
choices: agents.filter((i) => !i.includes("@")).map((value) => ({ title: value, value }))
|
|
13121
13157
|
})).agent;
|
|
13122
13158
|
if (!agent)
|
|
13123
13159
|
return;
|
|
@@ -13140,19 +13176,19 @@ async function run(fn, args, options = {}) {
|
|
|
13140
13176
|
}
|
|
13141
13177
|
|
|
13142
13178
|
// node/themes.ts
|
|
13143
|
-
var import_semver =
|
|
13179
|
+
var import_semver = _chunk7QXPSYEZjs.__toModule.call(void 0, require_semver2());
|
|
13144
13180
|
var _isinstalledglobally = require('is-installed-globally'); var _isinstalledglobally2 = _interopRequireDefault(_isinstalledglobally);
|
|
13145
13181
|
var _kolorist = require('kolorist');
|
|
13146
13182
|
var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
|
|
13147
13183
|
|
|
13148
13184
|
// node/options.ts
|
|
13149
|
-
|
|
13185
|
+
_chunk7QXPSYEZjs.init_cjs_shims.call(void 0, );
|
|
13150
13186
|
|
|
13151
13187
|
|
|
13152
13188
|
var _debug2 = require('debug'); var _debug3 = _interopRequireDefault(_debug2);
|
|
13153
13189
|
var debug = _debug3.default.call(void 0, "slidev:options");
|
|
13154
13190
|
function getClientRoot() {
|
|
13155
|
-
return _path.dirname.call(void 0,
|
|
13191
|
+
return _path.dirname.call(void 0, _chunk7QXPSYEZjs.resolveImportPath.call(void 0, "@slidev/client/package.json", true));
|
|
13156
13192
|
}
|
|
13157
13193
|
function getCLIRoot() {
|
|
13158
13194
|
return _path.resolve.call(void 0, __dirname, "..");
|
|
@@ -13169,7 +13205,7 @@ function getThemeRoots(name, entry) {
|
|
|
13169
13205
|
];
|
|
13170
13206
|
} else {
|
|
13171
13207
|
return [
|
|
13172
|
-
_path.dirname.call(void 0,
|
|
13208
|
+
_path.dirname.call(void 0, _chunk7QXPSYEZjs.resolveImportPath.call(void 0, `${name}/package.json`, true))
|
|
13173
13209
|
];
|
|
13174
13210
|
}
|
|
13175
13211
|
}
|
|
@@ -13238,7 +13274,7 @@ var officialThemes = {
|
|
|
13238
13274
|
"bricks": "@slidev/theme-bricks"
|
|
13239
13275
|
};
|
|
13240
13276
|
function packageExists(name) {
|
|
13241
|
-
if (
|
|
13277
|
+
if (_chunk7QXPSYEZjs.resolveImportPath.call(void 0, `${name}/package.json`))
|
|
13242
13278
|
return true;
|
|
13243
13279
|
return false;
|
|
13244
13280
|
}
|