@steroidsjs/core 2.1.1 → 2.2.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.
@@ -28,21 +28,6 @@ var moment_1 = __importDefault(require("moment"));
28
28
  var isObject_1 = __importDefault(require("lodash-es/isObject"));
29
29
  require("moment/locale/it");
30
30
  require("moment/locale/ru");
31
- // Fix load locale data
32
- if (process.env.IS_SSR) {
33
- // @ts-ignore
34
- global.IntlMessageFormat = intl_messageformat_1["default"];
35
- require('intl-messageformat/dist/locale-data/ru');
36
- // @ts-ignore
37
- delete global.IntlMessageFormat;
38
- }
39
- else {
40
- // @ts-ignore
41
- window.IntlMessageFormat = intl_messageformat_1["default"];
42
- require('intl-messageformat/dist/locale-data/ru');
43
- // @ts-ignore
44
- delete window.IntlMessageFormat;
45
- }
46
31
  /**
47
32
  * Locale Component
48
33
  * Компонент для локализации приложения. Поддерживает конфигурацию языка и временной зоны
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/core",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "",
5
5
  "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "dot-prop-immutable": "^2.1.0",
30
30
  "fileup-core": "^1.2.0",
31
31
  "history": "^4.10.1",
32
- "intl-messageformat": "^2.2.0",
32
+ "intl-messageformat": "^9.11.0",
33
33
  "js-cookie": "^2.2.1",
34
34
  "load-js": "^3.0.3",
35
35
  "lodash": "^4.17.21",
@@ -82,6 +82,6 @@
82
82
  "jest": "^26.6.3",
83
83
  "jest-enzyme": "^7.1.2",
84
84
  "ts-jest": "^26.5.1",
85
- "typescript": "^4.1.3"
85
+ "typescript": "4.2.2"
86
86
  }
87
87
  }