@commercetools-frontend-extensions/change-history 8.43.0 → 8.43.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.
|
@@ -137,7 +137,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
|
137
137
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
138
138
|
|
|
139
139
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
140
|
-
var version = "8.43.
|
|
140
|
+
var version = "8.43.2";
|
|
141
141
|
|
|
142
142
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
143
143
|
/**
|
|
@@ -4452,7 +4452,7 @@ const getChangeNameMessage = (resource, change) => {
|
|
|
4452
4452
|
let message = null;
|
|
4453
4453
|
const changeLabel = `${change}Label`;
|
|
4454
4454
|
if (resource) {
|
|
4455
|
-
message = MESSAGE_MAPPER$1[resource][changeLabel];
|
|
4455
|
+
message = MESSAGE_MAPPER$1[resource]?.[changeLabel] ?? null;
|
|
4456
4456
|
if (!message) {
|
|
4457
4457
|
message = assetMessages[changeLabel];
|
|
4458
4458
|
}
|
|
@@ -22233,7 +22233,6 @@ ChangeHistoryLink.displayName = 'ChangeHistoryLink';
|
|
|
22233
22233
|
// EXAMPLE
|
|
22234
22234
|
// export const FEATURE_FLAG_NAME = 'featureFlagName';
|
|
22235
22235
|
// eslint-disable-next-line import/prefer-default-export
|
|
22236
|
-
|
|
22237
22236
|
const FLAGS = {
|
|
22238
22237
|
// [FEATURE_FLAG_NAME]: set true or false,
|
|
22239
22238
|
};
|
|
@@ -137,7 +137,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
|
137
137
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
138
138
|
|
|
139
139
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
140
|
-
var version = "8.43.
|
|
140
|
+
var version = "8.43.2";
|
|
141
141
|
|
|
142
142
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
143
143
|
/**
|
|
@@ -4425,7 +4425,7 @@ const getChangeNameMessage = (resource, change) => {
|
|
|
4425
4425
|
let message = null;
|
|
4426
4426
|
const changeLabel = `${change}Label`;
|
|
4427
4427
|
if (resource) {
|
|
4428
|
-
message = MESSAGE_MAPPER$1[resource][changeLabel];
|
|
4428
|
+
message = MESSAGE_MAPPER$1[resource]?.[changeLabel] ?? null;
|
|
4429
4429
|
if (!message) {
|
|
4430
4430
|
message = assetMessages[changeLabel];
|
|
4431
4431
|
}
|
|
@@ -22022,7 +22022,6 @@ ChangeHistoryLink.displayName = 'ChangeHistoryLink';
|
|
|
22022
22022
|
// EXAMPLE
|
|
22023
22023
|
// export const FEATURE_FLAG_NAME = 'featureFlagName';
|
|
22024
22024
|
// eslint-disable-next-line import/prefer-default-export
|
|
22025
|
-
|
|
22026
22025
|
const FLAGS = {
|
|
22027
22026
|
// [FEATURE_FLAG_NAME]: set true or false,
|
|
22028
22027
|
};
|
|
@@ -81,7 +81,7 @@ import { oneLineTrim } from 'common-tags';
|
|
|
81
81
|
import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
|
|
82
82
|
|
|
83
83
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
84
|
-
var version = "8.43.
|
|
84
|
+
var version = "8.43.2";
|
|
85
85
|
|
|
86
86
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
87
87
|
/**
|
|
@@ -4396,7 +4396,7 @@ const getChangeNameMessage = (resource, change) => {
|
|
|
4396
4396
|
let message = null;
|
|
4397
4397
|
const changeLabel = `${change}Label`;
|
|
4398
4398
|
if (resource) {
|
|
4399
|
-
message = MESSAGE_MAPPER$1[resource][changeLabel];
|
|
4399
|
+
message = MESSAGE_MAPPER$1[resource]?.[changeLabel] ?? null;
|
|
4400
4400
|
if (!message) {
|
|
4401
4401
|
message = assetMessages[changeLabel];
|
|
4402
4402
|
}
|
|
@@ -22177,7 +22177,6 @@ ChangeHistoryLink.displayName = 'ChangeHistoryLink';
|
|
|
22177
22177
|
// EXAMPLE
|
|
22178
22178
|
// export const FEATURE_FLAG_NAME = 'featureFlagName';
|
|
22179
22179
|
// eslint-disable-next-line import/prefer-default-export
|
|
22180
|
-
|
|
22181
22180
|
const FLAGS = {
|
|
22182
22181
|
// [FEATURE_FLAG_NAME]: set true or false,
|
|
22183
22182
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend-extensions/change-history",
|
|
3
3
|
"description": "Change history shared components and utilities",
|
|
4
|
-
"version": "8.43.
|
|
4
|
+
"version": "8.43.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/plugin-transform-runtime": "7.24.7",
|
|
39
|
-
"@commercetools-frontend/application-components": "24.
|
|
40
|
-
"@commercetools-frontend/application-shell": "24.
|
|
41
|
-
"@commercetools-frontend/application-shell-connectors": "24.
|
|
42
|
-
"@commercetools-frontend/assets": "24.
|
|
43
|
-
"@commercetools-frontend/constants": "24.
|
|
44
|
-
"@commercetools-frontend/i18n": "24.
|
|
45
|
-
"@commercetools-frontend/l10n": "24.
|
|
46
|
-
"@commercetools-frontend/mc-scripts": "24.
|
|
47
|
-
"@commercetools-frontend/permissions": "24.
|
|
48
|
-
"@commercetools-frontend/sdk": "24.
|
|
49
|
-
"@commercetools-frontend/sentry": "24.
|
|
39
|
+
"@commercetools-frontend/application-components": "24.5.0",
|
|
40
|
+
"@commercetools-frontend/application-shell": "24.5.0",
|
|
41
|
+
"@commercetools-frontend/application-shell-connectors": "24.5.0",
|
|
42
|
+
"@commercetools-frontend/assets": "24.5.0",
|
|
43
|
+
"@commercetools-frontend/constants": "24.5.0",
|
|
44
|
+
"@commercetools-frontend/i18n": "24.5.0",
|
|
45
|
+
"@commercetools-frontend/l10n": "24.5.0",
|
|
46
|
+
"@commercetools-frontend/mc-scripts": "24.5.0",
|
|
47
|
+
"@commercetools-frontend/permissions": "24.5.0",
|
|
48
|
+
"@commercetools-frontend/sdk": "24.5.0",
|
|
49
|
+
"@commercetools-frontend/sentry": "24.5.0",
|
|
50
50
|
"@commercetools-frontend/ui-kit": "20.0.0",
|
|
51
51
|
"@commercetools-uikit/design-system": "20.0.0",
|
|
52
52
|
"@commercetools-uikit/filters": "20.0.0",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"@formatjs/cli": "6.4.2",
|
|
56
56
|
"@preconstruct/cli": "2.8.3",
|
|
57
57
|
"@testing-library/react": "16.2.0",
|
|
58
|
-
"@types/cypress": "^1.1.6",
|
|
59
58
|
"@types/jest": "29.5.12",
|
|
60
59
|
"@types/lodash": "^4.14.202",
|
|
61
60
|
"@types/react": "19.0.7",
|
|
@@ -96,7 +95,7 @@
|
|
|
96
95
|
"react-select": "5.8.0"
|
|
97
96
|
},
|
|
98
97
|
"engines": {
|
|
99
|
-
"node": "^
|
|
98
|
+
"node": "^22",
|
|
100
99
|
"pnpm": "^9"
|
|
101
100
|
},
|
|
102
101
|
"scripts": {
|