@lingui/core 4.11.4 → 4.12.0
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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ const formats = {
|
|
|
61
61
|
plural: plural
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
const UNICODE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}
|
|
64
|
+
const UNICODE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/;
|
|
65
65
|
const OCTOTHORPE_PH = "%__lingui_octothorpe__%";
|
|
66
66
|
const getDefaultFormats = (locale, passedLocales, formats = {}) => {
|
|
67
67
|
const locales = passedLocales || locale;
|
package/dist/index.mjs
CHANGED
|
@@ -59,7 +59,7 @@ const formats = {
|
|
|
59
59
|
plural: plural
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
const UNICODE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}
|
|
62
|
+
const UNICODE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/;
|
|
63
63
|
const OCTOTHORPE_PH = "%__lingui_octothorpe__%";
|
|
64
64
|
const getDefaultFormats = (locale, passedLocales, formats = {}) => {
|
|
65
65
|
const locales = passedLocales || locale;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "I18n tools for javascript",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
],
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@babel/runtime": "^7.20.13",
|
|
57
|
-
"@lingui/message-utils": "4.
|
|
57
|
+
"@lingui/message-utils": "4.12.0",
|
|
58
58
|
"unraw": "^3.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@lingui/jest-mocks": "*",
|
|
62
62
|
"unbuild": "2.0.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "83a6ea03f22d6284bdcf067bde7b406c4e3520bc"
|
|
65
65
|
}
|