@commercetools-frontend-extensions/delete-resources-modal 1.4.0 → 1.5.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.
@@ -66,7 +66,6 @@ function reducer(state, action) {
66
66
  dropAreaState: 'ready-for-drop',
67
67
  progress: 0,
68
68
  jobId: undefined,
69
- totalResourceCount: undefined,
70
69
  validationProcessed: undefined,
71
70
  isValidating: false
72
71
  });
@@ -77,7 +76,6 @@ function reducer(state, action) {
77
76
  dropAreaState: 'ready-for-drop',
78
77
  progress: 0,
79
78
  jobId: undefined,
80
- totalResourceCount: undefined,
81
79
  validationProcessed: undefined,
82
80
  isValidating: false
83
81
  });
@@ -111,11 +109,6 @@ function reducer(state, action) {
111
109
  jobId: action.jobId
112
110
  });
113
111
  }
114
- if (action.type === 'setTotalResourceCount') {
115
- return _objectSpread$7(_objectSpread$7({}, state), {}, {
116
- totalResourceCount: action.totalResourceCount
117
- });
118
- }
119
112
  if (action.type === 'setValidationProgress') {
120
113
  return _objectSpread$7(_objectSpread$7({}, state), {}, {
121
114
  validationProcessed: action.processed,
@@ -167,9 +160,6 @@ const initialActions = {
167
160
  setJobId(_jobId) {
168
161
  /**/
169
162
  },
170
- setTotalResourceCount(_totalResourceCount) {
171
- /**/
172
- },
173
163
  setValidationProgress(_params) {
174
164
  /**/
175
165
  }
@@ -232,10 +222,6 @@ const DeleteResourcesProvider = props => {
232
222
  type: 'setJobId',
233
223
  jobId
234
224
  });
235
- const setTotalResourceCount = totalResourceCount => dispatch({
236
- type: 'setTotalResourceCount',
237
- totalResourceCount
238
- });
239
225
  const setValidationProgress = _ref => {
240
226
  let processed = _ref.processed,
241
227
  isValidating = _ref.isValidating;
@@ -256,7 +242,6 @@ const DeleteResourcesProvider = props => {
256
242
  setAbortController,
257
243
  setProgress,
258
244
  setJobId,
259
- setTotalResourceCount,
260
245
  setValidationProgress
261
246
  };
262
247
  const handleClose = function () {
@@ -540,10 +525,6 @@ const useUpload = () => {
540
525
  actions.setCurrentStep('upload-error');
541
526
  return false;
542
527
  }
543
- if (isFileImportJobFlowEnabled) {
544
- const resourceCount = await operations.countUniqueResourcesInCsv(file);
545
- actions.setTotalResourceCount(resourceCount);
546
- }
547
528
  return true;
548
529
  };
549
530
  const handleUploadError = error => {
@@ -995,7 +976,7 @@ const Uploading = () => {
995
976
  actions = _useDeleteResourcesCo.actions,
996
977
  onClose = _useDeleteResourcesCo.onClose;
997
978
  if (!state.droppedFile?.name) return null;
998
- const showValidationProgress = state.isValidating && state.totalResourceCount && (state.validationProcessed ?? 0) > 0;
979
+ const showValidationProgress = state.isValidating && (state.validationProcessed ?? 0) > 0;
999
980
  const statusMessage = showValidationProgress ? intl.formatMessage(messages$2.validatingResources, {
1000
981
  processed: intl.formatNumber(state.validationProcessed ?? 0)
1001
982
  }) : undefined;
@@ -1442,17 +1423,17 @@ const getChunkImport = locale => {
1442
1423
  const intlLocale = i18n.mapLocaleToIntlLocale(locale);
1443
1424
  switch (intlLocale) {
1444
1425
  case 'de':
1445
- return Promise.resolve().then(function () { return require('./de-daab94cc.cjs.dev.js'); });
1426
+ return Promise.resolve().then(function () { return require('./de-ba5e320c.cjs.dev.js'); });
1446
1427
  case 'es':
1447
- return Promise.resolve().then(function () { return require('./es-2e0af6bc.cjs.dev.js'); });
1428
+ return Promise.resolve().then(function () { return require('./es-2adfdf5e.cjs.dev.js'); });
1448
1429
  case 'fr-FR':
1449
- return Promise.resolve().then(function () { return require('./fr-FR-c9dc1e0d.cjs.dev.js'); });
1430
+ return Promise.resolve().then(function () { return require('./fr-FR-d65ebbb8.cjs.dev.js'); });
1450
1431
  case 'ja':
1451
1432
  return Promise.resolve().then(function () { return require('./ja-9bd5f452.cjs.dev.js'); });
1452
1433
  case 'pt-BR':
1453
- return Promise.resolve().then(function () { return require('./pt-BR-5faf9bfa.cjs.dev.js'); });
1434
+ return Promise.resolve().then(function () { return require('./pt-BR-8dfe0fde.cjs.dev.js'); });
1454
1435
  default:
1455
- return Promise.resolve().then(function () { return require('./en-4441d5e8.cjs.dev.js'); });
1436
+ return Promise.resolve().then(function () { return require('./en-ce72b543.cjs.dev.js'); });
1456
1437
  }
1457
1438
  };
1458
1439
  const loadMessages = async locale => {
@@ -66,7 +66,6 @@ function reducer(state, action) {
66
66
  dropAreaState: 'ready-for-drop',
67
67
  progress: 0,
68
68
  jobId: undefined,
69
- totalResourceCount: undefined,
70
69
  validationProcessed: undefined,
71
70
  isValidating: false
72
71
  });
@@ -77,7 +76,6 @@ function reducer(state, action) {
77
76
  dropAreaState: 'ready-for-drop',
78
77
  progress: 0,
79
78
  jobId: undefined,
80
- totalResourceCount: undefined,
81
79
  validationProcessed: undefined,
82
80
  isValidating: false
83
81
  });
@@ -111,11 +109,6 @@ function reducer(state, action) {
111
109
  jobId: action.jobId
112
110
  });
113
111
  }
114
- if (action.type === 'setTotalResourceCount') {
115
- return _objectSpread$7(_objectSpread$7({}, state), {}, {
116
- totalResourceCount: action.totalResourceCount
117
- });
118
- }
119
112
  if (action.type === 'setValidationProgress') {
120
113
  return _objectSpread$7(_objectSpread$7({}, state), {}, {
121
114
  validationProcessed: action.processed,
@@ -167,9 +160,6 @@ const initialActions = {
167
160
  setJobId(_jobId) {
168
161
  /**/
169
162
  },
170
- setTotalResourceCount(_totalResourceCount) {
171
- /**/
172
- },
173
163
  setValidationProgress(_params) {
174
164
  /**/
175
165
  }
@@ -232,10 +222,6 @@ const DeleteResourcesProvider = props => {
232
222
  type: 'setJobId',
233
223
  jobId
234
224
  });
235
- const setTotalResourceCount = totalResourceCount => dispatch({
236
- type: 'setTotalResourceCount',
237
- totalResourceCount
238
- });
239
225
  const setValidationProgress = _ref => {
240
226
  let processed = _ref.processed,
241
227
  isValidating = _ref.isValidating;
@@ -256,7 +242,6 @@ const DeleteResourcesProvider = props => {
256
242
  setAbortController,
257
243
  setProgress,
258
244
  setJobId,
259
- setTotalResourceCount,
260
245
  setValidationProgress
261
246
  };
262
247
  const handleClose = function () {
@@ -540,10 +525,6 @@ const useUpload = () => {
540
525
  actions.setCurrentStep('upload-error');
541
526
  return false;
542
527
  }
543
- if (isFileImportJobFlowEnabled) {
544
- const resourceCount = await operations.countUniqueResourcesInCsv(file);
545
- actions.setTotalResourceCount(resourceCount);
546
- }
547
528
  return true;
548
529
  };
549
530
  const handleUploadError = error => {
@@ -995,7 +976,7 @@ const Uploading = () => {
995
976
  actions = _useDeleteResourcesCo.actions,
996
977
  onClose = _useDeleteResourcesCo.onClose;
997
978
  if (!state.droppedFile?.name) return null;
998
- const showValidationProgress = state.isValidating && state.totalResourceCount && (state.validationProcessed ?? 0) > 0;
979
+ const showValidationProgress = state.isValidating && (state.validationProcessed ?? 0) > 0;
999
980
  const statusMessage = showValidationProgress ? intl.formatMessage(messages$2.validatingResources, {
1000
981
  processed: intl.formatNumber(state.validationProcessed ?? 0)
1001
982
  }) : undefined;
@@ -1433,17 +1414,17 @@ const getChunkImport = locale => {
1433
1414
  const intlLocale = i18n.mapLocaleToIntlLocale(locale);
1434
1415
  switch (intlLocale) {
1435
1416
  case 'de':
1436
- return Promise.resolve().then(function () { return require('./de-9dc6c41a.cjs.prod.js'); });
1417
+ return Promise.resolve().then(function () { return require('./de-c050367a.cjs.prod.js'); });
1437
1418
  case 'es':
1438
- return Promise.resolve().then(function () { return require('./es-64fd0c08.cjs.prod.js'); });
1419
+ return Promise.resolve().then(function () { return require('./es-cafa5187.cjs.prod.js'); });
1439
1420
  case 'fr-FR':
1440
- return Promise.resolve().then(function () { return require('./fr-FR-90c7194f.cjs.prod.js'); });
1421
+ return Promise.resolve().then(function () { return require('./fr-FR-0604e720.cjs.prod.js'); });
1441
1422
  case 'ja':
1442
1423
  return Promise.resolve().then(function () { return require('./ja-37632763.cjs.prod.js'); });
1443
1424
  case 'pt-BR':
1444
- return Promise.resolve().then(function () { return require('./pt-BR-2da91387.cjs.prod.js'); });
1425
+ return Promise.resolve().then(function () { return require('./pt-BR-df2ac7c4.cjs.prod.js'); });
1445
1426
  default:
1446
- return Promise.resolve().then(function () { return require('./en-a983f180.cjs.prod.js'); });
1427
+ return Promise.resolve().then(function () { return require('./en-6ae3473e.cjs.prod.js'); });
1447
1428
  }
1448
1429
  };
1449
1430
  const loadMessages = async locale => {
@@ -11,7 +11,7 @@ import { defineMessages, useIntl, FormattedMessage, IntlProvider } from 'react-i
11
11
  import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
12
12
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
13
13
  import React, { useContext, useState, useEffect } from 'react';
14
- import { deleteImportContainer, EnabledDropArea, FileDroppedArea, ActiveDragDropArea, useFileUpload, getRowCount, toBytes, hasSingleKeyColumn, countUniqueResourcesInCsv, isAbortError, HttpError, IMPORT_MAX_FILE_SIZE_MB, IMPORT_LEGACY_MAX_FILE_SIZE_MB, IMPORT_MAX_ITEM_COUNT, IMPORT_LEGACY_MAX_ROW_COUNT, FileDropArea as FileDropArea$1, UploadingModal, mapFileUploadErrorsToUploadFileErrorRows, processFileImportJob, processUploadedFile } from '@commercetools-frontend-extensions/operations';
14
+ import { deleteImportContainer, EnabledDropArea, FileDroppedArea, ActiveDragDropArea, useFileUpload, getRowCount, toBytes, hasSingleKeyColumn, isAbortError, HttpError, IMPORT_MAX_FILE_SIZE_MB, IMPORT_LEGACY_MAX_FILE_SIZE_MB, IMPORT_MAX_ITEM_COUNT, IMPORT_LEGACY_MAX_ROW_COUNT, FileDropArea as FileDropArea$1, UploadingModal, mapFileUploadErrorsToUploadFileErrorRows, processFileImportJob, processUploadedFile } from '@commercetools-frontend-extensions/operations';
15
15
  import { jsx, jsxs } from '@emotion/react/jsx-runtime';
16
16
  import { FormDialog, InfoDialog } from '@commercetools-frontend/application-components';
17
17
  import { Masking } from '@commercetools-frontend/fullstory';
@@ -48,7 +48,6 @@ function reducer(state, action) {
48
48
  dropAreaState: 'ready-for-drop',
49
49
  progress: 0,
50
50
  jobId: undefined,
51
- totalResourceCount: undefined,
52
51
  validationProcessed: undefined,
53
52
  isValidating: false
54
53
  });
@@ -59,7 +58,6 @@ function reducer(state, action) {
59
58
  dropAreaState: 'ready-for-drop',
60
59
  progress: 0,
61
60
  jobId: undefined,
62
- totalResourceCount: undefined,
63
61
  validationProcessed: undefined,
64
62
  isValidating: false
65
63
  });
@@ -93,11 +91,6 @@ function reducer(state, action) {
93
91
  jobId: action.jobId
94
92
  });
95
93
  }
96
- if (action.type === 'setTotalResourceCount') {
97
- return _objectSpread$7(_objectSpread$7({}, state), {}, {
98
- totalResourceCount: action.totalResourceCount
99
- });
100
- }
101
94
  if (action.type === 'setValidationProgress') {
102
95
  return _objectSpread$7(_objectSpread$7({}, state), {}, {
103
96
  validationProcessed: action.processed,
@@ -149,9 +142,6 @@ const initialActions = {
149
142
  setJobId(_jobId) {
150
143
  /**/
151
144
  },
152
- setTotalResourceCount(_totalResourceCount) {
153
- /**/
154
- },
155
145
  setValidationProgress(_params) {
156
146
  /**/
157
147
  }
@@ -214,10 +204,6 @@ const DeleteResourcesProvider = props => {
214
204
  type: 'setJobId',
215
205
  jobId
216
206
  });
217
- const setTotalResourceCount = totalResourceCount => dispatch({
218
- type: 'setTotalResourceCount',
219
- totalResourceCount
220
- });
221
207
  const setValidationProgress = _ref => {
222
208
  let processed = _ref.processed,
223
209
  isValidating = _ref.isValidating;
@@ -238,7 +224,6 @@ const DeleteResourcesProvider = props => {
238
224
  setAbortController,
239
225
  setProgress,
240
226
  setJobId,
241
- setTotalResourceCount,
242
227
  setValidationProgress
243
228
  };
244
229
  const handleClose = function () {
@@ -522,10 +507,6 @@ const useUpload = () => {
522
507
  actions.setCurrentStep('upload-error');
523
508
  return false;
524
509
  }
525
- if (isFileImportJobFlowEnabled) {
526
- const resourceCount = await countUniqueResourcesInCsv(file);
527
- actions.setTotalResourceCount(resourceCount);
528
- }
529
510
  return true;
530
511
  };
531
512
  const handleUploadError = error => {
@@ -977,7 +958,7 @@ const Uploading = () => {
977
958
  actions = _useDeleteResourcesCo.actions,
978
959
  onClose = _useDeleteResourcesCo.onClose;
979
960
  if (!state.droppedFile?.name) return null;
980
- const showValidationProgress = state.isValidating && state.totalResourceCount && (state.validationProcessed ?? 0) > 0;
961
+ const showValidationProgress = state.isValidating && (state.validationProcessed ?? 0) > 0;
981
962
  const statusMessage = showValidationProgress ? intl.formatMessage(messages$2.validatingResources, {
982
963
  processed: intl.formatNumber(state.validationProcessed ?? 0)
983
964
  }) : undefined;
@@ -1424,17 +1405,17 @@ const getChunkImport = locale => {
1424
1405
  const intlLocale = mapLocaleToIntlLocale(locale);
1425
1406
  switch (intlLocale) {
1426
1407
  case 'de':
1427
- return import('./de-e0280d32.esm.js');
1408
+ return import('./de-c6188287.esm.js');
1428
1409
  case 'es':
1429
- return import('./es-332b4647.esm.js');
1410
+ return import('./es-b1b93b7d.esm.js');
1430
1411
  case 'fr-FR':
1431
- return import('./fr-FR-f2953298.esm.js');
1412
+ return import('./fr-FR-b010f318.esm.js');
1432
1413
  case 'ja':
1433
1414
  return import('./ja-73c088a7.esm.js');
1434
1415
  case 'pt-BR':
1435
- return import('./pt-BR-46eadd76.esm.js');
1416
+ return import('./pt-BR-fb30a5fc.esm.js');
1436
1417
  default:
1437
- return import('./en-c8721699.esm.js');
1418
+ return import('./en-01c39bc4.esm.js');
1438
1419
  }
1439
1420
  };
1440
1421
  const loadMessages = async locale => {
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var de = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Datei durchsuchen"
6
9
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var de = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Datei durchsuchen"
6
9
  },
@@ -1,4 +1,7 @@
1
1
  var de = {
2
+ "DeleteResourcesModal.Uploading.validatingResources": {
3
+ string: "{processed} validated resources"
4
+ },
2
5
  "DeleteResourcesModal.browseFile": {
3
6
  string: "Datei durchsuchen"
4
7
  },
@@ -1,4 +1,7 @@
1
1
  var en = {
2
+ "DeleteResourcesModal.Uploading.validatingResources": {
3
+ string: "{processed} validated resources"
4
+ },
2
5
  "DeleteResourcesModal.browseFile": {
3
6
  string: "Browse file"
4
7
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var en = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Browse file"
6
9
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var en = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Browse file"
6
9
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var es = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Explorar archivo"
6
9
  },
@@ -1,4 +1,7 @@
1
1
  var es = {
2
+ "DeleteResourcesModal.Uploading.validatingResources": {
3
+ string: "{processed} validated resources"
4
+ },
2
5
  "DeleteResourcesModal.browseFile": {
3
6
  string: "Explorar archivo"
4
7
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var es = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Explorar archivo"
6
9
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var frFR = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Parcourir le fichier"
6
9
  },
@@ -1,4 +1,7 @@
1
1
  var frFR = {
2
+ "DeleteResourcesModal.Uploading.validatingResources": {
3
+ string: "{processed} validated resources"
4
+ },
2
5
  "DeleteResourcesModal.browseFile": {
3
6
  string: "Parcourir le fichier"
4
7
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var frFR = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Parcourir le fichier"
6
9
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var ptBR = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Procurar arquivo"
6
9
  },
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var ptBR = {
4
+ "DeleteResourcesModal.Uploading.validatingResources": {
5
+ string: "{processed} validated resources"
6
+ },
4
7
  "DeleteResourcesModal.browseFile": {
5
8
  string: "Procurar arquivo"
6
9
  },
@@ -1,4 +1,7 @@
1
1
  var ptBR = {
2
+ "DeleteResourcesModal.Uploading.validatingResources": {
3
+ string: "{processed} validated resources"
4
+ },
2
5
  "DeleteResourcesModal.browseFile": {
3
6
  string: "Procurar arquivo"
4
7
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/delete-resources-modal",
3
3
  "description": "Shared import modal for deleting resources",
4
- "version": "1.4.0",
4
+ "version": "1.5.0",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -22,7 +22,7 @@
22
22
  "@emotion/styled": "11.14.1",
23
23
  "@formatjs/cli": "6.7.4",
24
24
  "babel-plugin-module-resolver": "^5.0.2",
25
- "jest": "29.7.0",
25
+ "jest": "30.2.0",
26
26
  "lodash": "4.17.21",
27
27
  "lodash.truncate": "4.4.2",
28
28
  "moment": "2.30.1",
@@ -31,27 +31,27 @@
31
31
  "pluralize": "8.0.0",
32
32
  "prop-types": "15.8.1",
33
33
  "ramda": "^0.32.0",
34
- "@commercetools-frontend-extensions/operations": "3.2.0"
34
+ "@commercetools-frontend-extensions/operations": "3.3.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@commercetools-frontend/actions-global": "24.13.0",
38
- "@commercetools-frontend/application-components": "24.13.0",
39
- "@commercetools-frontend/application-shell": "24.13.0",
40
- "@commercetools-frontend/application-shell-connectors": "24.13.0",
41
- "@commercetools-frontend/constants": "24.13.0",
37
+ "@commercetools-frontend/actions-global": "25.1.0",
38
+ "@commercetools-frontend/application-components": "25.1.0",
39
+ "@commercetools-frontend/application-shell": "25.1.0",
40
+ "@commercetools-frontend/application-shell-connectors": "25.1.0",
41
+ "@commercetools-frontend/constants": "25.1.0",
42
42
  "@commercetools-frontend/fullstory": "4.0.3",
43
- "@commercetools-frontend/i18n": "24.13.0",
44
- "@commercetools-frontend/jest-preset-mc-app": "24.13.0",
45
- "@commercetools-frontend/permissions": "24.13.0",
46
- "@commercetools-frontend/sdk": "24.13.0",
47
- "@commercetools-frontend/sentry": "24.13.0",
43
+ "@commercetools-frontend/i18n": "25.1.0",
44
+ "@commercetools-frontend/jest-preset-mc-app": "25.1.0",
45
+ "@commercetools-frontend/permissions": "25.1.0",
46
+ "@commercetools-frontend/sdk": "25.1.0",
47
+ "@commercetools-frontend/sentry": "25.1.0",
48
48
  "@commercetools-frontend/ui-kit": "20.3.0",
49
49
  "@commercetools-uikit/data-table": "20.3.0",
50
50
  "@commercetools-uikit/design-system": "20.3.0",
51
51
  "@commercetools-uikit/icons": "20.3.0",
52
52
  "@commercetools-uikit/select-field": "20.3.0",
53
53
  "@preconstruct/cli": "2.8.12",
54
- "@types/jest": "29.5.14",
54
+ "@types/jest": "30.0.0",
55
55
  "@types/lodash.truncate": "^4.4.7",
56
56
  "@types/papaparse": "5.5.2",
57
57
  "@types/pluralize": "0.0.33",
@@ -59,29 +59,29 @@
59
59
  "msw": "1.3.5",
60
60
  "react": "19.2.0",
61
61
  "react-intl": "7.1.4",
62
- "react-redux": "7.2.9",
63
- "redux": "4.2.1",
62
+ "react-redux": "9.2.0",
63
+ "redux": "5.0.1",
64
64
  "rimraf": "6.1.2"
65
65
  },
66
66
  "peerDependencies": {
67
- "@commercetools-frontend/actions-global": "23.x || 24.x",
68
- "@commercetools-frontend/application-components": "23.x || 24.x",
69
- "@commercetools-frontend/application-shell": "23.x || 24.x",
70
- "@commercetools-frontend/application-shell-connectors": "23.x || 24.x",
71
- "@commercetools-frontend/constants": "23.x || 24.x",
67
+ "@commercetools-frontend/actions-global": "24.x || 25.x",
68
+ "@commercetools-frontend/application-components": "24.x || 25.x",
69
+ "@commercetools-frontend/application-shell": "24.x || 25.x",
70
+ "@commercetools-frontend/application-shell-connectors": "24.x || 25.x",
71
+ "@commercetools-frontend/constants": "24.x || 25.x",
72
72
  "@commercetools-frontend/fullstory": "2.x || 3.x || 4.x",
73
- "@commercetools-frontend/i18n": "23.x || 24.x",
74
- "@commercetools-frontend/jest-preset-mc-app": "23.x || 24.x",
75
- "@commercetools-frontend/permissions": "23.x || 24.x",
76
- "@commercetools-frontend/sdk": "23.x || 24.x",
77
- "@commercetools-frontend/sentry": "23.x || 24.x",
73
+ "@commercetools-frontend/i18n": "24.x || 25.x",
74
+ "@commercetools-frontend/jest-preset-mc-app": "24.x || 25.x",
75
+ "@commercetools-frontend/permissions": "24.x || 25.x",
76
+ "@commercetools-frontend/sdk": "24.x || 25.x",
77
+ "@commercetools-frontend/sentry": "24.x || 25.x",
78
78
  "@commercetools-frontend/ui-kit": "19.x || 20.x",
79
79
  "@commercetools-uikit/design-system": "19.x || 20.x",
80
80
  "@commercetools-uikit/icons": "19.x || 20.x",
81
81
  "react": "17.x || 19.x",
82
82
  "react-intl": "6.x || 7.x",
83
- "react-redux": "7.x",
84
- "redux": "4.x"
83
+ "react-redux": "7.x || 9.x",
84
+ "redux": "4.x || 5.x"
85
85
  },
86
86
  "scripts": {
87
87
  "build": "rimraf dist && preconstruct build",