@commercetools-frontend/application-config 22.22.0 → 22.23.1
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.
|
@@ -96,7 +96,7 @@ const LOADED_CONFIG_TYPES = {
|
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
99
|
-
function _isNativeReflectConstruct() {
|
|
99
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
100
100
|
let MissingOrInvalidConfigError = /*#__PURE__*/function (_Error) {
|
|
101
101
|
_inherits(MissingOrInvalidConfigError, _Error);
|
|
102
102
|
var _super = _createSuper(MissingOrInvalidConfigError);
|
|
@@ -174,6 +174,7 @@ const loadConfig = applicationPath => {
|
|
|
174
174
|
|
|
175
175
|
// Transifex's Structured JSON format.
|
|
176
176
|
// https://help.transifex.com/en/articles/6220899-structured-json
|
|
177
|
+
|
|
177
178
|
/**
|
|
178
179
|
* NOTE:
|
|
179
180
|
* Allows variable placeholders. Supported types are:
|
|
@@ -96,7 +96,7 @@ const LOADED_CONFIG_TYPES = {
|
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
99
|
-
function _isNativeReflectConstruct() {
|
|
99
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
100
100
|
let MissingOrInvalidConfigError = /*#__PURE__*/function (_Error) {
|
|
101
101
|
_inherits(MissingOrInvalidConfigError, _Error);
|
|
102
102
|
var _super = _createSuper(MissingOrInvalidConfigError);
|
|
@@ -174,6 +174,7 @@ const loadConfig = applicationPath => {
|
|
|
174
174
|
|
|
175
175
|
// Transifex's Structured JSON format.
|
|
176
176
|
// https://help.transifex.com/en/articles/6220899-structured-json
|
|
177
|
+
|
|
177
178
|
/**
|
|
178
179
|
* NOTE:
|
|
179
180
|
* Allows variable placeholders. Supported types are:
|
|
@@ -64,7 +64,7 @@ const LOADED_CONFIG_TYPES = {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
67
|
-
function _isNativeReflectConstruct() {
|
|
67
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
68
68
|
let MissingOrInvalidConfigError = /*#__PURE__*/function (_Error) {
|
|
69
69
|
_inherits(MissingOrInvalidConfigError, _Error);
|
|
70
70
|
var _super = _createSuper(MissingOrInvalidConfigError);
|
|
@@ -142,6 +142,7 @@ const loadConfig = applicationPath => {
|
|
|
142
142
|
|
|
143
143
|
// Transifex's Structured JSON format.
|
|
144
144
|
// https://help.transifex.com/en/articles/6220899-structured-json
|
|
145
|
+
|
|
145
146
|
/**
|
|
146
147
|
* NOTE:
|
|
147
148
|
* Allows variable placeholders. Supported types are:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-config",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.23.1",
|
|
4
4
|
"description": "Configuration utilities for building Custom Applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@babel/register": "^7.22.15",
|
|
46
46
|
"@babel/runtime": "^7.22.15",
|
|
47
47
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
48
|
-
"@commercetools-frontend/babel-preset-mc-app": "22.
|
|
49
|
-
"@commercetools-frontend/constants": "22.
|
|
48
|
+
"@commercetools-frontend/babel-preset-mc-app": "22.23.1",
|
|
49
|
+
"@commercetools-frontend/constants": "22.23.1",
|
|
50
50
|
"@types/dompurify": "^2.4.0",
|
|
51
51
|
"@types/lodash": "^4.14.198",
|
|
52
52
|
"@types/react": "^17.0.56",
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"dompurify": "^2.4.7",
|
|
57
57
|
"jsdom": "^21.1.2",
|
|
58
58
|
"lodash": "4.17.21",
|
|
59
|
-
"omit-empty-es": "1.
|
|
59
|
+
"omit-empty-es": "1.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/jsdom": "^21.1.2",
|
|
63
|
-
"json-schema-to-typescript": "13.
|
|
63
|
+
"json-schema-to-typescript": "13.1.2",
|
|
64
64
|
"shelljs": "0.8.5",
|
|
65
|
-
"@commercetools-frontend/assets": "22.
|
|
65
|
+
"@commercetools-frontend/assets": "22.23.1"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": "16.x || >=18.0.0"
|