@forsakringskassan/docs-generator 2.27.0 → 2.27.2
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/{create-markdown-renderer-B9Y9VYNq.mjs → create-markdown-renderer-YqKvt1km.mjs} +4 -4
- package/dist/create-markdown-renderer-YqKvt1km.mjs.map +1 -0
- package/dist/index.mjs +3 -3
- package/dist/markdown.mjs +3 -3
- package/dist/processors/selectable-version.mjs +49 -5
- package/dist/style/core.css +1 -0
- package/dist/style/index.css +1 -0
- package/dist/{vendor-DiqWVUfS.mjs → vendor-DmS_A2Yc.mjs} +12 -8
- package/dist/vendor-DmS_A2Yc.mjs.map +1 -0
- package/dist/{vue3-BzNzaBbK.mjs → vue3-B3wFqisN.mjs} +2 -2
- package/dist/{vue3-BzNzaBbK.mjs.map → vue3-B3wFqisN.mjs.map} +1 -1
- package/dist/{worker-BnI39lrZ.mjs → worker-CsTO-ve1.mjs} +3 -3
- package/dist/{worker-BnI39lrZ.mjs.map → worker-CsTO-ve1.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/create-markdown-renderer-B9Y9VYNq.mjs.map +0 -1
- package/dist/vendor-DiqWVUfS.mjs.map +0 -1
|
@@ -27,6 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
// node_modules/semver/internal/constants.js
|
|
28
28
|
var require_constants = __commonJS({
|
|
29
29
|
"node_modules/semver/internal/constants.js"(exports, module) {
|
|
30
|
+
"use strict";
|
|
30
31
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
31
32
|
var MAX_LENGTH = 256;
|
|
32
33
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
@@ -58,6 +59,7 @@ var require_constants = __commonJS({
|
|
|
58
59
|
// node_modules/semver/internal/debug.js
|
|
59
60
|
var require_debug = __commonJS({
|
|
60
61
|
"node_modules/semver/internal/debug.js"(exports, module) {
|
|
62
|
+
"use strict";
|
|
61
63
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
62
64
|
};
|
|
63
65
|
module.exports = debug;
|
|
@@ -67,6 +69,7 @@ var require_debug = __commonJS({
|
|
|
67
69
|
// node_modules/semver/internal/re.js
|
|
68
70
|
var require_re = __commonJS({
|
|
69
71
|
"node_modules/semver/internal/re.js"(exports, module) {
|
|
72
|
+
"use strict";
|
|
70
73
|
var {
|
|
71
74
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
72
75
|
MAX_SAFE_BUILD_LENGTH,
|
|
@@ -107,8 +110,8 @@ var require_re = __commonJS({
|
|
|
107
110
|
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
108
111
|
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
109
112
|
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
110
|
-
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.
|
|
111
|
-
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.
|
|
113
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
|
|
114
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
112
115
|
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
113
116
|
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
114
117
|
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
@@ -154,6 +157,7 @@ var require_re = __commonJS({
|
|
|
154
157
|
// node_modules/semver/internal/parse-options.js
|
|
155
158
|
var require_parse_options = __commonJS({
|
|
156
159
|
"node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
160
|
+
"use strict";
|
|
157
161
|
var looseOption = Object.freeze({ loose: true });
|
|
158
162
|
var emptyOpts = Object.freeze({});
|
|
159
163
|
var parseOptions = (options) => {
|
|
@@ -172,6 +176,7 @@ var require_parse_options = __commonJS({
|
|
|
172
176
|
// node_modules/semver/internal/identifiers.js
|
|
173
177
|
var require_identifiers = __commonJS({
|
|
174
178
|
"node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
179
|
+
"use strict";
|
|
175
180
|
var numeric = /^[0-9]+$/;
|
|
176
181
|
var compareIdentifiers = (a, b) => {
|
|
177
182
|
const anum = numeric.test(a);
|
|
@@ -193,9 +198,10 @@ var require_identifiers = __commonJS({
|
|
|
193
198
|
// node_modules/semver/classes/semver.js
|
|
194
199
|
var require_semver = __commonJS({
|
|
195
200
|
"node_modules/semver/classes/semver.js"(exports, module) {
|
|
201
|
+
"use strict";
|
|
196
202
|
var debug = require_debug();
|
|
197
203
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
198
|
-
var { safeRe: re,
|
|
204
|
+
var { safeRe: re, t } = require_re();
|
|
199
205
|
var parseOptions = require_parse_options();
|
|
200
206
|
var { compareIdentifiers } = require_identifiers();
|
|
201
207
|
var SemVer = class _SemVer {
|
|
@@ -340,8 +346,7 @@ var require_semver = __commonJS({
|
|
|
340
346
|
throw new Error("invalid increment argument: identifier is empty");
|
|
341
347
|
}
|
|
342
348
|
if (identifier) {
|
|
343
|
-
const
|
|
344
|
-
const match = `-${identifier}`.match(r);
|
|
349
|
+
const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
|
|
345
350
|
if (!match || match[1] !== identifier) {
|
|
346
351
|
throw new Error(`invalid identifier: ${identifier}`);
|
|
347
352
|
}
|
|
@@ -454,6 +459,7 @@ var require_semver = __commonJS({
|
|
|
454
459
|
// node_modules/semver/functions/parse.js
|
|
455
460
|
var require_parse = __commonJS({
|
|
456
461
|
"node_modules/semver/functions/parse.js"(exports, module) {
|
|
462
|
+
"use strict";
|
|
457
463
|
var SemVer = require_semver();
|
|
458
464
|
var parse = (version, options, throwErrors = false) => {
|
|
459
465
|
if (version instanceof SemVer) {
|
|
@@ -475,6 +481,7 @@ var require_parse = __commonJS({
|
|
|
475
481
|
// node_modules/semver/functions/valid.js
|
|
476
482
|
var require_valid = __commonJS({
|
|
477
483
|
"node_modules/semver/functions/valid.js"(exports, module) {
|
|
484
|
+
"use strict";
|
|
478
485
|
var parse = require_parse();
|
|
479
486
|
var valid = (version, options) => {
|
|
480
487
|
const v = parse(version, options);
|
|
@@ -487,6 +494,7 @@ var require_valid = __commonJS({
|
|
|
487
494
|
// node_modules/semver/functions/clean.js
|
|
488
495
|
var require_clean = __commonJS({
|
|
489
496
|
"node_modules/semver/functions/clean.js"(exports, module) {
|
|
497
|
+
"use strict";
|
|
490
498
|
var parse = require_parse();
|
|
491
499
|
var clean = (version, options) => {
|
|
492
500
|
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -499,6 +507,7 @@ var require_clean = __commonJS({
|
|
|
499
507
|
// node_modules/semver/functions/inc.js
|
|
500
508
|
var require_inc = __commonJS({
|
|
501
509
|
"node_modules/semver/functions/inc.js"(exports, module) {
|
|
510
|
+
"use strict";
|
|
502
511
|
var SemVer = require_semver();
|
|
503
512
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
504
513
|
if (typeof options === "string") {
|
|
@@ -522,6 +531,7 @@ var require_inc = __commonJS({
|
|
|
522
531
|
// node_modules/semver/functions/diff.js
|
|
523
532
|
var require_diff = __commonJS({
|
|
524
533
|
"node_modules/semver/functions/diff.js"(exports, module) {
|
|
534
|
+
"use strict";
|
|
525
535
|
var parse = require_parse();
|
|
526
536
|
var diff = (version1, version2) => {
|
|
527
537
|
const v1 = parse(version1, null, true);
|
|
@@ -565,6 +575,7 @@ var require_diff = __commonJS({
|
|
|
565
575
|
// node_modules/semver/functions/major.js
|
|
566
576
|
var require_major = __commonJS({
|
|
567
577
|
"node_modules/semver/functions/major.js"(exports, module) {
|
|
578
|
+
"use strict";
|
|
568
579
|
var SemVer = require_semver();
|
|
569
580
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
570
581
|
module.exports = major;
|
|
@@ -574,6 +585,7 @@ var require_major = __commonJS({
|
|
|
574
585
|
// node_modules/semver/functions/minor.js
|
|
575
586
|
var require_minor = __commonJS({
|
|
576
587
|
"node_modules/semver/functions/minor.js"(exports, module) {
|
|
588
|
+
"use strict";
|
|
577
589
|
var SemVer = require_semver();
|
|
578
590
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
579
591
|
module.exports = minor;
|
|
@@ -583,6 +595,7 @@ var require_minor = __commonJS({
|
|
|
583
595
|
// node_modules/semver/functions/patch.js
|
|
584
596
|
var require_patch = __commonJS({
|
|
585
597
|
"node_modules/semver/functions/patch.js"(exports, module) {
|
|
598
|
+
"use strict";
|
|
586
599
|
var SemVer = require_semver();
|
|
587
600
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
588
601
|
module.exports = patch;
|
|
@@ -592,6 +605,7 @@ var require_patch = __commonJS({
|
|
|
592
605
|
// node_modules/semver/functions/prerelease.js
|
|
593
606
|
var require_prerelease = __commonJS({
|
|
594
607
|
"node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
608
|
+
"use strict";
|
|
595
609
|
var parse = require_parse();
|
|
596
610
|
var prerelease = (version, options) => {
|
|
597
611
|
const parsed = parse(version, options);
|
|
@@ -604,6 +618,7 @@ var require_prerelease = __commonJS({
|
|
|
604
618
|
// node_modules/semver/functions/compare.js
|
|
605
619
|
var require_compare = __commonJS({
|
|
606
620
|
"node_modules/semver/functions/compare.js"(exports, module) {
|
|
621
|
+
"use strict";
|
|
607
622
|
var SemVer = require_semver();
|
|
608
623
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
609
624
|
module.exports = compare;
|
|
@@ -613,6 +628,7 @@ var require_compare = __commonJS({
|
|
|
613
628
|
// node_modules/semver/functions/rcompare.js
|
|
614
629
|
var require_rcompare = __commonJS({
|
|
615
630
|
"node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
631
|
+
"use strict";
|
|
616
632
|
var compare = require_compare();
|
|
617
633
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
618
634
|
module.exports = rcompare;
|
|
@@ -622,6 +638,7 @@ var require_rcompare = __commonJS({
|
|
|
622
638
|
// node_modules/semver/functions/compare-loose.js
|
|
623
639
|
var require_compare_loose = __commonJS({
|
|
624
640
|
"node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
641
|
+
"use strict";
|
|
625
642
|
var compare = require_compare();
|
|
626
643
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
627
644
|
module.exports = compareLoose;
|
|
@@ -631,6 +648,7 @@ var require_compare_loose = __commonJS({
|
|
|
631
648
|
// node_modules/semver/functions/compare-build.js
|
|
632
649
|
var require_compare_build = __commonJS({
|
|
633
650
|
"node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
651
|
+
"use strict";
|
|
634
652
|
var SemVer = require_semver();
|
|
635
653
|
var compareBuild = (a, b, loose) => {
|
|
636
654
|
const versionA = new SemVer(a, loose);
|
|
@@ -644,6 +662,7 @@ var require_compare_build = __commonJS({
|
|
|
644
662
|
// node_modules/semver/functions/sort.js
|
|
645
663
|
var require_sort = __commonJS({
|
|
646
664
|
"node_modules/semver/functions/sort.js"(exports, module) {
|
|
665
|
+
"use strict";
|
|
647
666
|
var compareBuild = require_compare_build();
|
|
648
667
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
649
668
|
module.exports = sort;
|
|
@@ -653,6 +672,7 @@ var require_sort = __commonJS({
|
|
|
653
672
|
// node_modules/semver/functions/rsort.js
|
|
654
673
|
var require_rsort = __commonJS({
|
|
655
674
|
"node_modules/semver/functions/rsort.js"(exports, module) {
|
|
675
|
+
"use strict";
|
|
656
676
|
var compareBuild = require_compare_build();
|
|
657
677
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
658
678
|
module.exports = rsort;
|
|
@@ -662,6 +682,7 @@ var require_rsort = __commonJS({
|
|
|
662
682
|
// node_modules/semver/functions/gt.js
|
|
663
683
|
var require_gt = __commonJS({
|
|
664
684
|
"node_modules/semver/functions/gt.js"(exports, module) {
|
|
685
|
+
"use strict";
|
|
665
686
|
var compare = require_compare();
|
|
666
687
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
667
688
|
module.exports = gt;
|
|
@@ -671,6 +692,7 @@ var require_gt = __commonJS({
|
|
|
671
692
|
// node_modules/semver/functions/lt.js
|
|
672
693
|
var require_lt = __commonJS({
|
|
673
694
|
"node_modules/semver/functions/lt.js"(exports, module) {
|
|
695
|
+
"use strict";
|
|
674
696
|
var compare = require_compare();
|
|
675
697
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
676
698
|
module.exports = lt;
|
|
@@ -680,6 +702,7 @@ var require_lt = __commonJS({
|
|
|
680
702
|
// node_modules/semver/functions/eq.js
|
|
681
703
|
var require_eq = __commonJS({
|
|
682
704
|
"node_modules/semver/functions/eq.js"(exports, module) {
|
|
705
|
+
"use strict";
|
|
683
706
|
var compare = require_compare();
|
|
684
707
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
685
708
|
module.exports = eq;
|
|
@@ -689,6 +712,7 @@ var require_eq = __commonJS({
|
|
|
689
712
|
// node_modules/semver/functions/neq.js
|
|
690
713
|
var require_neq = __commonJS({
|
|
691
714
|
"node_modules/semver/functions/neq.js"(exports, module) {
|
|
715
|
+
"use strict";
|
|
692
716
|
var compare = require_compare();
|
|
693
717
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
694
718
|
module.exports = neq;
|
|
@@ -698,6 +722,7 @@ var require_neq = __commonJS({
|
|
|
698
722
|
// node_modules/semver/functions/gte.js
|
|
699
723
|
var require_gte = __commonJS({
|
|
700
724
|
"node_modules/semver/functions/gte.js"(exports, module) {
|
|
725
|
+
"use strict";
|
|
701
726
|
var compare = require_compare();
|
|
702
727
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
703
728
|
module.exports = gte;
|
|
@@ -707,6 +732,7 @@ var require_gte = __commonJS({
|
|
|
707
732
|
// node_modules/semver/functions/lte.js
|
|
708
733
|
var require_lte = __commonJS({
|
|
709
734
|
"node_modules/semver/functions/lte.js"(exports, module) {
|
|
735
|
+
"use strict";
|
|
710
736
|
var compare = require_compare();
|
|
711
737
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
712
738
|
module.exports = lte;
|
|
@@ -716,6 +742,7 @@ var require_lte = __commonJS({
|
|
|
716
742
|
// node_modules/semver/functions/cmp.js
|
|
717
743
|
var require_cmp = __commonJS({
|
|
718
744
|
"node_modules/semver/functions/cmp.js"(exports, module) {
|
|
745
|
+
"use strict";
|
|
719
746
|
var eq = require_eq();
|
|
720
747
|
var neq = require_neq();
|
|
721
748
|
var gt = require_gt();
|
|
@@ -765,6 +792,7 @@ var require_cmp = __commonJS({
|
|
|
765
792
|
// node_modules/semver/functions/coerce.js
|
|
766
793
|
var require_coerce = __commonJS({
|
|
767
794
|
"node_modules/semver/functions/coerce.js"(exports, module) {
|
|
795
|
+
"use strict";
|
|
768
796
|
var SemVer = require_semver();
|
|
769
797
|
var parse = require_parse();
|
|
770
798
|
var { safeRe: re, t } = require_re();
|
|
@@ -810,6 +838,7 @@ var require_coerce = __commonJS({
|
|
|
810
838
|
// node_modules/semver/internal/lrucache.js
|
|
811
839
|
var require_lrucache = __commonJS({
|
|
812
840
|
"node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
841
|
+
"use strict";
|
|
813
842
|
var LRUCache = class {
|
|
814
843
|
constructor() {
|
|
815
844
|
this.max = 1e3;
|
|
@@ -847,6 +876,7 @@ var require_lrucache = __commonJS({
|
|
|
847
876
|
// node_modules/semver/classes/range.js
|
|
848
877
|
var require_range = __commonJS({
|
|
849
878
|
"node_modules/semver/classes/range.js"(exports, module) {
|
|
879
|
+
"use strict";
|
|
850
880
|
var SPACE_CHARACTERS = /\s+/g;
|
|
851
881
|
var Range = class _Range {
|
|
852
882
|
constructor(range, options) {
|
|
@@ -1222,6 +1252,7 @@ var require_range = __commonJS({
|
|
|
1222
1252
|
// node_modules/semver/classes/comparator.js
|
|
1223
1253
|
var require_comparator = __commonJS({
|
|
1224
1254
|
"node_modules/semver/classes/comparator.js"(exports, module) {
|
|
1255
|
+
"use strict";
|
|
1225
1256
|
var ANY = Symbol("SemVer ANY");
|
|
1226
1257
|
var Comparator = class _Comparator {
|
|
1227
1258
|
static get ANY() {
|
|
@@ -1334,6 +1365,7 @@ var require_comparator = __commonJS({
|
|
|
1334
1365
|
// node_modules/semver/functions/satisfies.js
|
|
1335
1366
|
var require_satisfies = __commonJS({
|
|
1336
1367
|
"node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
1368
|
+
"use strict";
|
|
1337
1369
|
var Range = require_range();
|
|
1338
1370
|
var satisfies = (version, range, options) => {
|
|
1339
1371
|
try {
|
|
@@ -1350,6 +1382,7 @@ var require_satisfies = __commonJS({
|
|
|
1350
1382
|
// node_modules/semver/ranges/to-comparators.js
|
|
1351
1383
|
var require_to_comparators = __commonJS({
|
|
1352
1384
|
"node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
1385
|
+
"use strict";
|
|
1353
1386
|
var Range = require_range();
|
|
1354
1387
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1355
1388
|
module.exports = toComparators;
|
|
@@ -1359,6 +1392,7 @@ var require_to_comparators = __commonJS({
|
|
|
1359
1392
|
// node_modules/semver/ranges/max-satisfying.js
|
|
1360
1393
|
var require_max_satisfying = __commonJS({
|
|
1361
1394
|
"node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
1395
|
+
"use strict";
|
|
1362
1396
|
var SemVer = require_semver();
|
|
1363
1397
|
var Range = require_range();
|
|
1364
1398
|
var maxSatisfying = (versions, range, options) => {
|
|
@@ -1387,6 +1421,7 @@ var require_max_satisfying = __commonJS({
|
|
|
1387
1421
|
// node_modules/semver/ranges/min-satisfying.js
|
|
1388
1422
|
var require_min_satisfying = __commonJS({
|
|
1389
1423
|
"node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
1424
|
+
"use strict";
|
|
1390
1425
|
var SemVer = require_semver();
|
|
1391
1426
|
var Range = require_range();
|
|
1392
1427
|
var minSatisfying = (versions, range, options) => {
|
|
@@ -1415,6 +1450,7 @@ var require_min_satisfying = __commonJS({
|
|
|
1415
1450
|
// node_modules/semver/ranges/min-version.js
|
|
1416
1451
|
var require_min_version = __commonJS({
|
|
1417
1452
|
"node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
1453
|
+
"use strict";
|
|
1418
1454
|
var SemVer = require_semver();
|
|
1419
1455
|
var Range = require_range();
|
|
1420
1456
|
var gt = require_gt();
|
|
@@ -1473,6 +1509,7 @@ var require_min_version = __commonJS({
|
|
|
1473
1509
|
// node_modules/semver/ranges/valid.js
|
|
1474
1510
|
var require_valid2 = __commonJS({
|
|
1475
1511
|
"node_modules/semver/ranges/valid.js"(exports, module) {
|
|
1512
|
+
"use strict";
|
|
1476
1513
|
var Range = require_range();
|
|
1477
1514
|
var validRange = (range, options) => {
|
|
1478
1515
|
try {
|
|
@@ -1488,6 +1525,7 @@ var require_valid2 = __commonJS({
|
|
|
1488
1525
|
// node_modules/semver/ranges/outside.js
|
|
1489
1526
|
var require_outside = __commonJS({
|
|
1490
1527
|
"node_modules/semver/ranges/outside.js"(exports, module) {
|
|
1528
|
+
"use strict";
|
|
1491
1529
|
var SemVer = require_semver();
|
|
1492
1530
|
var Comparator = require_comparator();
|
|
1493
1531
|
var { ANY } = Comparator;
|
|
@@ -1556,6 +1594,7 @@ var require_outside = __commonJS({
|
|
|
1556
1594
|
// node_modules/semver/ranges/gtr.js
|
|
1557
1595
|
var require_gtr = __commonJS({
|
|
1558
1596
|
"node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
1597
|
+
"use strict";
|
|
1559
1598
|
var outside = require_outside();
|
|
1560
1599
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
1561
1600
|
module.exports = gtr;
|
|
@@ -1565,6 +1604,7 @@ var require_gtr = __commonJS({
|
|
|
1565
1604
|
// node_modules/semver/ranges/ltr.js
|
|
1566
1605
|
var require_ltr = __commonJS({
|
|
1567
1606
|
"node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
1607
|
+
"use strict";
|
|
1568
1608
|
var outside = require_outside();
|
|
1569
1609
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
1570
1610
|
module.exports = ltr;
|
|
@@ -1574,6 +1614,7 @@ var require_ltr = __commonJS({
|
|
|
1574
1614
|
// node_modules/semver/ranges/intersects.js
|
|
1575
1615
|
var require_intersects = __commonJS({
|
|
1576
1616
|
"node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
1617
|
+
"use strict";
|
|
1577
1618
|
var Range = require_range();
|
|
1578
1619
|
var intersects = (r1, r2, options) => {
|
|
1579
1620
|
r1 = new Range(r1, options);
|
|
@@ -1587,6 +1628,7 @@ var require_intersects = __commonJS({
|
|
|
1587
1628
|
// node_modules/semver/ranges/simplify.js
|
|
1588
1629
|
var require_simplify = __commonJS({
|
|
1589
1630
|
"node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
1631
|
+
"use strict";
|
|
1590
1632
|
var satisfies = require_satisfies();
|
|
1591
1633
|
var compare = require_compare();
|
|
1592
1634
|
module.exports = (versions, range, options) => {
|
|
@@ -1636,6 +1678,7 @@ var require_simplify = __commonJS({
|
|
|
1636
1678
|
// node_modules/semver/ranges/subset.js
|
|
1637
1679
|
var require_subset = __commonJS({
|
|
1638
1680
|
"node_modules/semver/ranges/subset.js"(exports, module) {
|
|
1681
|
+
"use strict";
|
|
1639
1682
|
var Range = require_range();
|
|
1640
1683
|
var Comparator = require_comparator();
|
|
1641
1684
|
var { ANY } = Comparator;
|
|
@@ -1797,6 +1840,7 @@ var require_subset = __commonJS({
|
|
|
1797
1840
|
// node_modules/semver/index.js
|
|
1798
1841
|
var require_semver2 = __commonJS({
|
|
1799
1842
|
"node_modules/semver/index.js"(exports, module) {
|
|
1843
|
+
"use strict";
|
|
1800
1844
|
var internalRe = require_re();
|
|
1801
1845
|
var constants = require_constants();
|
|
1802
1846
|
var SemVer = require_semver();
|
package/dist/style/core.css
CHANGED
package/dist/style/index.css
CHANGED
|
@@ -24468,13 +24468,14 @@ class Translator extends EventEmitter {
|
|
|
24468
24468
|
if (lng) this.language = lng;
|
|
24469
24469
|
}
|
|
24470
24470
|
exists(key) {
|
|
24471
|
-
let
|
|
24471
|
+
let o = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
24472
24472
|
interpolation: {}
|
|
24473
24473
|
};
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
}
|
|
24477
|
-
|
|
24474
|
+
const opt = {
|
|
24475
|
+
...o
|
|
24476
|
+
};
|
|
24477
|
+
if (key == null) return false;
|
|
24478
|
+
const resolved = this.resolve(key, opt);
|
|
24478
24479
|
return resolved?.res !== undefined;
|
|
24479
24480
|
}
|
|
24480
24481
|
extractFromKey(key, opt) {
|
|
@@ -24501,7 +24502,10 @@ class Translator extends EventEmitter {
|
|
|
24501
24502
|
namespaces: isString(namespaces) ? [namespaces] : namespaces
|
|
24502
24503
|
};
|
|
24503
24504
|
}
|
|
24504
|
-
translate(keys,
|
|
24505
|
+
translate(keys, o, lastKey) {
|
|
24506
|
+
let opt = typeof o === 'object' ? {
|
|
24507
|
+
...o
|
|
24508
|
+
} : o;
|
|
24505
24509
|
if (typeof opt !== 'object' && this.options.overloadTranslationOptionHandler) {
|
|
24506
24510
|
opt = this.options.overloadTranslationOptionHandler(arguments);
|
|
24507
24511
|
}
|
|
@@ -24679,7 +24683,7 @@ class Translator extends EventEmitter {
|
|
|
24679
24683
|
res = this.extendTranslation(res, keys, opt, resolved, lastKey);
|
|
24680
24684
|
if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = `${namespace}:${key}`;
|
|
24681
24685
|
if ((usedKey || usedDefault) && this.options.parseMissingKeyHandler) {
|
|
24682
|
-
res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}:${key}` : key, usedDefault ? res : undefined);
|
|
24686
|
+
res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}:${key}` : key, usedDefault ? res : undefined, opt);
|
|
24683
24687
|
}
|
|
24684
24688
|
}
|
|
24685
24689
|
if (returnDetails) {
|
|
@@ -56706,4 +56710,4 @@ var srcExports = requireSrc();
|
|
|
56706
56710
|
var tinylr = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
56707
56711
|
|
|
56708
56712
|
export { HighlightJS as H, MarkdownIt as M, deflist_plugin as a, closest as b, createTwoFilesPatch as c, dedent as d, distance as e, fm as f, globSync as g, glob as h, isCI as i, moduleImporter as j, cliProgress as k, createInstance as l, minimatch as m, fse as n, tinylr as t, watch$1 as w };
|
|
56709
|
-
//# sourceMappingURL=vendor-
|
|
56713
|
+
//# sourceMappingURL=vendor-DmS_A2Yc.mjs.map
|