@jetshop/intl 5.16.0 → 5.16.2-build-tools.77
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/config.ts +2 -2
- package/global.d.ts +1 -0
- package/package.json +6 -4
package/config.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import formatMessage from 'format-message';
|
|
2
|
-
import
|
|
2
|
+
import { underscored_crc32 } from 'format-message-generate-id';
|
|
3
3
|
import type { IntlOptions } from '@jetshop/core/components/ConfigProvider';
|
|
4
4
|
|
|
5
5
|
interface setupIntlProps extends IntlOptions {
|
|
@@ -39,7 +39,7 @@ const createTranslator = ({
|
|
|
39
39
|
[fallback]: { ...fallbackMessages }
|
|
40
40
|
},
|
|
41
41
|
locale: [locale, fallback],
|
|
42
|
-
generateId:
|
|
42
|
+
generateId: underscored_crc32,
|
|
43
43
|
...options
|
|
44
44
|
});
|
|
45
45
|
|
package/global.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetshop/intl",
|
|
3
|
-
"version": "5.16.
|
|
3
|
+
"version": "5.16.2-build-tools.77+539ee0513",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
30
|
-
"@typescript-eslint/parser": "^
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
|
30
|
+
"@typescript-eslint/parser": "^5.53.0",
|
|
31
31
|
"babel-plugin-transform-format-message": "^6.2.3",
|
|
32
32
|
"cross-spawn": "^6.0.5",
|
|
33
33
|
"eslint-plugin-format-message": "^6.2.3",
|
|
@@ -37,9 +37,11 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"babel-core": "^6.26.0",
|
|
39
39
|
"eslint-plugin-format-message": "^6.2.3",
|
|
40
|
+
"format-message-generate-id": "^6.2.4",
|
|
40
41
|
"glob": "^7.1.3",
|
|
41
42
|
"jest": "^24.8.0",
|
|
42
43
|
"lint-staged": "^8.1.5",
|
|
43
44
|
"prettier": "^2.3.2"
|
|
44
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"gitHead": "539ee0513eef9ea7e80af0976d65ae3d462790b9"
|
|
45
47
|
}
|