@forsakringskassan/docs-generator 2.28.6 → 2.28.7
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-DIiF_B56.mjs → create-markdown-renderer-H4lN3OBL.mjs} +4 -4
- package/dist/{create-markdown-renderer-DIiF_B56.mjs.map → create-markdown-renderer-H4lN3OBL.mjs.map} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +3 -3
- package/dist/runtime.mjs +4308 -3024
- package/dist/{vendor-G1gaI4j7.mjs → vendor-D-BtdwMT.mjs} +6 -2
- package/dist/vendor-D-BtdwMT.mjs.map +1 -0
- package/dist/{vue3-xv_K1Yuq.mjs → vue3-CL9SiKLk.mjs} +2 -2
- package/dist/{vue3-xv_K1Yuq.mjs.map → vue3-CL9SiKLk.mjs.map} +1 -1
- package/dist/{worker-BsE8wOX-.mjs → worker-B2oL1sjV.mjs} +3 -3
- package/dist/{worker-BsE8wOX-.mjs.map → worker-B2oL1sjV.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/vendor-G1gaI4j7.mjs.map +0 -1
|
@@ -25702,9 +25702,13 @@ class I18n extends EventEmitter {
|
|
|
25702
25702
|
prepend: this.options.pluralSeparator,
|
|
25703
25703
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
25704
25704
|
});
|
|
25705
|
+
const usingLegacyFormatFunction = this.options.interpolation.format && this.options.interpolation.format !== defOpts.interpolation.format;
|
|
25706
|
+
if (usingLegacyFormatFunction) {
|
|
25707
|
+
this.logger.warn(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`);
|
|
25708
|
+
}
|
|
25705
25709
|
if (formatter && (!this.options.interpolation.format || this.options.interpolation.format === defOpts.interpolation.format)) {
|
|
25706
25710
|
s.formatter = createClassOnDemand(formatter);
|
|
25707
|
-
s.formatter.init(s, this.options);
|
|
25711
|
+
if (s.formatter.init) s.formatter.init(s, this.options);
|
|
25708
25712
|
this.options.interpolation.format = s.formatter.format.bind(s.formatter);
|
|
25709
25713
|
}
|
|
25710
25714
|
s.interpolator = new Interpolator(this.options);
|
|
@@ -56127,4 +56131,4 @@ var srcExports = requireSrc();
|
|
|
56127
56131
|
var tinylr = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
56128
56132
|
|
|
56129
56133
|
export { HighlightJS as H, MarkdownIt as M, createTwoFilesPatch as a, deflist_plugin as b, commonjsRequire as c, dedent as d, closest as e, distance as f, globSync as g, fm as h, isCI as i, glob as j, moduleImporter as k, cliProgress as l, minimatch as m, createInstance as n, fse as o, tinylr as t, watch$1 as w };
|
|
56130
|
-
//# sourceMappingURL=vendor-
|
|
56134
|
+
//# sourceMappingURL=vendor-D-BtdwMT.mjs.map
|