@forsakringskassan/docs-generator 3.0.4 → 3.1.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/{create-markdown-renderer-cnbxjnoS.mjs → create-markdown-renderer-castrIfY.mjs} +6 -6
- package/dist/{create-markdown-renderer-cnbxjnoS.mjs.map → create-markdown-renderer-castrIfY.mjs.map} +1 -1
- package/dist/{format-code.worker-Xf0JB1yl.mjs → format-code.worker-Cs0VeEOX.mjs} +2 -2
- package/dist/{format-code.worker-Xf0JB1yl.mjs.map → format-code.worker-Cs0VeEOX.mjs.map} +1 -1
- package/dist/index.d.mts +30 -1
- package/dist/index.mjs +126 -45
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +3 -3
- package/dist/processors/selectable-version.mjs +15 -2
- package/dist/runtime.mjs +442 -392
- package/dist/{vendor-s-84ehgc.mjs → vendor-DO1GigtJ.mjs} +77 -30
- package/dist/{vendor-s-84ehgc.mjs.map → vendor-DO1GigtJ.mjs.map} +1 -1
- package/dist/{vue3-RC792pPN.mjs → vue3-CnvFixWY.mjs} +15 -3
- package/dist/{vue3-RC792pPN.mjs.map → vue3-CnvFixWY.mjs.map} +1 -1
- package/dist/{worker-CVWE4d_P.mjs → worker-DO8E5WXF.mjs} +2 -2
- package/dist/{worker-CVWE4d_P.mjs.map → worker-DO8E5WXF.mjs.map} +1 -1
- package/package.json +1 -1
- package/templates/base.template.html +0 -9
- package/templates/partials/search-preload.html +8 -0
|
@@ -42583,7 +42583,12 @@ function requireHybi () {
|
|
|
42583
42583
|
if (error) return this._fail('extension_error', error.message);
|
|
42584
42584
|
|
|
42585
42585
|
var payload = message.data;
|
|
42586
|
-
|
|
42586
|
+
|
|
42587
|
+
if (payload.length > this._maxLength)
|
|
42588
|
+
return this._fail('too_large', 'WebSocket frame length too large');
|
|
42589
|
+
|
|
42590
|
+
if (message.opcode === this.OPCODES.text)
|
|
42591
|
+
payload = this._encode(payload);
|
|
42587
42592
|
|
|
42588
42593
|
if (payload === null)
|
|
42589
42594
|
return this._fail('encoding_error', 'Could not decode a text frame as UTF-8');
|
|
@@ -42923,6 +42928,7 @@ function requireDraft75 () {
|
|
|
42923
42928
|
|
|
42924
42929
|
case 1:
|
|
42925
42930
|
this._length = (octet & 0x7F) + 128 * this._length;
|
|
42931
|
+
if (this._length > this._maxLength) return this.close();
|
|
42926
42932
|
|
|
42927
42933
|
if (this._closing && this._length === 0) {
|
|
42928
42934
|
return this.close();
|
|
@@ -47994,6 +48000,8 @@ function requireUtils () {
|
|
|
47994
48000
|
var newIndex = getMaxIndex(target) + 1;
|
|
47995
48001
|
target[newIndex] = source;
|
|
47996
48002
|
setMaxIndex(target, newIndex);
|
|
48003
|
+
} else if (options && options.strictMerge) {
|
|
48004
|
+
return [target, source];
|
|
47997
48005
|
} else if (
|
|
47998
48006
|
(options && (options.plainObjects || options.allowPrototypes))
|
|
47999
48007
|
|| !has.call(Object.prototype, source)
|
|
@@ -48375,7 +48383,7 @@ function requireStringify () {
|
|
|
48375
48383
|
|
|
48376
48384
|
if (obj === null) {
|
|
48377
48385
|
if (strictNullHandling) {
|
|
48378
|
-
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
|
|
48386
|
+
return formatter(encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix);
|
|
48379
48387
|
}
|
|
48380
48388
|
|
|
48381
48389
|
obj = '';
|
|
@@ -48399,7 +48407,9 @@ function requireStringify () {
|
|
|
48399
48407
|
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
|
48400
48408
|
// we need to join elements in
|
|
48401
48409
|
if (encodeValuesOnly && encoder) {
|
|
48402
|
-
obj = utils.maybeMap(obj,
|
|
48410
|
+
obj = utils.maybeMap(obj, function (v) {
|
|
48411
|
+
return v == null ? v : encoder(v);
|
|
48412
|
+
});
|
|
48403
48413
|
}
|
|
48404
48414
|
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
|
|
48405
48415
|
} else if (isArray(filter)) {
|
|
@@ -48569,6 +48579,11 @@ function requireStringify () {
|
|
|
48569
48579
|
var sideChannel = getSideChannel();
|
|
48570
48580
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
48571
48581
|
var key = objKeys[i];
|
|
48582
|
+
|
|
48583
|
+
if (typeof key === 'undefined' || key === null) {
|
|
48584
|
+
continue;
|
|
48585
|
+
}
|
|
48586
|
+
|
|
48572
48587
|
var value = obj[key];
|
|
48573
48588
|
|
|
48574
48589
|
if (options.skipNulls && value === null) {
|
|
@@ -48602,10 +48617,10 @@ function requireStringify () {
|
|
|
48602
48617
|
if (options.charsetSentinel) {
|
|
48603
48618
|
if (options.charset === 'iso-8859-1') {
|
|
48604
48619
|
// encodeURIComponent('✓'), the "numeric entity" representation of a checkmark
|
|
48605
|
-
prefix += 'utf8=%26%2310003%3B
|
|
48620
|
+
prefix += 'utf8=%26%2310003%3B' + options.delimiter;
|
|
48606
48621
|
} else {
|
|
48607
48622
|
// encodeURIComponent('✓')
|
|
48608
|
-
prefix += 'utf8=%E2%9C%93
|
|
48623
|
+
prefix += 'utf8=%E2%9C%93' + options.delimiter;
|
|
48609
48624
|
}
|
|
48610
48625
|
}
|
|
48611
48626
|
|
|
@@ -48646,6 +48661,7 @@ function requireParse () {
|
|
|
48646
48661
|
parseArrays: true,
|
|
48647
48662
|
plainObjects: false,
|
|
48648
48663
|
strictDepth: false,
|
|
48664
|
+
strictMerge: true,
|
|
48649
48665
|
strictNullHandling: false,
|
|
48650
48666
|
throwOnLimitExceeded: false
|
|
48651
48667
|
};
|
|
@@ -48687,10 +48703,10 @@ function requireParse () {
|
|
|
48687
48703
|
var limit = options.parameterLimit === Infinity ? void undefined : options.parameterLimit;
|
|
48688
48704
|
var parts = cleanStr.split(
|
|
48689
48705
|
options.delimiter,
|
|
48690
|
-
options.throwOnLimitExceeded ? limit + 1 : limit
|
|
48706
|
+
options.throwOnLimitExceeded && typeof limit !== 'undefined' ? limit + 1 : limit
|
|
48691
48707
|
);
|
|
48692
48708
|
|
|
48693
|
-
if (options.throwOnLimitExceeded && parts.length > limit) {
|
|
48709
|
+
if (options.throwOnLimitExceeded && typeof limit !== 'undefined' && parts.length > limit) {
|
|
48694
48710
|
throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
|
|
48695
48711
|
}
|
|
48696
48712
|
|
|
@@ -48760,7 +48776,7 @@ function requireParse () {
|
|
|
48760
48776
|
|
|
48761
48777
|
if (key !== null) {
|
|
48762
48778
|
var existing = has.call(obj, key);
|
|
48763
|
-
if (existing && options.duplicates === 'combine') {
|
|
48779
|
+
if (existing && (options.duplicates === 'combine' || part.indexOf('[]=') > -1)) {
|
|
48764
48780
|
obj[key] = utils.combine(
|
|
48765
48781
|
obj[key],
|
|
48766
48782
|
val,
|
|
@@ -48834,9 +48850,12 @@ function requireParse () {
|
|
|
48834
48850
|
return leaf;
|
|
48835
48851
|
};
|
|
48836
48852
|
|
|
48837
|
-
|
|
48838
|
-
|
|
48853
|
+
// Split a key like "a[b][c[]]" into ['a', '[b]', '[c[]]'] while preserving
|
|
48854
|
+
// qs parse semantics for depth/prototype guards.
|
|
48855
|
+
var splitKeyIntoSegments = function splitKeyIntoSegments(originalKey, options) {
|
|
48856
|
+
var key = options.allowDots ? originalKey.replace(/\.([^.[]+)/g, '[$1]') : originalKey;
|
|
48839
48857
|
|
|
48858
|
+
// depth <= 0 keeps the whole key as one segment
|
|
48840
48859
|
if (options.depth <= 0) {
|
|
48841
48860
|
if (!options.plainObjects && has.call(Object.prototype, key)) {
|
|
48842
48861
|
if (!options.allowPrototypes) {
|
|
@@ -48847,14 +48866,11 @@ function requireParse () {
|
|
|
48847
48866
|
return [key];
|
|
48848
48867
|
}
|
|
48849
48868
|
|
|
48850
|
-
var
|
|
48851
|
-
var child = /(\[[^[\]]*])/g;
|
|
48852
|
-
|
|
48853
|
-
var segment = brackets.exec(key);
|
|
48854
|
-
var parent = segment ? key.slice(0, segment.index) : key;
|
|
48855
|
-
|
|
48856
|
-
var keys = [];
|
|
48869
|
+
var segments = [];
|
|
48857
48870
|
|
|
48871
|
+
// parent before the first '[' (may be empty if key starts with '[')
|
|
48872
|
+
var first = key.indexOf('[');
|
|
48873
|
+
var parent = first >= 0 ? key.slice(0, first) : key;
|
|
48858
48874
|
if (parent) {
|
|
48859
48875
|
if (!options.plainObjects && has.call(Object.prototype, parent)) {
|
|
48860
48876
|
if (!options.allowPrototypes) {
|
|
@@ -48862,32 +48878,62 @@ function requireParse () {
|
|
|
48862
48878
|
}
|
|
48863
48879
|
}
|
|
48864
48880
|
|
|
48865
|
-
|
|
48881
|
+
segments[segments.length] = parent;
|
|
48866
48882
|
}
|
|
48867
48883
|
|
|
48868
|
-
var
|
|
48869
|
-
|
|
48870
|
-
|
|
48884
|
+
var n = key.length;
|
|
48885
|
+
var open = first;
|
|
48886
|
+
var collected = 0;
|
|
48871
48887
|
|
|
48872
|
-
|
|
48873
|
-
|
|
48874
|
-
|
|
48875
|
-
|
|
48888
|
+
while (open >= 0 && collected < options.depth) {
|
|
48889
|
+
var level = 1;
|
|
48890
|
+
var i = open + 1;
|
|
48891
|
+
var close = -1;
|
|
48892
|
+
|
|
48893
|
+
// balance nested '[' and ']' inside this bracket group using a nesting level counter
|
|
48894
|
+
while (i < n && close < 0) {
|
|
48895
|
+
var cu = key.charCodeAt(i);
|
|
48896
|
+
if (cu === 0x5B) { // '['
|
|
48897
|
+
level += 1;
|
|
48898
|
+
} else if (cu === 0x5D) { // ']'
|
|
48899
|
+
level -= 1;
|
|
48900
|
+
if (level === 0) {
|
|
48901
|
+
close = i; // found matching close; loop will exit by condition
|
|
48902
|
+
}
|
|
48876
48903
|
}
|
|
48904
|
+
i += 1;
|
|
48905
|
+
}
|
|
48906
|
+
|
|
48907
|
+
if (close < 0) {
|
|
48908
|
+
// Unterminated group: wrap the raw remainder in one bracket pair so it stays
|
|
48909
|
+
// a single literal segment (e.g. "[[]b" -> "[[]b]"); we do not infer missing ']'.
|
|
48910
|
+
segments[segments.length] = '[' + key.slice(open) + ']';
|
|
48911
|
+
return segments;
|
|
48877
48912
|
}
|
|
48878
48913
|
|
|
48879
|
-
|
|
48914
|
+
var seg = key.slice(open, close + 1);
|
|
48915
|
+
// prototype guard for the content of this group
|
|
48916
|
+
var content = seg.slice(1, -1);
|
|
48917
|
+
if (!options.plainObjects && has.call(Object.prototype, content) && !options.allowPrototypes) {
|
|
48918
|
+
return;
|
|
48919
|
+
}
|
|
48920
|
+
|
|
48921
|
+
segments[segments.length] = seg;
|
|
48922
|
+
collected += 1;
|
|
48923
|
+
|
|
48924
|
+
// find the next '[' after this balanced group
|
|
48925
|
+
open = key.indexOf('[', close + 1);
|
|
48880
48926
|
}
|
|
48881
48927
|
|
|
48882
|
-
if (
|
|
48928
|
+
if (open >= 0) {
|
|
48883
48929
|
if (options.strictDepth === true) {
|
|
48884
48930
|
throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');
|
|
48885
48931
|
}
|
|
48886
48932
|
|
|
48887
|
-
|
|
48933
|
+
segments[segments.length] = '[' + key.slice(open) + ']';
|
|
48888
48934
|
}
|
|
48889
48935
|
|
|
48890
|
-
return
|
|
48936
|
+
return segments;
|
|
48891
48937
|
};
|
|
48892
48938
|
|
|
48893
48939
|
var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
|
|
@@ -48960,6 +49006,7 @@ function requireParse () {
|
|
|
48960
49006
|
parseArrays: opts.parseArrays !== false,
|
|
48961
49007
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
48962
49008
|
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
49009
|
+
strictMerge: typeof opts.strictMerge === 'boolean' ? !!opts.strictMerge : defaults.strictMerge,
|
|
48963
49010
|
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
|
|
48964
49011
|
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
|
|
48965
49012
|
};
|
|
@@ -70056,4 +70103,4 @@ var typescript = /*#__PURE__*/Object.freeze({
|
|
|
70056
70103
|
});
|
|
70057
70104
|
|
|
70058
70105
|
export { HighlightJS as H, MarkdownIt as M, Ze$a as Z, resolveConfig as a, createTwoFilesPatch$1 as b, createSyncFn as c, dedent$1 as d, deflist_plugin as e, format2 as f, closest as g, distance as h, fm$2 as i, isCI as j, cliProgress as k, tinylr as l, moduleImporter as m, createInstance as n, fse as o, inter as p, runAsWorker as r, ts$6 as t, watch$1 as w };
|
|
70059
|
-
//# sourceMappingURL=vendor-
|
|
70106
|
+
//# sourceMappingURL=vendor-DO1GigtJ.mjs.map
|