@prezly/theme-kit-intl 10.2.2 → 10.3.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.
@@ -30,8 +30,6 @@ function pickSupportedLocale(locale) {
30
30
  if (_Locale.Locale.isEqual(locale, 'zh_HK')) {
31
31
  return 'zh-CN';
32
32
  }
33
-
34
- // eslint-disable-next-line no-console
35
33
  console.warn("Unsupported locale provided: \"".concat(typeof locale === 'string' ? locale : isoCode, "\"."));
36
34
  return _constants.DEFAULT_LOCALE;
37
35
  }
@@ -24,8 +24,6 @@ export function pickSupportedLocale(locale) {
24
24
  if (Locale.isEqual(locale, 'zh_HK')) {
25
25
  return 'zh-CN';
26
26
  }
27
-
28
- // eslint-disable-next-line no-console
29
27
  console.warn("Unsupported locale provided: \"".concat(typeof locale === 'string' ? locale : isoCode, "\"."));
30
28
  return DEFAULT_LOCALE;
31
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-intl",
3
- "version": "10.2.2",
3
+ "version": "10.3.0",
4
4
  "description": "Translations for Prezly themes",
5
5
  "type": "module",
6
6
  "main": "build/index.mjs",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "54d10f592180d2c67a87152a0c10106d5656a2a2"
76
+ "gitHead": "eea5189d4e5ffd67f39f20a73797d0b77bc8fef6"
77
77
  }