@prezly/theme-kit-core 10.5.1 → 10.5.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.
|
@@ -34,4 +34,7 @@ describe('getShortestLocaleSlug', () => {
|
|
|
34
34
|
it('returns full code when trying to shorten to region code for es-419', () => {
|
|
35
35
|
expect((0, _getShortestLocaleSlug.getShortestLocaleSlug)('es_419', context)).toBe('es-419');
|
|
36
36
|
});
|
|
37
|
+
it('returns full code when trying to shorten to region code for zg-Hant', () => {
|
|
38
|
+
expect((0, _getShortestLocaleSlug.getShortestLocaleSlug)('zh_Hant', context)).toBe('zh-hant');
|
|
39
|
+
});
|
|
37
40
|
});
|
|
@@ -32,4 +32,7 @@ describe('getShortestLocaleSlug', () => {
|
|
|
32
32
|
it('returns full code when trying to shorten to region code for es-419', () => {
|
|
33
33
|
expect(getShortestLocaleSlug('es_419', context)).toBe('es-419');
|
|
34
34
|
});
|
|
35
|
+
it('returns full code when trying to shorten to region code for zg-Hant', () => {
|
|
36
|
+
expect(getShortestLocaleSlug('zh_Hant', context)).toBe('zh-hant');
|
|
37
|
+
});
|
|
35
38
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prezly/theme-kit-core",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.2",
|
|
4
4
|
"description": "Data layer and utility library for developing Prezly themes with JavaScript",
|
|
5
5
|
"main": "build/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "8fd422777f84523ae315f086b0395e33da3d8507"
|
|
78
78
|
}
|