@tolgee/format-icu 4.10.0-rc.d9fac95.0 → 5.0.0-alpha.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/tolgee-format-icu.cjs.js +2 -2
- package/dist/tolgee-format-icu.cjs.js.map +1 -1
- package/dist/tolgee-format-icu.cjs.min.js.map +1 -1
- package/dist/tolgee-format-icu.esm.js +2 -2
- package/dist/tolgee-format-icu.esm.js.map +1 -1
- package/dist/tolgee-format-icu.esm.min.mjs.map +1 -1
- package/dist/tolgee-format-icu.umd.js +2 -2
- package/dist/tolgee-format-icu.umd.js.map +1 -1
- package/dist/tolgee-format-icu.umd.min.js.map +1 -1
- package/lib/createFormatIcu.d.ts +2 -0
- package/package.json +3 -3
- package/src/FormatIcu.ts +2 -2
- package/src/{FormatIcuCreator.test.ts → createFormatIcu.test.ts} +3 -3
- package/src/{FormatIcuCreator.ts → createFormatIcu.ts} +3 -3
- package/lib/FormatIcuCreator.d.ts +0 -2
|
@@ -3888,7 +3888,7 @@ See the accompanying LICENSE file for terms.
|
|
|
3888
3888
|
*/
|
|
3889
3889
|
var IntlMessageFormat = IntlMessageFormat$1;
|
|
3890
3890
|
|
|
3891
|
-
const
|
|
3891
|
+
const createFormatIcu = () => {
|
|
3892
3892
|
const locales = new Map();
|
|
3893
3893
|
function isLocaleValid(locale) {
|
|
3894
3894
|
try {
|
|
@@ -3920,7 +3920,7 @@ const FormatIcuCreator = () => {
|
|
|
3920
3920
|
};
|
|
3921
3921
|
|
|
3922
3922
|
const FormatIcu = () => (tolgee, tools) => {
|
|
3923
|
-
tools.setFinalFormatter(
|
|
3923
|
+
tools.setFinalFormatter(createFormatIcu());
|
|
3924
3924
|
return tolgee;
|
|
3925
3925
|
};
|
|
3926
3926
|
|