@forsakringskassan/docs-generator 3.0.0 → 3.0.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-CoqQjBrC.mjs → create-markdown-renderer-C-rQVf_R.mjs} +4 -4
- package/dist/{create-markdown-renderer-CoqQjBrC.mjs.map → create-markdown-renderer-C-rQVf_R.mjs.map} +1 -1
- package/dist/{format-code.worker-CE6SMet0.mjs → format-code.worker-BwtL4Ldq.mjs} +2 -2
- package/dist/{format-code.worker-CE6SMet0.mjs.map → format-code.worker-BwtL4Ldq.mjs.map} +1 -1
- package/dist/index.mjs +190 -178
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +2 -2
- package/dist/runtime.mjs +734 -516
- package/dist/{vendor-B7bJ2okl.mjs → vendor-CyiP4ufo.mjs} +10 -5
- package/dist/{vendor-B7bJ2okl.mjs.map → vendor-CyiP4ufo.mjs.map} +1 -1
- package/package.json +1 -1
|
@@ -17290,11 +17290,15 @@ function keysFromSelector(selector, opts) {
|
|
|
17290
17290
|
} = selector(createProxy());
|
|
17291
17291
|
const keySeparator = opts?.keySeparator ?? '.';
|
|
17292
17292
|
const nsSeparator = opts?.nsSeparator ?? ':';
|
|
17293
|
+
const strict = opts?.enableSelector === 'strict';
|
|
17293
17294
|
if (path.length > 1 && nsSeparator) {
|
|
17294
17295
|
const ns = opts?.ns;
|
|
17295
|
-
const
|
|
17296
|
-
if (
|
|
17297
|
-
|
|
17296
|
+
const nsList = strict ? Array.isArray(ns) ? ns : ns ? [ns] : null : Array.isArray(ns) ? ns : null;
|
|
17297
|
+
if (nsList) {
|
|
17298
|
+
const candidates = strict ? nsList : nsList.length > 1 ? nsList.slice(1) : [];
|
|
17299
|
+
if (candidates.includes(path[0])) {
|
|
17300
|
+
return `${path[0]}${nsSeparator}${path.slice(1).join(keySeparator)}`;
|
|
17301
|
+
}
|
|
17298
17302
|
}
|
|
17299
17303
|
}
|
|
17300
17304
|
return path.join(keySeparator);
|
|
@@ -18493,6 +18497,7 @@ const get$1 = () => ({
|
|
|
18493
18497
|
nsSeparator: ':',
|
|
18494
18498
|
pluralSeparator: '_',
|
|
18495
18499
|
contextSeparator: '_',
|
|
18500
|
+
enableSelector: false,
|
|
18496
18501
|
partialBundledLanguages: false,
|
|
18497
18502
|
saveMissing: false,
|
|
18498
18503
|
updateMissing: false,
|
|
@@ -69922,5 +69927,5 @@ var typescript = /*#__PURE__*/Object.freeze({
|
|
|
69922
69927
|
parsers: ld
|
|
69923
69928
|
});
|
|
69924
69929
|
|
|
69925
|
-
export { HighlightJS as H, MarkdownIt as M, Ze$a as Z,
|
|
69926
|
-
//# sourceMappingURL=vendor-
|
|
69930
|
+
export { HighlightJS as H, MarkdownIt as M, Ze$a as Z, closest as a, createInstance as b, cliProgress as c, createSyncFn as d, createTwoFilesPatch$1 as e, dedent$1 as f, deflist_plugin as g, distance as h, fm$2 as i, format2 as j, fse as k, inter as l, isCI as m, moduleImporter as n, runAsWorker as o, ts$6 as p, resolveConfig as r, tinylr as t, watch$1 as w };
|
|
69931
|
+
//# sourceMappingURL=vendor-CyiP4ufo.mjs.map
|