@slidev/cli 0.33.0 → 0.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{build-P4Q57V2J.mjs → build-JAORN7ES.mjs} +3 -3
- package/dist/{build-JMQRM5SA.js → build-OWDFSW6Q.js} +13 -13
- package/dist/{chunk-C7GPMAIX.mjs → chunk-DGFMEJWT.mjs} +10 -10
- package/dist/{chunk-FFZLS6QK.js → chunk-IP7ZGKHI.js} +2 -2
- package/dist/{chunk-ZWCVPYOA.mjs → chunk-IWKTUAXD.mjs} +2 -2
- package/dist/{chunk-JQEMHC65.js → chunk-LIMOCTLS.js} +154 -154
- package/dist/{chunk-ORQ3SHUX.mjs → chunk-MVE4F2AE.mjs} +3 -3
- package/dist/{chunk-UNBXPUSG.js → chunk-WGEHDK3K.js} +66 -66
- package/dist/cli.js +24 -24
- package/dist/cli.mjs +5 -5
- package/dist/{export-LOKLMK66.js → export-JHIU6OQI.js} +4 -4
- package/dist/{export-5R6FV775.mjs → export-Z44PM4CT.mjs} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWGEHDK3Kjs = require('./chunk-WGEHDK3K.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -15,12 +15,12 @@ var _chunkUNBXPUSGjs = require('./chunk-UNBXPUSG.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
|
|
19
19
|
|
|
20
20
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js
|
|
21
|
-
var require_constants =
|
|
21
|
+
var require_constants = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
22
22
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js"(exports, module) {
|
|
23
|
-
|
|
23
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
24
24
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
25
25
|
var MAX_LENGTH = 256;
|
|
26
26
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -35,9 +35,9 @@ var require_constants = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js
|
|
38
|
-
var require_debug =
|
|
38
|
+
var require_debug = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
39
39
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js"(exports, module) {
|
|
40
|
-
|
|
40
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
41
41
|
var debug2 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
42
42
|
};
|
|
43
43
|
module.exports = debug2;
|
|
@@ -45,9 +45,9 @@ var require_debug = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js
|
|
48
|
-
var require_re =
|
|
48
|
+
var require_re = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
49
49
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js"(exports, module) {
|
|
50
|
-
|
|
50
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
51
51
|
var { MAX_SAFE_COMPONENT_LENGTH } = require_constants();
|
|
52
52
|
var debug2 = require_debug();
|
|
53
53
|
exports = module.exports = {};
|
|
@@ -109,9 +109,9 @@ var require_re = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js
|
|
112
|
-
var require_parse_options =
|
|
112
|
+
var require_parse_options = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
113
113
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
114
|
-
|
|
114
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
115
115
|
var opts = ["includePrerelease", "loose", "rtl"];
|
|
116
116
|
var parseOptions = (options) => !options ? {} : typeof options !== "object" ? { loose: true } : opts.filter((k) => options[k]).reduce((o, k) => {
|
|
117
117
|
o[k] = true;
|
|
@@ -122,9 +122,9 @@ var require_parse_options = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
122
122
|
});
|
|
123
123
|
|
|
124
124
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js
|
|
125
|
-
var require_identifiers =
|
|
125
|
+
var require_identifiers = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
126
126
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
127
|
-
|
|
127
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
128
128
|
var numeric = /^[0-9]+$/;
|
|
129
129
|
var compareIdentifiers = (a, b) => {
|
|
130
130
|
const anum = numeric.test(a);
|
|
@@ -144,9 +144,9 @@ var require_identifiers = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
144
144
|
});
|
|
145
145
|
|
|
146
146
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js
|
|
147
|
-
var require_semver =
|
|
147
|
+
var require_semver = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
148
148
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js"(exports, module) {
|
|
149
|
-
|
|
149
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
150
150
|
var debug2 = require_debug();
|
|
151
151
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
152
152
|
var { re, t } = require_re();
|
|
@@ -369,9 +369,9 @@ var require_semver = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
369
369
|
});
|
|
370
370
|
|
|
371
371
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js
|
|
372
|
-
var require_parse =
|
|
372
|
+
var require_parse = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
373
373
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js"(exports, module) {
|
|
374
|
-
|
|
374
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
375
375
|
var { MAX_LENGTH } = require_constants();
|
|
376
376
|
var { re, t } = require_re();
|
|
377
377
|
var SemVer = require_semver();
|
|
@@ -402,9 +402,9 @@ var require_parse = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
402
402
|
});
|
|
403
403
|
|
|
404
404
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js
|
|
405
|
-
var require_valid =
|
|
405
|
+
var require_valid = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
406
406
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js"(exports, module) {
|
|
407
|
-
|
|
407
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
408
408
|
var parse2 = require_parse();
|
|
409
409
|
var valid = (version3, options) => {
|
|
410
410
|
const v = parse2(version3, options);
|
|
@@ -415,9 +415,9 @@ var require_valid = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
415
415
|
});
|
|
416
416
|
|
|
417
417
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js
|
|
418
|
-
var require_clean =
|
|
418
|
+
var require_clean = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
419
419
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js"(exports, module) {
|
|
420
|
-
|
|
420
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
421
421
|
var parse2 = require_parse();
|
|
422
422
|
var clean = (version3, options) => {
|
|
423
423
|
const s = parse2(version3.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -428,9 +428,9 @@ var require_clean = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
428
428
|
});
|
|
429
429
|
|
|
430
430
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js
|
|
431
|
-
var require_inc =
|
|
431
|
+
var require_inc = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
432
432
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js"(exports, module) {
|
|
433
|
-
|
|
433
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
434
434
|
var SemVer = require_semver();
|
|
435
435
|
var inc = (version3, release, options, identifier) => {
|
|
436
436
|
if (typeof options === "string") {
|
|
@@ -448,9 +448,9 @@ var require_inc = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
448
448
|
});
|
|
449
449
|
|
|
450
450
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js
|
|
451
|
-
var require_compare =
|
|
451
|
+
var require_compare = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
452
452
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js"(exports, module) {
|
|
453
|
-
|
|
453
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
454
454
|
var SemVer = require_semver();
|
|
455
455
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
456
456
|
module.exports = compare;
|
|
@@ -458,9 +458,9 @@ var require_compare = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
458
458
|
});
|
|
459
459
|
|
|
460
460
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js
|
|
461
|
-
var require_eq =
|
|
461
|
+
var require_eq = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
462
462
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js"(exports, module) {
|
|
463
|
-
|
|
463
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
464
464
|
var compare = require_compare();
|
|
465
465
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
466
466
|
module.exports = eq;
|
|
@@ -468,9 +468,9 @@ var require_eq = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
468
468
|
});
|
|
469
469
|
|
|
470
470
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js
|
|
471
|
-
var require_diff =
|
|
471
|
+
var require_diff = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
472
472
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js"(exports, module) {
|
|
473
|
-
|
|
473
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
474
474
|
var parse2 = require_parse();
|
|
475
475
|
var eq = require_eq();
|
|
476
476
|
var diff = (version1, version22) => {
|
|
@@ -497,9 +497,9 @@ var require_diff = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
497
497
|
});
|
|
498
498
|
|
|
499
499
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js
|
|
500
|
-
var require_major =
|
|
500
|
+
var require_major = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
501
501
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js"(exports, module) {
|
|
502
|
-
|
|
502
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
503
503
|
var SemVer = require_semver();
|
|
504
504
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
505
505
|
module.exports = major;
|
|
@@ -507,9 +507,9 @@ var require_major = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
507
507
|
});
|
|
508
508
|
|
|
509
509
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js
|
|
510
|
-
var require_minor =
|
|
510
|
+
var require_minor = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
511
511
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js"(exports, module) {
|
|
512
|
-
|
|
512
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
513
513
|
var SemVer = require_semver();
|
|
514
514
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
515
515
|
module.exports = minor;
|
|
@@ -517,9 +517,9 @@ var require_minor = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
517
517
|
});
|
|
518
518
|
|
|
519
519
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js
|
|
520
|
-
var require_patch =
|
|
520
|
+
var require_patch = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
521
521
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js"(exports, module) {
|
|
522
|
-
|
|
522
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
523
523
|
var SemVer = require_semver();
|
|
524
524
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
525
525
|
module.exports = patch;
|
|
@@ -527,9 +527,9 @@ var require_patch = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
527
527
|
});
|
|
528
528
|
|
|
529
529
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js
|
|
530
|
-
var require_prerelease =
|
|
530
|
+
var require_prerelease = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
531
531
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
532
|
-
|
|
532
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
533
533
|
var parse2 = require_parse();
|
|
534
534
|
var prerelease = (version3, options) => {
|
|
535
535
|
const parsed = parse2(version3, options);
|
|
@@ -540,9 +540,9 @@ var require_prerelease = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
540
540
|
});
|
|
541
541
|
|
|
542
542
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js
|
|
543
|
-
var require_rcompare =
|
|
543
|
+
var require_rcompare = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
544
544
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
545
|
-
|
|
545
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
546
546
|
var compare = require_compare();
|
|
547
547
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
548
548
|
module.exports = rcompare;
|
|
@@ -550,9 +550,9 @@ var require_rcompare = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
550
550
|
});
|
|
551
551
|
|
|
552
552
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js
|
|
553
|
-
var require_compare_loose =
|
|
553
|
+
var require_compare_loose = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
554
554
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
555
|
-
|
|
555
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
556
556
|
var compare = require_compare();
|
|
557
557
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
558
558
|
module.exports = compareLoose;
|
|
@@ -560,9 +560,9 @@ var require_compare_loose = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
560
560
|
});
|
|
561
561
|
|
|
562
562
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js
|
|
563
|
-
var require_compare_build =
|
|
563
|
+
var require_compare_build = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
564
564
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
565
|
-
|
|
565
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
566
566
|
var SemVer = require_semver();
|
|
567
567
|
var compareBuild = (a, b, loose) => {
|
|
568
568
|
const versionA = new SemVer(a, loose);
|
|
@@ -574,9 +574,9 @@ var require_compare_build = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
574
574
|
});
|
|
575
575
|
|
|
576
576
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js
|
|
577
|
-
var require_sort =
|
|
577
|
+
var require_sort = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
578
578
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js"(exports, module) {
|
|
579
|
-
|
|
579
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
580
580
|
var compareBuild = require_compare_build();
|
|
581
581
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
582
582
|
module.exports = sort;
|
|
@@ -584,9 +584,9 @@ var require_sort = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
584
584
|
});
|
|
585
585
|
|
|
586
586
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js
|
|
587
|
-
var require_rsort =
|
|
587
|
+
var require_rsort = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
588
588
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
589
|
-
|
|
589
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
590
590
|
var compareBuild = require_compare_build();
|
|
591
591
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
592
592
|
module.exports = rsort;
|
|
@@ -594,9 +594,9 @@ var require_rsort = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
594
594
|
});
|
|
595
595
|
|
|
596
596
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js
|
|
597
|
-
var require_gt =
|
|
597
|
+
var require_gt = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
598
598
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js"(exports, module) {
|
|
599
|
-
|
|
599
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
600
600
|
var compare = require_compare();
|
|
601
601
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
602
602
|
module.exports = gt;
|
|
@@ -604,9 +604,9 @@ var require_gt = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
604
604
|
});
|
|
605
605
|
|
|
606
606
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js
|
|
607
|
-
var require_lt =
|
|
607
|
+
var require_lt = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
608
608
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js"(exports, module) {
|
|
609
|
-
|
|
609
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
610
610
|
var compare = require_compare();
|
|
611
611
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
612
612
|
module.exports = lt;
|
|
@@ -614,9 +614,9 @@ var require_lt = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
614
614
|
});
|
|
615
615
|
|
|
616
616
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js
|
|
617
|
-
var require_neq =
|
|
617
|
+
var require_neq = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
618
618
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js"(exports, module) {
|
|
619
|
-
|
|
619
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
620
620
|
var compare = require_compare();
|
|
621
621
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
622
622
|
module.exports = neq;
|
|
@@ -624,9 +624,9 @@ var require_neq = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
624
624
|
});
|
|
625
625
|
|
|
626
626
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js
|
|
627
|
-
var require_gte =
|
|
627
|
+
var require_gte = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
628
628
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js"(exports, module) {
|
|
629
|
-
|
|
629
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
630
630
|
var compare = require_compare();
|
|
631
631
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
632
632
|
module.exports = gte;
|
|
@@ -634,9 +634,9 @@ var require_gte = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
634
634
|
});
|
|
635
635
|
|
|
636
636
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js
|
|
637
|
-
var require_lte =
|
|
637
|
+
var require_lte = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
638
638
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js"(exports, module) {
|
|
639
|
-
|
|
639
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
640
640
|
var compare = require_compare();
|
|
641
641
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
642
642
|
module.exports = lte;
|
|
@@ -644,9 +644,9 @@ var require_lte = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
644
644
|
});
|
|
645
645
|
|
|
646
646
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js
|
|
647
|
-
var require_cmp =
|
|
647
|
+
var require_cmp = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
648
648
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
649
|
-
|
|
649
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
650
650
|
var eq = require_eq();
|
|
651
651
|
var neq = require_neq();
|
|
652
652
|
var gt = require_gt();
|
|
@@ -694,9 +694,9 @@ var require_cmp = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js
|
|
697
|
-
var require_coerce =
|
|
697
|
+
var require_coerce = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
698
698
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
699
|
-
|
|
699
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
700
700
|
var SemVer = require_semver();
|
|
701
701
|
var parse2 = require_parse();
|
|
702
702
|
var { re, t } = require_re();
|
|
@@ -734,10 +734,10 @@ var require_coerce = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
734
734
|
});
|
|
735
735
|
|
|
736
736
|
// ../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js
|
|
737
|
-
var require_iterator =
|
|
737
|
+
var require_iterator = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
738
738
|
"../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js"(exports, module) {
|
|
739
739
|
"use strict";
|
|
740
|
-
|
|
740
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
741
741
|
module.exports = function(Yallist) {
|
|
742
742
|
Yallist.prototype[Symbol.iterator] = function* () {
|
|
743
743
|
for (let walker = this.head; walker; walker = walker.next) {
|
|
@@ -749,10 +749,10 @@ var require_iterator = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
749
749
|
});
|
|
750
750
|
|
|
751
751
|
// ../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js
|
|
752
|
-
var require_yallist =
|
|
752
|
+
var require_yallist = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
753
753
|
"../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports, module) {
|
|
754
754
|
"use strict";
|
|
755
|
-
|
|
755
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
756
756
|
module.exports = Yallist;
|
|
757
757
|
Yallist.Node = Node2;
|
|
758
758
|
Yallist.create = Yallist;
|
|
@@ -1119,10 +1119,10 @@ var require_yallist = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1119
1119
|
});
|
|
1120
1120
|
|
|
1121
1121
|
// ../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js
|
|
1122
|
-
var require_lru_cache =
|
|
1122
|
+
var require_lru_cache = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1123
1123
|
"../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"(exports, module) {
|
|
1124
1124
|
"use strict";
|
|
1125
|
-
|
|
1125
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1126
1126
|
var Yallist = require_yallist();
|
|
1127
1127
|
var MAX = Symbol("max");
|
|
1128
1128
|
var LENGTH = Symbol("length");
|
|
@@ -1388,9 +1388,9 @@ var require_lru_cache = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1388
1388
|
});
|
|
1389
1389
|
|
|
1390
1390
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js
|
|
1391
|
-
var require_range =
|
|
1391
|
+
var require_range = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1392
1392
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js"(exports, module) {
|
|
1393
|
-
|
|
1393
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1394
1394
|
var Range = class {
|
|
1395
1395
|
constructor(range, options) {
|
|
1396
1396
|
options = parseOptions(options);
|
|
@@ -1748,9 +1748,9 @@ var require_range = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1748
1748
|
});
|
|
1749
1749
|
|
|
1750
1750
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js
|
|
1751
|
-
var require_comparator =
|
|
1751
|
+
var require_comparator = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1752
1752
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
1753
|
-
|
|
1753
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1754
1754
|
var ANY = Symbol("SemVer ANY");
|
|
1755
1755
|
var Comparator = class {
|
|
1756
1756
|
static get ANY() {
|
|
@@ -1850,9 +1850,9 @@ var require_comparator = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1850
1850
|
});
|
|
1851
1851
|
|
|
1852
1852
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js
|
|
1853
|
-
var require_satisfies =
|
|
1853
|
+
var require_satisfies = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1854
1854
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
1855
|
-
|
|
1855
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1856
1856
|
var Range = require_range();
|
|
1857
1857
|
var satisfies3 = (version3, range, options) => {
|
|
1858
1858
|
try {
|
|
@@ -1867,9 +1867,9 @@ var require_satisfies = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1867
1867
|
});
|
|
1868
1868
|
|
|
1869
1869
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js
|
|
1870
|
-
var require_to_comparators =
|
|
1870
|
+
var require_to_comparators = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1871
1871
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
1872
|
-
|
|
1872
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1873
1873
|
var Range = require_range();
|
|
1874
1874
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c2) => c2.value).join(" ").trim().split(" "));
|
|
1875
1875
|
module.exports = toComparators;
|
|
@@ -1877,9 +1877,9 @@ var require_to_comparators = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1877
1877
|
});
|
|
1878
1878
|
|
|
1879
1879
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js
|
|
1880
|
-
var require_max_satisfying =
|
|
1880
|
+
var require_max_satisfying = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1881
1881
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
1882
|
-
|
|
1882
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1883
1883
|
var SemVer = require_semver();
|
|
1884
1884
|
var Range = require_range();
|
|
1885
1885
|
var maxSatisfying = (versions, range, options) => {
|
|
@@ -1906,9 +1906,9 @@ var require_max_satisfying = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1906
1906
|
});
|
|
1907
1907
|
|
|
1908
1908
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js
|
|
1909
|
-
var require_min_satisfying =
|
|
1909
|
+
var require_min_satisfying = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1910
1910
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
1911
|
-
|
|
1911
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1912
1912
|
var SemVer = require_semver();
|
|
1913
1913
|
var Range = require_range();
|
|
1914
1914
|
var minSatisfying = (versions, range, options) => {
|
|
@@ -1935,9 +1935,9 @@ var require_min_satisfying = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1935
1935
|
});
|
|
1936
1936
|
|
|
1937
1937
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js
|
|
1938
|
-
var require_min_version =
|
|
1938
|
+
var require_min_version = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1939
1939
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
1940
|
-
|
|
1940
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1941
1941
|
var SemVer = require_semver();
|
|
1942
1942
|
var Range = require_range();
|
|
1943
1943
|
var gt = require_gt();
|
|
@@ -1992,9 +1992,9 @@ var require_min_version = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
1992
1992
|
});
|
|
1993
1993
|
|
|
1994
1994
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js
|
|
1995
|
-
var require_valid2 =
|
|
1995
|
+
var require_valid2 = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
1996
1996
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
1997
|
-
|
|
1997
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
1998
1998
|
var Range = require_range();
|
|
1999
1999
|
var validRange = (range, options) => {
|
|
2000
2000
|
try {
|
|
@@ -2008,9 +2008,9 @@ var require_valid2 = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2008
2008
|
});
|
|
2009
2009
|
|
|
2010
2010
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js
|
|
2011
|
-
var require_outside =
|
|
2011
|
+
var require_outside = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2012
2012
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
2013
|
-
|
|
2013
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2014
2014
|
var SemVer = require_semver();
|
|
2015
2015
|
var Comparator = require_comparator();
|
|
2016
2016
|
var { ANY } = Comparator;
|
|
@@ -2077,9 +2077,9 @@ var require_outside = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
|
|
2079
2079
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js
|
|
2080
|
-
var require_gtr =
|
|
2080
|
+
var require_gtr = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2081
2081
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
2082
|
-
|
|
2082
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2083
2083
|
var outside = require_outside();
|
|
2084
2084
|
var gtr = (version3, range, options) => outside(version3, range, ">", options);
|
|
2085
2085
|
module.exports = gtr;
|
|
@@ -2087,9 +2087,9 @@ var require_gtr = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2087
2087
|
});
|
|
2088
2088
|
|
|
2089
2089
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js
|
|
2090
|
-
var require_ltr =
|
|
2090
|
+
var require_ltr = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2091
2091
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
2092
|
-
|
|
2092
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2093
2093
|
var outside = require_outside();
|
|
2094
2094
|
var ltr = (version3, range, options) => outside(version3, range, "<", options);
|
|
2095
2095
|
module.exports = ltr;
|
|
@@ -2097,9 +2097,9 @@ var require_ltr = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2097
2097
|
});
|
|
2098
2098
|
|
|
2099
2099
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js
|
|
2100
|
-
var require_intersects =
|
|
2100
|
+
var require_intersects = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2101
2101
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
2102
|
-
|
|
2102
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2103
2103
|
var Range = require_range();
|
|
2104
2104
|
var intersects = (r1, r2, options) => {
|
|
2105
2105
|
r1 = new Range(r1, options);
|
|
@@ -2111,9 +2111,9 @@ var require_intersects = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2111
2111
|
});
|
|
2112
2112
|
|
|
2113
2113
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js
|
|
2114
|
-
var require_simplify =
|
|
2114
|
+
var require_simplify = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2115
2115
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
2116
|
-
|
|
2116
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2117
2117
|
var satisfies3 = require_satisfies();
|
|
2118
2118
|
var compare = require_compare();
|
|
2119
2119
|
module.exports = (versions, range, options) => {
|
|
@@ -2161,9 +2161,9 @@ var require_simplify = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2161
2161
|
});
|
|
2162
2162
|
|
|
2163
2163
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js
|
|
2164
|
-
var require_subset =
|
|
2164
|
+
var require_subset = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2165
2165
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
2166
|
-
|
|
2166
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2167
2167
|
var Range = require_range();
|
|
2168
2168
|
var Comparator = require_comparator();
|
|
2169
2169
|
var { ANY } = Comparator;
|
|
@@ -2322,9 +2322,9 @@ var require_subset = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2322
2322
|
});
|
|
2323
2323
|
|
|
2324
2324
|
// ../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js
|
|
2325
|
-
var require_semver2 =
|
|
2325
|
+
var require_semver2 = _chunkIP7ZGKHIjs.__commonJS.call(void 0, {
|
|
2326
2326
|
"../../node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js"(exports, module) {
|
|
2327
|
-
|
|
2327
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2328
2328
|
var internalRe = require_re();
|
|
2329
2329
|
module.exports = {
|
|
2330
2330
|
re: internalRe.re,
|
|
@@ -2376,42 +2376,42 @@ var require_semver2 = _chunkFFZLS6QKjs.__commonJS.call(void 0, {
|
|
|
2376
2376
|
});
|
|
2377
2377
|
|
|
2378
2378
|
// node/server.ts
|
|
2379
|
-
|
|
2379
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2380
2380
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
2381
2381
|
var _vite = require('vite');
|
|
2382
2382
|
async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
2383
2383
|
const rawConfig = await _vite.resolveConfig.call(void 0, {}, "serve");
|
|
2384
2384
|
const pluginOptions = rawConfig.slidev || {};
|
|
2385
2385
|
process.env.EDITOR = process.env.EDITOR || "code";
|
|
2386
|
-
const server = await _vite.createServer.call(void 0, await
|
|
2386
|
+
const server = await _vite.createServer.call(void 0, await _chunkWGEHDK3Kjs.mergeViteConfigs.call(void 0, options, viteConfig, {
|
|
2387
2387
|
optimizeDeps: {
|
|
2388
2388
|
entries: [
|
|
2389
2389
|
_path.join.call(void 0, options.clientRoot, "main.ts")
|
|
2390
2390
|
]
|
|
2391
2391
|
},
|
|
2392
2392
|
plugins: [
|
|
2393
|
-
await
|
|
2393
|
+
await _chunkWGEHDK3Kjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
|
|
2394
2394
|
]
|
|
2395
2395
|
}, "serve"));
|
|
2396
2396
|
return server;
|
|
2397
2397
|
}
|
|
2398
2398
|
|
|
2399
2399
|
// node/parser.ts
|
|
2400
|
-
|
|
2400
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2401
2401
|
var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
|
|
2402
2402
|
|
|
2403
2403
|
// package.json
|
|
2404
|
-
var version = "0.33.
|
|
2404
|
+
var version = "0.33.1";
|
|
2405
2405
|
|
|
2406
2406
|
// node/themes.ts
|
|
2407
|
-
|
|
2407
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2408
2408
|
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
|
|
2409
2409
|
|
|
2410
2410
|
// ../../node_modules/.pnpm/@antfu+ni@0.16.2/node_modules/@antfu/ni/dist/index.mjs
|
|
2411
|
-
|
|
2411
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2412
2412
|
|
|
2413
2413
|
// ../../node_modules/.pnpm/@antfu+ni@0.16.2/node_modules/@antfu/ni/dist/chunks/runner.mjs
|
|
2414
|
-
|
|
2414
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
2415
2415
|
|
|
2416
2416
|
var _readline = require('readline'); var _readline2 = _interopRequireDefault(_readline);
|
|
2417
2417
|
var _events = require('events'); var _events2 = _interopRequireDefault(_events);
|
|
@@ -2478,7 +2478,7 @@ var AGENTS = {
|
|
|
2478
2478
|
"global_uninstall": "npm uninstall -g {0}"
|
|
2479
2479
|
},
|
|
2480
2480
|
"yarn": yarn,
|
|
2481
|
-
"yarn@berry":
|
|
2481
|
+
"yarn@berry": _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, yarn), {
|
|
2482
2482
|
"frozen": "yarn install --immutable",
|
|
2483
2483
|
"upgrade": "yarn up {0}",
|
|
2484
2484
|
"upgrade-interactive": "yarn up -i {0}",
|
|
@@ -2486,7 +2486,7 @@ var AGENTS = {
|
|
|
2486
2486
|
"global_uninstall": "npm uninstall -g {0}"
|
|
2487
2487
|
}),
|
|
2488
2488
|
"pnpm": pnpm,
|
|
2489
|
-
"pnpm@6":
|
|
2489
|
+
"pnpm@6": _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, pnpm), {
|
|
2490
2490
|
run: npmRun("pnpm")
|
|
2491
2491
|
})
|
|
2492
2492
|
};
|
|
@@ -2933,41 +2933,41 @@ var Node = class {
|
|
|
2933
2933
|
var _head, _tail, _size;
|
|
2934
2934
|
var Queue = class {
|
|
2935
2935
|
constructor() {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2936
|
+
_chunkIP7ZGKHIjs.__privateAdd.call(void 0, this, _head, void 0);
|
|
2937
|
+
_chunkIP7ZGKHIjs.__privateAdd.call(void 0, this, _tail, void 0);
|
|
2938
|
+
_chunkIP7ZGKHIjs.__privateAdd.call(void 0, this, _size, void 0);
|
|
2939
2939
|
this.clear();
|
|
2940
2940
|
}
|
|
2941
2941
|
enqueue(value) {
|
|
2942
2942
|
const node = new Node(value);
|
|
2943
|
-
if (
|
|
2944
|
-
|
|
2945
|
-
|
|
2943
|
+
if (_chunkIP7ZGKHIjs.__privateGet.call(void 0, this, _head)) {
|
|
2944
|
+
_chunkIP7ZGKHIjs.__privateGet.call(void 0, this, _tail).next = node;
|
|
2945
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _tail, node);
|
|
2946
2946
|
} else {
|
|
2947
|
-
|
|
2948
|
-
|
|
2947
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _head, node);
|
|
2948
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _tail, node);
|
|
2949
2949
|
}
|
|
2950
|
-
|
|
2950
|
+
_chunkIP7ZGKHIjs.__privateWrapper.call(void 0, this, _size)._++;
|
|
2951
2951
|
}
|
|
2952
2952
|
dequeue() {
|
|
2953
|
-
const current =
|
|
2953
|
+
const current = _chunkIP7ZGKHIjs.__privateGet.call(void 0, this, _head);
|
|
2954
2954
|
if (!current) {
|
|
2955
2955
|
return;
|
|
2956
2956
|
}
|
|
2957
|
-
|
|
2958
|
-
|
|
2957
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _head, _chunkIP7ZGKHIjs.__privateGet.call(void 0, this, _head).next);
|
|
2958
|
+
_chunkIP7ZGKHIjs.__privateWrapper.call(void 0, this, _size)._--;
|
|
2959
2959
|
return current.value;
|
|
2960
2960
|
}
|
|
2961
2961
|
clear() {
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2962
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _head, void 0);
|
|
2963
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _tail, void 0);
|
|
2964
|
+
_chunkIP7ZGKHIjs.__privateSet.call(void 0, this, _size, 0);
|
|
2965
2965
|
}
|
|
2966
2966
|
get size() {
|
|
2967
|
-
return
|
|
2967
|
+
return _chunkIP7ZGKHIjs.__privateGet.call(void 0, this, _size);
|
|
2968
2968
|
}
|
|
2969
2969
|
*[Symbol.iterator]() {
|
|
2970
|
-
let current =
|
|
2970
|
+
let current = _chunkIP7ZGKHIjs.__privateGet.call(void 0, this, _head);
|
|
2971
2971
|
while (current) {
|
|
2972
2972
|
yield current.value;
|
|
2973
2973
|
current = current.next;
|
|
@@ -3107,7 +3107,7 @@ async function findUpMultiple(name, options = {}) {
|
|
|
3107
3107
|
};
|
|
3108
3108
|
const matches = [];
|
|
3109
3109
|
while (true) {
|
|
3110
|
-
const foundPath = await runMatcher(
|
|
3110
|
+
const foundPath = await runMatcher(_chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, options), { cwd: directory }));
|
|
3111
3111
|
if (foundPath === findUpStop) {
|
|
3112
3112
|
break;
|
|
3113
3113
|
}
|
|
@@ -3122,7 +3122,7 @@ async function findUpMultiple(name, options = {}) {
|
|
|
3122
3122
|
return matches;
|
|
3123
3123
|
}
|
|
3124
3124
|
async function findUp(name, options = {}) {
|
|
3125
|
-
const matches = await findUpMultiple(name,
|
|
3125
|
+
const matches = await findUpMultiple(name, _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, options), { limit: 1 }));
|
|
3126
3126
|
return matches[0];
|
|
3127
3127
|
}
|
|
3128
3128
|
var customRcPath = process.env.NI_CONFIG_FILE;
|
|
@@ -3415,8 +3415,8 @@ function npmRunPath(options = {}) {
|
|
|
3415
3415
|
return [...result, path_].join(_path2.default.delimiter);
|
|
3416
3416
|
}
|
|
3417
3417
|
function npmRunPathEnv(_a = {}) {
|
|
3418
|
-
var _b = _a, { env: env2 = _process2.default.env } = _b, options =
|
|
3419
|
-
env2 =
|
|
3418
|
+
var _b = _a, { env: env2 = _process2.default.env } = _b, options = _chunkIP7ZGKHIjs.__objRest.call(void 0, _b, ["env"]);
|
|
3419
|
+
env2 = _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, env2);
|
|
3420
3420
|
const path2 = pathKey({ env: env2 });
|
|
3421
3421
|
options.path = env2[path2];
|
|
3422
3422
|
env2[path2] = npmRunPath(options);
|
|
@@ -3454,7 +3454,7 @@ var changeToString = (to, from, name) => {
|
|
|
3454
3454
|
const withName = name === "" ? "" : `with ${name.trim()}() `;
|
|
3455
3455
|
const newToString = wrappedToString.bind(null, withName, from.toString());
|
|
3456
3456
|
Object.defineProperty(newToString, "name", toStringName);
|
|
3457
|
-
Object.defineProperty(to, "toString",
|
|
3457
|
+
Object.defineProperty(to, "toString", _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, toStringDescriptor), { value: newToString }));
|
|
3458
3458
|
};
|
|
3459
3459
|
function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
|
|
3460
3460
|
const { name } = to;
|
|
@@ -3804,7 +3804,7 @@ var getSignalsByName = function() {
|
|
|
3804
3804
|
return signals.reduce(getSignalByName, {});
|
|
3805
3805
|
};
|
|
3806
3806
|
var getSignalByName = function(signalByNameMemo, { name, number: number2, description, supported, action: action2, forced, standard }) {
|
|
3807
|
-
return
|
|
3807
|
+
return _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, signalByNameMemo), {
|
|
3808
3808
|
[name]: { name, number: number2, description, supported, action: action2, forced, standard }
|
|
3809
3809
|
});
|
|
3810
3810
|
};
|
|
@@ -4177,7 +4177,7 @@ function isStream(stream2) {
|
|
|
4177
4177
|
var getStream$2 = { exports: {} };
|
|
4178
4178
|
var { PassThrough: PassThroughStream } = _stream2.default;
|
|
4179
4179
|
var bufferStream$1 = (options) => {
|
|
4180
|
-
options =
|
|
4180
|
+
options = _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, options);
|
|
4181
4181
|
const { array } = options;
|
|
4182
4182
|
let { encoding } = options;
|
|
4183
4183
|
const isBuffer = encoding === "buffer";
|
|
@@ -4228,7 +4228,7 @@ async function getStream(inputStream, options) {
|
|
|
4228
4228
|
if (!inputStream) {
|
|
4229
4229
|
throw new Error("Expected a stream");
|
|
4230
4230
|
}
|
|
4231
|
-
options =
|
|
4231
|
+
options = _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {
|
|
4232
4232
|
maxBuffer: Infinity
|
|
4233
4233
|
}, options);
|
|
4234
4234
|
const { maxBuffer } = options;
|
|
@@ -4257,8 +4257,8 @@ async function getStream(inputStream, options) {
|
|
|
4257
4257
|
return stream2.getBufferedValue();
|
|
4258
4258
|
}
|
|
4259
4259
|
getStream$2.exports = getStream;
|
|
4260
|
-
getStream$2.exports.buffer = (stream2, options) => getStream(stream2,
|
|
4261
|
-
getStream$2.exports.array = (stream2, options) => getStream(stream2,
|
|
4260
|
+
getStream$2.exports.buffer = (stream2, options) => getStream(stream2, _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, options), { encoding: "buffer" }));
|
|
4261
|
+
getStream$2.exports.array = (stream2, options) => getStream(stream2, _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, options), { array: true }));
|
|
4262
4262
|
getStream$2.exports.MaxBufferError = MaxBufferError;
|
|
4263
4263
|
var getStream$1 = getStream$2.exports;
|
|
4264
4264
|
var { PassThrough } = _stream2.default;
|
|
@@ -4361,7 +4361,7 @@ var descriptors = ["then", "catch", "finally"].map((property) => [
|
|
|
4361
4361
|
var mergePromise = (spawned, promise) => {
|
|
4362
4362
|
for (const [property, descriptor] of descriptors) {
|
|
4363
4363
|
const value = typeof promise === "function" ? (...args) => Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);
|
|
4364
|
-
Reflect.defineProperty(spawned, property,
|
|
4364
|
+
Reflect.defineProperty(spawned, property, _chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, descriptor), { value }));
|
|
4365
4365
|
}
|
|
4366
4366
|
return spawned;
|
|
4367
4367
|
};
|
|
@@ -4409,7 +4409,7 @@ var parseCommand = (command) => {
|
|
|
4409
4409
|
};
|
|
4410
4410
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
4411
4411
|
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
4412
|
-
const env2 = extendEnv ?
|
|
4412
|
+
const env2 = extendEnv ? _chunkIP7ZGKHIjs.__spreadValues.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, _process2.default.env), envOption) : envOption;
|
|
4413
4413
|
if (preferLocal) {
|
|
4414
4414
|
return npmRunPathEnv({ env: env2, cwd: localDir, execPath });
|
|
4415
4415
|
}
|
|
@@ -4420,7 +4420,7 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
4420
4420
|
file = parsed.command;
|
|
4421
4421
|
args = parsed.args;
|
|
4422
4422
|
options = parsed.options;
|
|
4423
|
-
options =
|
|
4423
|
+
options = _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {
|
|
4424
4424
|
maxBuffer: DEFAULT_MAX_BUFFER,
|
|
4425
4425
|
buffer: true,
|
|
4426
4426
|
stripFinalNewline: true,
|
|
@@ -4813,7 +4813,7 @@ var supportsHyperlinks = {
|
|
|
4813
4813
|
stderr: supportsHyperlink(process.stderr)
|
|
4814
4814
|
};
|
|
4815
4815
|
function terminalLink(text2, url2, _a = {}) {
|
|
4816
|
-
var _b = _a, { target = "stdout" } = _b, options =
|
|
4816
|
+
var _b = _a, { target = "stdout" } = _b, options = _chunkIP7ZGKHIjs.__objRest.call(void 0, _b, ["target"]);
|
|
4817
4817
|
if (!supportsHyperlinks[target]) {
|
|
4818
4818
|
if (options.fallback === false) {
|
|
4819
4819
|
return text2;
|
|
@@ -4823,7 +4823,7 @@ function terminalLink(text2, url2, _a = {}) {
|
|
|
4823
4823
|
return ansiEscapes.link(text2, url2);
|
|
4824
4824
|
}
|
|
4825
4825
|
terminalLink.isSupported = supportsHyperlinks.stdout;
|
|
4826
|
-
terminalLink.stderr = (text2, url2, options = {}) => terminalLink(text2, url2,
|
|
4826
|
+
terminalLink.stderr = (text2, url2, options = {}) => terminalLink(text2, url2, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, { target: "stderr" }, options));
|
|
4827
4827
|
terminalLink.stderr.isSupported = supportsHyperlinks.stderr;
|
|
4828
4828
|
var prompts$4 = {};
|
|
4829
4829
|
var { FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env;
|
|
@@ -9334,7 +9334,7 @@ async function prompt(questions = [], { onSubmit = noop, onCancel = noop } = {})
|
|
|
9334
9334
|
for (question of questions) {
|
|
9335
9335
|
({ name, type } = question);
|
|
9336
9336
|
if (typeof type === "function") {
|
|
9337
|
-
type = await type(answer,
|
|
9337
|
+
type = await type(answer, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, answers), question);
|
|
9338
9338
|
question["type"] = type;
|
|
9339
9339
|
}
|
|
9340
9340
|
if (!type)
|
|
@@ -9343,7 +9343,7 @@ async function prompt(questions = [], { onSubmit = noop, onCancel = noop } = {})
|
|
|
9343
9343
|
if (passOn.includes(key))
|
|
9344
9344
|
continue;
|
|
9345
9345
|
let value = question[key];
|
|
9346
|
-
question[key] = typeof value === "function" ? await value(answer,
|
|
9346
|
+
question[key] = typeof value === "function" ? await value(answer, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, answers), lastPrompt) : value;
|
|
9347
9347
|
}
|
|
9348
9348
|
lastPrompt = question;
|
|
9349
9349
|
if (typeof question.message !== "string") {
|
|
@@ -9459,7 +9459,7 @@ async function run(fn, args, options = {}) {
|
|
|
9459
9459
|
if (isGlobal) {
|
|
9460
9460
|
command = await fn(await getGlobalAgent(), args);
|
|
9461
9461
|
} else {
|
|
9462
|
-
let agent = await detect(
|
|
9462
|
+
let agent = await detect(_chunkIP7ZGKHIjs.__spreadProps.call(void 0, _chunkIP7ZGKHIjs.__spreadValues.call(void 0, {}, options), { cwd })) || await getDefaultAgent();
|
|
9463
9463
|
if (agent === "prompt") {
|
|
9464
9464
|
agent = (await prompts({
|
|
9465
9465
|
name: "agent",
|
|
@@ -9497,23 +9497,23 @@ async function run(fn, args, options = {}) {
|
|
|
9497
9497
|
|
|
9498
9498
|
|
|
9499
9499
|
// node/themes.ts
|
|
9500
|
-
var import_semver2 =
|
|
9500
|
+
var import_semver2 = _chunkIP7ZGKHIjs.__toESM.call(void 0, require_semver2());
|
|
9501
9501
|
var _isinstalledglobally = require('is-installed-globally'); var _isinstalledglobally2 = _interopRequireDefault(_isinstalledglobally);
|
|
9502
9502
|
var _kolorist = require('kolorist');
|
|
9503
9503
|
var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
|
|
9504
9504
|
|
|
9505
9505
|
// node/options.ts
|
|
9506
|
-
|
|
9506
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
9507
9507
|
|
|
9508
9508
|
var _utils = require('@antfu/utils');
|
|
9509
9509
|
var _debug2 = require('debug'); var _debug3 = _interopRequireDefault(_debug2);
|
|
9510
9510
|
|
|
9511
9511
|
// node/addons.ts
|
|
9512
|
-
|
|
9513
|
-
var import_semver =
|
|
9512
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
9513
|
+
var import_semver = _chunkIP7ZGKHIjs.__toESM.call(void 0, require_semver2());
|
|
9514
9514
|
|
|
9515
9515
|
function getPackageJson(root) {
|
|
9516
|
-
const file =
|
|
9516
|
+
const file = _chunkIP7ZGKHIjs.resolveImportPath.call(void 0, `${root}/package.json`, true);
|
|
9517
9517
|
if (file && _fsextra2.default.existsSync(file))
|
|
9518
9518
|
return _fsextra2.default.readJSON(file);
|
|
9519
9519
|
return {};
|
|
@@ -9545,7 +9545,7 @@ function resolvePluginName(name) {
|
|
|
9545
9545
|
return "";
|
|
9546
9546
|
if (isPath(name))
|
|
9547
9547
|
return name;
|
|
9548
|
-
if (
|
|
9548
|
+
if (_chunkIP7ZGKHIjs.packageExists.call(void 0, `slidev-addon-${name}`))
|
|
9549
9549
|
return `slidev-addon-${name}`;
|
|
9550
9550
|
return name;
|
|
9551
9551
|
}
|
|
@@ -9553,7 +9553,7 @@ function resolvePluginName(name) {
|
|
|
9553
9553
|
// node/options.ts
|
|
9554
9554
|
var debug = _debug3.default.call(void 0, "slidev:options");
|
|
9555
9555
|
function getClientRoot() {
|
|
9556
|
-
return _path.dirname.call(void 0,
|
|
9556
|
+
return _path.dirname.call(void 0, _chunkIP7ZGKHIjs.resolveImportPath.call(void 0, "@slidev/client/package.json", true));
|
|
9557
9557
|
}
|
|
9558
9558
|
function getCLIRoot() {
|
|
9559
9559
|
return _path.resolve.call(void 0, __dirname, "..");
|
|
@@ -9574,7 +9574,7 @@ function getAddonRoots(addons, entry) {
|
|
|
9574
9574
|
function getRoot(name, entry) {
|
|
9575
9575
|
if (isPath(name))
|
|
9576
9576
|
return _path.resolve.call(void 0, _path.dirname.call(void 0, entry), name);
|
|
9577
|
-
return _path.dirname.call(void 0,
|
|
9577
|
+
return _path.dirname.call(void 0, _chunkIP7ZGKHIjs.resolveImportPath.call(void 0, `${name}/package.json`, true));
|
|
9578
9578
|
}
|
|
9579
9579
|
function getUserRoot(options) {
|
|
9580
9580
|
const { entry: rawEntry = "slides.md", userRoot = process.cwd() } = options;
|
|
@@ -9593,7 +9593,7 @@ async function resolveOptions(options, mode2, promptForInstallation = true) {
|
|
|
9593
9593
|
if (await promptForThemeInstallation(theme) === false)
|
|
9594
9594
|
process.exit(1);
|
|
9595
9595
|
} else {
|
|
9596
|
-
if (!
|
|
9596
|
+
if (!_chunkIP7ZGKHIjs.packageExists.call(void 0, theme)) {
|
|
9597
9597
|
console.error(`Theme "${theme}" not found, have you installed it?`);
|
|
9598
9598
|
process.exit(1);
|
|
9599
9599
|
}
|
|
@@ -9665,11 +9665,11 @@ function resolveThemeName(name) {
|
|
|
9665
9665
|
return name;
|
|
9666
9666
|
if (isPath(name))
|
|
9667
9667
|
return name;
|
|
9668
|
-
if (
|
|
9668
|
+
if (_chunkIP7ZGKHIjs.packageExists.call(void 0, `@slidev/theme-${name}`))
|
|
9669
9669
|
return `@slidev/theme-${name}`;
|
|
9670
|
-
if (
|
|
9670
|
+
if (_chunkIP7ZGKHIjs.packageExists.call(void 0, `slidev-theme-${name}`))
|
|
9671
9671
|
return `slidev-theme-${name}`;
|
|
9672
|
-
if (
|
|
9672
|
+
if (_chunkIP7ZGKHIjs.packageExists.call(void 0, name))
|
|
9673
9673
|
return name;
|
|
9674
9674
|
if (officialThemes[name] != null)
|
|
9675
9675
|
return officialThemes[name];
|
|
@@ -9681,7 +9681,7 @@ async function promptForThemeInstallation(name) {
|
|
|
9681
9681
|
name = resolveThemeName(name);
|
|
9682
9682
|
if (!name)
|
|
9683
9683
|
return name;
|
|
9684
|
-
if (isPath(name) ||
|
|
9684
|
+
if (isPath(name) || _chunkIP7ZGKHIjs.packageExists.call(void 0, name))
|
|
9685
9685
|
return name;
|
|
9686
9686
|
const { confirm: confirm2 } = await _prompts2.default.call(void 0, {
|
|
9687
9687
|
name: "confirm",
|