@commercetools-frontend/mc-scripts 27.9.1 → 27.9.3

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.
Files changed (85) hide show
  1. package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.dev.js +1 -1
  2. package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.prod.js +1 -1
  3. package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.esm.js +1 -1
  4. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +16 -15
  5. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +16 -15
  6. package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +16 -15
  7. package/dist/{build-b9cbc1d1.cjs.dev.js → build-0e40ae4b.cjs.dev.js} +8 -8
  8. package/dist/{build-cdeab3a8.cjs.prod.js → build-30150f3a.cjs.prod.js} +8 -8
  9. package/dist/{build-5a0c84e7.esm.js → build-d34f0880.esm.js} +8 -8
  10. package/dist/{build-vite-ce3c4fb6.esm.js → build-vite-2ea8a241.esm.js} +14 -16
  11. package/dist/{build-vite-aa0e7242.cjs.prod.js → build-vite-377f721f.cjs.prod.js} +14 -16
  12. package/dist/{build-vite-0e8f3463.cjs.dev.js → build-vite-e4eeb1a3.cjs.dev.js} +14 -16
  13. package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
  14. package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
  15. package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
  16. package/dist/{compile-html-adfef598.esm.js → compile-html-025cd493.esm.js} +2 -4
  17. package/dist/{compile-html-b80f9651.cjs.prod.js → compile-html-50fd05ec.cjs.prod.js} +2 -5
  18. package/dist/{compile-html-8679f721.cjs.dev.js → compile-html-f4ac88cc.cjs.dev.js} +2 -5
  19. package/dist/{config-sync-7031a7de.esm.js → config-sync-2d02ffa8.esm.js} +17 -17
  20. package/dist/{config-sync-2b56a941.cjs.dev.js → config-sync-9bb37ec5.cjs.dev.js} +17 -17
  21. package/dist/{config-sync-41bc7f5e.cjs.prod.js → config-sync-a16795bc.cjs.prod.js} +17 -17
  22. package/dist/{config-sync-ci-6d12f2f3.cjs.dev.js → config-sync-ci-7f4935ea.cjs.dev.js} +19 -25
  23. package/dist/{config-sync-ci-1866c188.esm.js → config-sync-ci-b3ea139f.esm.js} +19 -24
  24. package/dist/{config-sync-ci-ea943de9.cjs.prod.js → config-sync-ci-bfd6918d.cjs.prod.js} +19 -25
  25. package/dist/{config-sync-helpers-36985f8c.cjs.dev.js → config-sync-helpers-1bd93aad.cjs.dev.js} +48 -57
  26. package/dist/{config-sync-helpers-79ccaaad.cjs.prod.js → config-sync-helpers-5a1b172b.cjs.prod.js} +46 -55
  27. package/dist/{config-sync-helpers-875ef4a4.esm.js → config-sync-helpers-9439de91.esm.js} +47 -56
  28. package/dist/{create-postcss-config-13cb1cb8.cjs.dev.js → create-postcss-config-24861798.cjs.dev.js} +1 -1
  29. package/dist/{create-postcss-config-390e8a52.esm.js → create-postcss-config-3b68ddee.esm.js} +1 -1
  30. package/dist/{create-postcss-config-1eeb3d9d.cjs.prod.js → create-postcss-config-9acd005d.cjs.prod.js} +1 -1
  31. package/dist/{create-webpack-config-for-development-dd95f3d5.esm.js → create-webpack-config-for-development-7787fa87.esm.js} +7 -7
  32. package/dist/{create-webpack-config-for-development-9a3a3a93.cjs.dev.js → create-webpack-config-for-development-ac4d9b95.cjs.dev.js} +7 -7
  33. package/dist/{create-webpack-config-for-development-6608b4e4.cjs.prod.js → create-webpack-config-for-development-ba55541a.cjs.prod.js} +7 -7
  34. package/dist/{create-webpack-config-for-production-29b34b8c.cjs.dev.js → create-webpack-config-for-production-4f0c062f.cjs.dev.js} +8 -8
  35. package/dist/{create-webpack-config-for-production-31bb3d24.esm.js → create-webpack-config-for-production-6f78b27b.esm.js} +8 -8
  36. package/dist/{create-webpack-config-for-production-2e6e5036.cjs.prod.js → create-webpack-config-for-production-b054a984.cjs.prod.js} +8 -8
  37. package/dist/{credentials-storage-bfaa78f0.esm.js → credentials-storage-67deadc3.esm.js} +1 -1
  38. package/dist/{credentials-storage-60a63c81.cjs.prod.js → credentials-storage-ea1c16dc.cjs.prod.js} +1 -1
  39. package/dist/{credentials-storage-1826f1a2.cjs.dev.js → credentials-storage-fd195144.cjs.dev.js} +1 -1
  40. package/dist/{deployment-previews-set-bebd7a04.cjs.prod.js → deployment-previews-set-370f5bce.cjs.prod.js} +22 -28
  41. package/dist/{deployment-previews-set-410cecf1.esm.js → deployment-previews-set-6ce467f3.esm.js} +22 -27
  42. package/dist/{deployment-previews-set-a04efad3.cjs.dev.js → deployment-previews-set-fa6468e1.cjs.dev.js} +22 -28
  43. package/dist/{graphql-requests-c491206a.esm.js → graphql-requests-0e55505c.esm.js} +5 -8
  44. package/dist/{graphql-requests-1ea68584.cjs.dev.js → graphql-requests-6e742563.cjs.prod.js} +5 -8
  45. package/dist/{graphql-requests-98b1b779.cjs.prod.js → graphql-requests-af3ea6c9.cjs.dev.js} +5 -8
  46. package/dist/{i18n-message-complilation-8aec9d1b.esm.js → i18n-message-complilation-21d3b0aa.esm.js} +1 -1
  47. package/dist/{i18n-message-complilation-3f80e8d6.cjs.dev.js → i18n-message-complilation-7311cb29.cjs.dev.js} +1 -1
  48. package/dist/{i18n-message-complilation-393d344a.cjs.prod.js → i18n-message-complilation-7762da61.cjs.prod.js} +1 -1
  49. package/dist/{login-cd99208a.cjs.dev.js → login-8b1925fa.cjs.dev.js} +58 -37
  50. package/dist/{login-a99d14e6.cjs.prod.js → login-93faaa9c.cjs.prod.js} +58 -37
  51. package/dist/{login-b935aede.esm.js → login-d6b9b61b.esm.js} +57 -36
  52. package/dist/{optimizations-1b3f8157.esm.js → optimizations-54382f7b.esm.js} +5 -7
  53. package/dist/{optimizations-09a6638c.cjs.prod.js → optimizations-56be74d6.cjs.dev.js} +5 -8
  54. package/dist/{optimizations-640ffcac.cjs.dev.js → optimizations-da5a0cfa.cjs.prod.js} +5 -8
  55. package/dist/{package-98adb0d5.cjs.dev.js → package-2a97179c.cjs.prod.js} +1 -1
  56. package/dist/{package-90af7dfe.cjs.prod.js → package-42b38ba8.cjs.dev.js} +1 -1
  57. package/dist/{package-15124b28.esm.js → package-76b6a39c.esm.js} +1 -1
  58. package/dist/{paths-7bf7e88e.esm.js → paths-39f22b8b.esm.js} +4 -9
  59. package/dist/{paths-af1a725a.cjs.prod.js → paths-7768b440.cjs.prod.js} +4 -10
  60. package/dist/{paths-ec3e3a7d.cjs.dev.js → paths-b76fc753.cjs.dev.js} +4 -10
  61. package/dist/{serve-ddf30b4c.esm.js → serve-22475fec.esm.js} +13 -13
  62. package/dist/{serve-87ef7d4f.cjs.prod.js → serve-3837602d.cjs.prod.js} +14 -13
  63. package/dist/{serve-760fc169.cjs.dev.js → serve-b1c12985.cjs.dev.js} +14 -13
  64. package/dist/{start-a0945fde.cjs.dev.js → start-bf7fee92.cjs.dev.js} +9 -10
  65. package/dist/{start-08895b5f.esm.js → start-d66f7fa7.esm.js} +9 -10
  66. package/dist/{start-d9bd5dfb.cjs.prod.js → start-e2f64f34.cjs.prod.js} +9 -10
  67. package/dist/{start-vite-745d3123.esm.js → start-vite-4b0df191.esm.js} +4 -5
  68. package/dist/{start-vite-10e49e5c.cjs.dev.js → start-vite-698c9e82.cjs.dev.js} +4 -5
  69. package/dist/{start-vite-00514c35.cjs.prod.js → start-vite-dd8a1e26.cjs.prod.js} +4 -5
  70. package/dist/{try-load-nimbus-plugins-526dccbd.esm.js → try-load-nimbus-plugins-2f528d8f.esm.js} +1 -1
  71. package/dist/{try-load-nimbus-plugins-59c3a594.cjs.prod.js → try-load-nimbus-plugins-a713d7d3.cjs.prod.js} +1 -1
  72. package/dist/{try-load-nimbus-plugins-06ce5d83.cjs.dev.js → try-load-nimbus-plugins-d502a5fe.cjs.dev.js} +1 -1
  73. package/dist/{vite-plugin-svgr-5de1cad9.cjs.prod.js → vite-plugin-svgr-4034a834.cjs.prod.js} +4 -4
  74. package/dist/{vite-plugin-svgr-53ef97c7.cjs.dev.js → vite-plugin-svgr-7d06f400.cjs.dev.js} +4 -4
  75. package/dist/{vite-plugin-svgr-22c8d518.esm.js → vite-plugin-svgr-de6ee7da.esm.js} +4 -4
  76. package/package.json +10 -10
  77. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
  78. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
  79. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
  80. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +7 -7
  81. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +7 -7
  82. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +7 -7
  83. package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.dev.js +1 -1
  84. package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.prod.js +1 -1
  85. package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.esm.js +1 -1
@@ -1,4 +1,3 @@
1
- import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
2
1
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
3
2
  import chalk from 'chalk';
4
3
  import omit from 'lodash/omit';
@@ -11,25 +10,26 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
11
10
  import _repeatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/repeat';
12
11
  import _Set from '@babel/runtime-corejs3/core-js-stable/set';
13
12
  import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
13
+ import _bindInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/bind';
14
14
  import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
15
15
  import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
16
16
  import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
17
17
  import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
18
18
  import { sanitizeSvg } from '@commercetools-frontend/application-config';
19
- import { c as createCustomApplication, u as updateCustomApplication, a as createCustomView, b as updateCustomView, d as fetchCustomApplication, e as fetchCustomView } from './graphql-requests-c491206a.esm.js';
19
+ import { c as createCustomApplication, u as updateCustomApplication, a as createCustomView, b as updateCustomView, d as fetchCustomApplication, e as fetchCustomView } from './graphql-requests-0e55505c.esm.js';
20
20
 
21
21
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context21, _context22; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context21 = ownKeys(Object(t), !0)).call(_context21, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context22 = ownKeys(Object(t))).call(_context22, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
22
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context9, _context0; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context9 = ownKeys(Object(t), !0)).call(_context9, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context0 = ownKeys(Object(t))).call(_context0, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
23
23
 
24
24
  // Since not all terminal supports colors, to make things more consistent for testing purposes,
25
25
  // during tests the color used is appended before the string instead of coloring it.
26
26
  const isTest = process.env.NODE_ENV === 'test';
27
27
  const red = str => {
28
- if (isTest) return "<color-red>".concat(str, "</color-red>");
28
+ if (isTest) return `<color-red>${str}</color-red>`;
29
29
  return chalk.red(str);
30
30
  };
31
31
  const green = str => {
32
- if (isTest) return "<color-green>".concat(str, "</color-green>");
32
+ if (isTest) return `<color-green>${str}</color-green>`;
33
33
  return chalk.green(str);
34
34
  };
35
35
 
@@ -45,21 +45,19 @@ const getStringDiff = _ref => {
45
45
  _ref$indentLevel = _ref.indentLevel,
46
46
  indentLevel = _ref$indentLevel === void 0 ? 0 : _ref$indentLevel;
47
47
  if (!previousValue && nextValue) {
48
- var _context2, _context3;
49
- return _concatInstanceProperty(_context2 = _concatInstanceProperty(_context3 = "".concat(indent(indentLevel))).call(_context3, label, " added: ")).call(_context2, green(nextValue));
48
+ return `${indent(indentLevel)}${label} added: ${green(nextValue)}`;
50
49
  }
51
50
  if (previousValue && !nextValue) {
52
- var _context4, _context5;
53
- return _concatInstanceProperty(_context4 = _concatInstanceProperty(_context5 = "".concat(indent(indentLevel))).call(_context5, label, " removed: ")).call(_context4, red(previousValue));
51
+ return `${indent(indentLevel)}${label} removed: ${red(previousValue)}`;
54
52
  }
55
53
  if (previousValue && nextValue && previousValue !== nextValue) {
56
- var _context6, _context7, _context8;
57
- return _concatInstanceProperty(_context6 = _concatInstanceProperty(_context7 = _concatInstanceProperty(_context8 = "".concat(indent(indentLevel))).call(_context8, label, " changed: ")).call(_context7, red(previousValue), " => ")).call(_context6, green(nextValue));
54
+ return `${indent(indentLevel)}${label} changed: ${red(previousValue)} => ${green(nextValue)}`;
58
55
  }
59
56
  return null;
60
57
  };
61
58
  // NOTE: this assumes that the array values are scalar values (not objects).
62
59
  const getArrayDiff = _ref2 => {
60
+ var _context2, _context3;
63
61
  let previousValue = _ref2.previousValue,
64
62
  nextValue = _ref2.nextValue,
65
63
  label = _ref2.label,
@@ -67,7 +65,7 @@ const getArrayDiff = _ref2 => {
67
65
  indentLevel = _ref2$indentLevel === void 0 ? 0 : _ref2$indentLevel;
68
66
  const oldArraySet = new _Set(previousValue);
69
67
  const arrayDiff = [];
70
- nextValue === null || nextValue === void 0 || _forEachInstanceProperty(nextValue).call(nextValue, item => {
68
+ ((_context2 = nextValue) == null ? void 0 : _bindInstanceProperty(_context3 = Function.call).call(_context3, _forEachInstanceProperty(_context2), _context2))?.(item => {
71
69
  if (oldArraySet.has(item)) {
72
70
  oldArraySet.delete(item);
73
71
  } else {
@@ -88,7 +86,7 @@ const getArrayDiff = _ref2 => {
88
86
  return arrayDiff.join('\n');
89
87
  };
90
88
  const getPermissionsDiff = _ref3 => {
91
- var _context1;
89
+ var _context4;
92
90
  let previousValue = _ref3.previousValue,
93
91
  nextValue = _ref3.nextValue;
94
92
  const permissionDiff = ['permissions changed'];
@@ -101,12 +99,10 @@ const getPermissionsDiff = _ref3 => {
101
99
  }, {});
102
100
  const indentLevel = 1;
103
101
  _forEachInstanceProperty(nextValue).call(nextValue, newPermission => {
104
- var _context9;
105
- const currentDiff = [_concatInstanceProperty(_context9 = "".concat(indent(indentLevel), "\"")).call(_context9, newPermission.name, "\" changed")];
102
+ const currentDiff = [`${indent(indentLevel)}"${newPermission.name}" changed`];
106
103
  // if the permission name is not in the old config, it means it is a new addition.
107
104
  if (!mappedOldPermissions[newPermission.name]) {
108
- var _context0;
109
- permissionDiff.push(_concatInstanceProperty(_context0 = "".concat(indent(indentLevel), "\"")).call(_context0, green(newPermission.name), "\" was added"));
105
+ permissionDiff.push(`${indent(indentLevel)}"${green(newPermission.name)}" was added`);
110
106
  }
111
107
 
112
108
  // if permission name is in the old config, now we check if there was a change
@@ -123,22 +119,21 @@ const getPermissionsDiff = _ref3 => {
123
119
  });
124
120
 
125
121
  // if there are old permissions left, it means they were deleted in the new Permissions.
126
- _forEachInstanceProperty(_context1 = _Object$keys(mappedOldPermissions)).call(_context1, oldPermissionName => {
127
- var _context10;
128
- permissionDiff.push(_concatInstanceProperty(_context10 = "".concat(indent(indentLevel), "\"")).call(_context10, red(oldPermissionName), "\" was removed"));
122
+ _forEachInstanceProperty(_context4 = _Object$keys(mappedOldPermissions)).call(_context4, oldPermissionName => {
123
+ permissionDiff.push(`${indent(indentLevel)}"${red(oldPermissionName)}" was removed`);
129
124
  });
130
125
  if (permissionDiff.length > 1) return permissionDiff.join('\n');
131
126
  return null;
132
127
  };
133
128
  const getLabelAllLocalesDiff = _ref5 => {
134
- var _context14;
129
+ var _context5;
135
130
  let _ref5$previousValue = _ref5.previousValue,
136
131
  previousValue = _ref5$previousValue === void 0 ? [] : _ref5$previousValue,
137
132
  _ref5$nextValue = _ref5.nextValue,
138
133
  nextValue = _ref5$nextValue === void 0 ? [] : _ref5$nextValue,
139
134
  _ref5$indentLevel = _ref5.indentLevel,
140
135
  indentLevel = _ref5$indentLevel === void 0 ? 0 : _ref5$indentLevel;
141
- const labelAllLocalesDiff = ["".concat(indent(indentLevel - 1), "labelAllLocales changed")];
136
+ const labelAllLocalesDiff = [`${indent(indentLevel - 1)}labelAllLocales changed`];
142
137
  const mappedOldLabelAllLocales = _reduceInstanceProperty(previousValue).call(previousValue, (previousLabelAllLocale, _ref6) => {
143
138
  let locale = _ref6.locale,
144
139
  value = _ref6.value;
@@ -150,8 +145,7 @@ const getLabelAllLocalesDiff = _ref5 => {
150
145
  if (newLabelAllLocale.locale in mappedOldLabelAllLocales) {
151
146
  const oldLocaleValue = mappedOldLabelAllLocales[newLabelAllLocale.locale];
152
147
  if (oldLocaleValue !== newLabelAllLocale.value) {
153
- var _context11, _context12, _context13;
154
- labelAllLocalesDiff.push(_concatInstanceProperty(_context11 = _concatInstanceProperty(_context12 = _concatInstanceProperty(_context13 = "".concat(indent(indentLevel), "locale \"")).call(_context13, newLabelAllLocale.locale, "\" changed: ")).call(_context12, red(oldLocaleValue), " => ")).call(_context11, green(newLabelAllLocale.value)));
148
+ labelAllLocalesDiff.push(`${indent(indentLevel)}locale "${newLabelAllLocale.locale}" changed: ${red(oldLocaleValue)} => ${green(newLabelAllLocale.value)}`);
155
149
  }
156
150
  delete mappedOldLabelAllLocales[newLabelAllLocale.locale];
157
151
  } else {
@@ -165,7 +159,7 @@ const getLabelAllLocalesDiff = _ref5 => {
165
159
  }
166
160
  }
167
161
  });
168
- _forEachInstanceProperty(_context14 = _Object$keys(mappedOldLabelAllLocales)).call(_context14, key => {
162
+ _forEachInstanceProperty(_context5 = _Object$keys(mappedOldLabelAllLocales)).call(_context5, key => {
169
163
  const localeDiff = getStringDiff({
170
164
  previousValue: key,
171
165
  label: 'locale',
@@ -179,14 +173,14 @@ const getLabelAllLocalesDiff = _ref5 => {
179
173
  return null;
180
174
  };
181
175
  const getTypeSettingsDiff = _ref7 => {
182
- var _context15;
176
+ var _context6;
183
177
  let previousValue = _ref7.previousValue,
184
178
  nextValue = _ref7.nextValue;
185
179
  const nonNullablePreviousValue = previousValue || {};
186
180
  const nonNullableNextValue = nextValue || {};
187
181
  const indentLevel = 1;
188
- const typeSettingsDiff = ["".concat(indent(indentLevel - 1), "type settings changed")];
189
- _forEachInstanceProperty(_context15 = _Object$keys(nonNullablePreviousValue)).call(_context15, key => {
182
+ const typeSettingsDiff = [`${indent(indentLevel - 1)}type settings changed`];
183
+ _forEachInstanceProperty(_context6 = _Object$keys(nonNullablePreviousValue)).call(_context6, key => {
190
184
  const typeSettingDiff = getStringDiff({
191
185
  previousValue: nonNullablePreviousValue[key],
192
186
  nextValue: nonNullableNextValue[key],
@@ -236,7 +230,7 @@ const getMainMenuLinkDiff = _ref9 => {
236
230
  indentLevel: 2
237
231
  });
238
232
  if (mainMenuLinkPermissionsDiff.length > 0) {
239
- mainMenuLinkDiff.push("".concat(indent(1), "permissions changed"));
233
+ mainMenuLinkDiff.push(`${indent(1)}permissions changed`);
240
234
  mainMenuLinkDiff.push(mainMenuLinkPermissionsDiff);
241
235
  }
242
236
  const menuLabelsDiff = getLabelAllLocalesDiff({
@@ -252,7 +246,7 @@ const getMainMenuLinkDiff = _ref9 => {
252
246
  return null;
253
247
  };
254
248
  const getSubmenuLinksDiff = _ref0 => {
255
- var _context20;
249
+ var _context8;
256
250
  let previousValue = _ref0.previousValue,
257
251
  nextValue = _ref0.nextValue;
258
252
  const submenuLinksDiff = ['submenuLink changed'];
@@ -263,17 +257,16 @@ const getSubmenuLinksDiff = _ref0 => {
263
257
  const previousOrder = getOrder(previousValue);
264
258
  const newOrder = getOrder(nextValue);
265
259
  if (previousOrder !== newOrder) {
266
- var _context16, _context17;
267
- submenuLinksDiff.push("".concat(indent(1), "submenu order changed"));
268
- submenuLinksDiff.push(_concatInstanceProperty(_context16 = "".concat(indent(2), "previous order: [")).call(_context16, previousOrder, "]"));
269
- submenuLinksDiff.push(_concatInstanceProperty(_context17 = "".concat(indent(2), "new order: [")).call(_context17, newOrder, "]"));
260
+ submenuLinksDiff.push(`${indent(1)}submenu order changed`);
261
+ submenuLinksDiff.push(`${indent(2)}previous order: [${previousOrder}]`);
262
+ submenuLinksDiff.push(`${indent(2)}new order: [${newOrder}]`);
270
263
  }
271
264
  _forEachInstanceProperty(nextValue).call(nextValue, newSubmenuLink => {
272
265
  const oldSubMenuLink = mappedSubmenuLinks[newSubmenuLink.uriPath];
273
266
  if (newSubmenuLink.uriPath in mappedSubmenuLinks) {
274
- var _context18, _context19;
275
- const submenuLinkDiff = [_concatInstanceProperty(_context18 = "".concat(indent(1), "menu link \"")).call(_context18, newSubmenuLink.uriPath, "\" changed")];
276
- _forEachInstanceProperty(_context19 = _Object$keys(mappedSubmenuLinks[newSubmenuLink.uriPath])).call(_context19, key => {
267
+ var _context7;
268
+ const submenuLinkDiff = [`${indent(1)}menu link "${newSubmenuLink.uriPath}" changed`];
269
+ _forEachInstanceProperty(_context7 = _Object$keys(mappedSubmenuLinks[newSubmenuLink.uriPath])).call(_context7, key => {
277
270
  switch (key) {
278
271
  case 'defaultLabel':
279
272
  {
@@ -297,7 +290,7 @@ const getSubmenuLinksDiff = _ref0 => {
297
290
  indentLevel: 3
298
291
  });
299
292
  if (submenuLinkPermissionsDiff.length > 0) {
300
- submenuLinkDiff.push("".concat(indent(2), "permissions changed"));
293
+ submenuLinkDiff.push(`${indent(2)}permissions changed`);
301
294
  submenuLinkDiff.push(submenuLinkPermissionsDiff);
302
295
  }
303
296
  break;
@@ -332,7 +325,7 @@ const getSubmenuLinksDiff = _ref0 => {
332
325
  }
333
326
  }
334
327
  });
335
- _forEachInstanceProperty(_context20 = _Object$keys(mappedSubmenuLinks)).call(_context20, key => {
328
+ _forEachInstanceProperty(_context8 = _Object$keys(mappedSubmenuLinks)).call(_context8, key => {
336
329
  const linksDiff = getStringDiff({
337
330
  previousValue: key,
338
331
  label: 'menu link',
@@ -506,13 +499,12 @@ const getCustomViewConfigDiff = (oldConfig, newConfig) => {
506
499
  };
507
500
 
508
501
  const getMcUrlLink = _ref => {
509
- var _context, _context2, _context3;
510
502
  let mcApiUrl = _ref.mcApiUrl,
511
503
  organizationId = _ref.organizationId,
512
504
  customEntityId = _ref.customEntityId,
513
505
  isCustomView = _ref.isCustomView;
514
506
  const mcUrl = mcApiUrl.replace('mc-api', 'mc');
515
- const customEntityLink = _concatInstanceProperty(_context = _concatInstanceProperty(_context2 = _concatInstanceProperty(_context3 = "".concat(mcUrl, "/account/organizations/")).call(_context3, organizationId, "/custom-")).call(_context2, isCustomView ? 'views' : 'applications', "/owned/")).call(_context, customEntityId);
507
+ const customEntityLink = `${mcUrl}/account/organizations/${organizationId}/custom-${isCustomView ? 'views' : 'applications'}/owned/${customEntityId}`;
516
508
  return customEntityLink;
517
509
  };
518
510
  const isCustomViewData = data => data.entryPointUriPath === undefined;
@@ -523,7 +515,7 @@ async function performCreateCustomApplication(_ref2) {
523
515
  localCustomEntityData = _ref2.localCustomEntityData,
524
516
  applicationIdentifier = _ref2.applicationIdentifier,
525
517
  dryRun = _ref2.dryRun;
526
- console.log("Creating Custom Application in organization \"".concat(chalk.green(organizationName), "\"..."));
518
+ console.log(`Creating Custom Application in organization "${chalk.green(organizationName)}"...`);
527
519
  const data = omit(localCustomEntityData, ['id']);
528
520
  if (dryRun) {
529
521
  console.log();
@@ -546,9 +538,9 @@ async function performCreateCustomApplication(_ref2) {
546
538
  customEntityId: createdCustomApplication.id
547
539
  });
548
540
  console.log(chalk.green('Custom Application created successfully.'));
549
- console.log("ID: ".concat(chalk.cyan(createdCustomApplication.id)));
550
- console.log("Please update the \"env.production.applicationId\" field in your local Custom Application config file with the ID above.");
551
- console.log("URL: ".concat(chalk.gray(customAppLink)));
541
+ console.log(`ID: ${chalk.cyan(createdCustomApplication.id)}`);
542
+ console.log(`Please update the "env.production.applicationId" field in your local Custom Application config file with the ID above.`);
543
+ console.log(`URL: ${chalk.gray(customAppLink)}`);
552
544
  return createdCustomApplication.id;
553
545
  }
554
546
  async function performUpdateCustomApplication(_ref3) {
@@ -561,7 +553,7 @@ async function performUpdateCustomApplication(_ref3) {
561
553
  const data = omit(localCustomEntityData, ['id']);
562
554
  if (dryRun) {
563
555
  console.log();
564
- console.log("Dry run - would update Custom Application \"".concat(chalk.green(data.entryPointUriPath), "\" with:"));
556
+ console.log(`Dry run - would update Custom Application "${chalk.green(data.entryPointUriPath)}" with:`);
565
557
  console.log(chalk.gray(_JSON$stringify(data, null, 2)));
566
558
  return;
567
559
  }
@@ -579,7 +571,7 @@ async function performUpdateCustomApplication(_ref3) {
579
571
  customEntityId: applicationId
580
572
  });
581
573
  console.log(chalk.green('Custom Application updated successfully.'));
582
- console.log("URL: ".concat(chalk.gray(customAppLink)));
574
+ console.log(`URL: ${chalk.gray(customAppLink)}`);
583
575
  }
584
576
  async function performCreateCustomView(_ref4) {
585
577
  let mcApiUrl = _ref4.mcApiUrl,
@@ -588,7 +580,7 @@ async function performCreateCustomView(_ref4) {
588
580
  localCustomEntityData = _ref4.localCustomEntityData,
589
581
  applicationIdentifier = _ref4.applicationIdentifier,
590
582
  dryRun = _ref4.dryRun;
591
- console.log("Creating Custom View in organization \"".concat(chalk.green(organizationName), "\"..."));
583
+ console.log(`Creating Custom View in organization "${chalk.green(organizationName)}"...`);
592
584
  const data = omit(localCustomEntityData, ['id']);
593
585
  if (dryRun) {
594
586
  console.log();
@@ -612,9 +604,9 @@ async function performCreateCustomView(_ref4) {
612
604
  isCustomView: true
613
605
  });
614
606
  console.log(chalk.green('Custom View created successfully.'));
615
- console.log("ID: ".concat(chalk.cyan(createdCustomView.id)));
616
- console.log("Please update the \"env.production.customViewId\" field in your local Custom View config file with the ID above.");
617
- console.log("URL: ".concat(chalk.gray(customViewLink)));
607
+ console.log(`ID: ${chalk.cyan(createdCustomView.id)}`);
608
+ console.log(`Please update the "env.production.customViewId" field in your local Custom View config file with the ID above.`);
609
+ console.log(`URL: ${chalk.gray(customViewLink)}`);
618
610
  return createdCustomView.id;
619
611
  }
620
612
  async function performUpdateCustomView(_ref5) {
@@ -627,7 +619,7 @@ async function performUpdateCustomView(_ref5) {
627
619
  const data = omit(localCustomEntityData, ['id']);
628
620
  if (dryRun) {
629
621
  console.log();
630
- console.log("Dry run - would update Custom View \"".concat(chalk.green(data.defaultLabel), "\" with:"));
622
+ console.log(`Dry run - would update Custom View "${chalk.green(data.defaultLabel)}" with:`);
631
623
  console.log(chalk.gray(_JSON$stringify(data, null, 2)));
632
624
  return;
633
625
  }
@@ -646,7 +638,7 @@ async function performUpdateCustomView(_ref5) {
646
638
  isCustomView: true
647
639
  });
648
640
  console.log(chalk.green('Custom View updated successfully.'));
649
- console.log("URL: ".concat(chalk.gray(customViewLink)));
641
+ console.log(`URL: ${chalk.gray(customViewLink)}`);
650
642
  }
651
643
  async function checkCustomApplicationStatus(_ref6) {
652
644
  let mcApiUrl = _ref6.mcApiUrl,
@@ -678,7 +670,6 @@ async function checkCustomApplicationStatus(_ref6) {
678
670
  };
679
671
  }
680
672
  async function checkCustomViewStatus(_ref7) {
681
- var _fetchedCustomView$cu, _fetchedCustomView$cu2;
682
673
  let mcApiUrl = _ref7.mcApiUrl,
683
674
  customViewId = _ref7.customViewId,
684
675
  applicationIdentifier = _ref7.applicationIdentifier,
@@ -697,13 +688,13 @@ async function checkCustomViewStatus(_ref7) {
697
688
  const customViewLink = getMcUrlLink({
698
689
  mcApiUrl,
699
690
  organizationId: fetchedCustomView.organizationId,
700
- customEntityId: (fetchedCustomView === null || fetchedCustomView === void 0 || (_fetchedCustomView$cu = fetchedCustomView.customView) === null || _fetchedCustomView$cu === void 0 ? void 0 : _fetchedCustomView$cu.id) || '',
691
+ customEntityId: fetchedCustomView?.customView?.id || '',
701
692
  isCustomView: true
702
693
  });
703
694
  return {
704
695
  exists: true,
705
696
  organizationId: fetchedCustomView.organizationId,
706
- customViewId: (fetchedCustomView === null || fetchedCustomView === void 0 || (_fetchedCustomView$cu2 = fetchedCustomView.customView) === null || _fetchedCustomView$cu2 === void 0 ? void 0 : _fetchedCustomView$cu2.id) || '',
697
+ customViewId: fetchedCustomView?.customView?.id || '',
707
698
  configDiff,
708
699
  link: customViewLink
709
700
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
4
4
  var path = require('path');
5
- var _package = require('./package-98adb0d5.cjs.dev.js');
5
+ var _package = require('./package-42b38ba8.cjs.dev.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
2
2
  import path from 'path';
3
- import { p as pkgJson } from './package-15124b28.esm.js';
3
+ import { p as pkgJson } from './package-76b6a39c.esm.js';
4
4
 
5
5
  // This function aims to return the same result as `require.resolve`.
6
6
  // However, resolving a path to a `.css` file does not return the real
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
4
4
  var path = require('path');
5
- var _package = require('./package-90af7dfe.cjs.prod.js');
5
+ var _package = require('./package-2a97179c.cjs.prod.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -17,15 +17,15 @@ import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
17
17
  import HtmlWebpackPlugin from 'html-webpack-plugin';
18
18
  import MomentLocalesPlugin from 'moment-locales-webpack-plugin';
19
19
  import webpack from 'webpack';
20
- import { l as loadNimbusWebpackPlugin } from './try-load-nimbus-plugins-526dccbd.esm.js';
20
+ import { l as loadNimbusWebpackPlugin } from './try-load-nimbus-plugins-2f528d8f.esm.js';
21
21
  import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
22
22
  import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
23
23
  import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
24
24
  import { processConfig } from '@commercetools-frontend/application-config';
25
25
  import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
26
- import { c as createPostcssConfig } from './create-postcss-config-390e8a52.esm.js';
27
- import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-1b3f8157.esm.js';
28
- import { p as paths } from './paths-7bf7e88e.esm.js';
26
+ import { c as createPostcssConfig } from './create-postcss-config-3b68ddee.esm.js';
27
+ import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-54382f7b.esm.js';
28
+ import { p as paths } from './paths-39f22b8b.esm.js';
29
29
  import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
30
30
 
31
31
  let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
@@ -126,7 +126,7 @@ function createWebpackConfigForDevelopment() {
126
126
  // https://github.com/facebook/create-react-app/issues/290
127
127
  // `web` extension prefixes have been added for better support
128
128
  // for React Native Web.
129
- extensions: _mapInstanceProperty(_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => ".".concat(ext)),
129
+ extensions: _mapInstanceProperty(_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => `.${ext}`),
130
130
  // NOTE: this is meant to be a temporary list of fallback/polyfills for certain
131
131
  // nodejs modules. With Webpack <5 these polyfills were included by default in Webpack,
132
132
  // however now it's not the case anymore.
@@ -289,9 +289,9 @@ function createWebpackConfigForDevelopment() {
289
289
  name: 'prefixIds',
290
290
  params: {
291
291
  delim: '',
292
- prefix: (_, info) => "svg".concat(crypto.createHash('shake256', {
292
+ prefix: (_, info) => `svg${crypto.createHash('shake256', {
293
293
  outputLength: 6
294
- }).update(info.path || '').digest('hex'))
294
+ }).update(info.path || '').digest('hex')}`
295
295
  }
296
296
  }]
297
297
  }
@@ -19,15 +19,15 @@ var ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
19
19
  var HtmlWebpackPlugin = require('html-webpack-plugin');
20
20
  var MomentLocalesPlugin = require('moment-locales-webpack-plugin');
21
21
  var webpack = require('webpack');
22
- var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-06ce5d83.cjs.dev.js');
22
+ var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-d502a5fe.cjs.dev.js');
23
23
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
24
24
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
25
25
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
26
26
  var applicationConfig = require('@commercetools-frontend/application-config');
27
27
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
28
- var createPostcssConfig = require('./create-postcss-config-13cb1cb8.cjs.dev.js');
29
- var optimizations = require('./optimizations-640ffcac.cjs.dev.js');
30
- var paths = require('./paths-ec3e3a7d.cjs.dev.js');
28
+ var createPostcssConfig = require('./create-postcss-config-24861798.cjs.dev.js');
29
+ var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
30
+ var paths = require('./paths-b76fc753.cjs.dev.js');
31
31
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
32
32
 
33
33
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -150,7 +150,7 @@ function createWebpackConfigForDevelopment() {
150
150
  // https://github.com/facebook/create-react-app/issues/290
151
151
  // `web` extension prefixes have been added for better support
152
152
  // for React Native Web.
153
- extensions: _mapInstanceProperty__default["default"](_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => ".".concat(ext)),
153
+ extensions: _mapInstanceProperty__default["default"](_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => `.${ext}`),
154
154
  // NOTE: this is meant to be a temporary list of fallback/polyfills for certain
155
155
  // nodejs modules. With Webpack <5 these polyfills were included by default in Webpack,
156
156
  // however now it's not the case anymore.
@@ -313,9 +313,9 @@ function createWebpackConfigForDevelopment() {
313
313
  name: 'prefixIds',
314
314
  params: {
315
315
  delim: '',
316
- prefix: (_, info) => "svg".concat(crypto__default["default"].createHash('shake256', {
316
+ prefix: (_, info) => `svg${crypto__default["default"].createHash('shake256', {
317
317
  outputLength: 6
318
- }).update(info.path || '').digest('hex'))
318
+ }).update(info.path || '').digest('hex')}`
319
319
  }
320
320
  }]
321
321
  }
@@ -19,15 +19,15 @@ var ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
19
19
  var HtmlWebpackPlugin = require('html-webpack-plugin');
20
20
  var MomentLocalesPlugin = require('moment-locales-webpack-plugin');
21
21
  var webpack = require('webpack');
22
- var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-59c3a594.cjs.prod.js');
22
+ var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-a713d7d3.cjs.prod.js');
23
23
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
24
24
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
25
25
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
26
26
  var applicationConfig = require('@commercetools-frontend/application-config');
27
27
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
28
- var createPostcssConfig = require('./create-postcss-config-1eeb3d9d.cjs.prod.js');
29
- var optimizations = require('./optimizations-09a6638c.cjs.prod.js');
30
- var paths = require('./paths-af1a725a.cjs.prod.js');
28
+ var createPostcssConfig = require('./create-postcss-config-9acd005d.cjs.prod.js');
29
+ var optimizations = require('./optimizations-da5a0cfa.cjs.prod.js');
30
+ var paths = require('./paths-7768b440.cjs.prod.js');
31
31
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
32
32
 
33
33
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -150,7 +150,7 @@ function createWebpackConfigForDevelopment() {
150
150
  // https://github.com/facebook/create-react-app/issues/290
151
151
  // `web` extension prefixes have been added for better support
152
152
  // for React Native Web.
153
- extensions: _mapInstanceProperty__default["default"](_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => ".".concat(ext)),
153
+ extensions: _mapInstanceProperty__default["default"](_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => `.${ext}`),
154
154
  // NOTE: this is meant to be a temporary list of fallback/polyfills for certain
155
155
  // nodejs modules. With Webpack <5 these polyfills were included by default in Webpack,
156
156
  // however now it's not the case anymore.
@@ -313,9 +313,9 @@ function createWebpackConfigForDevelopment() {
313
313
  name: 'prefixIds',
314
314
  params: {
315
315
  delim: '',
316
- prefix: (_, info) => "svg".concat(crypto__default["default"].createHash('shake256', {
316
+ prefix: (_, info) => `svg${crypto__default["default"].createHash('shake256', {
317
317
  outputLength: 6
318
- }).update(info.path || '').digest('hex'))
318
+ }).update(info.path || '').digest('hex')}`
319
319
  }
320
320
  }]
321
321
  }
@@ -22,7 +22,7 @@ var MomentLocalesPlugin = require('moment-locales-webpack-plugin');
22
22
  var TerserPlugin = require('terser-webpack-plugin');
23
23
  var webpack = require('webpack');
24
24
  var webpackBundleAnalyzer = require('webpack-bundle-analyzer');
25
- var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-06ce5d83.cjs.dev.js');
25
+ var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-d502a5fe.cjs.dev.js');
26
26
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
27
27
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
28
28
  var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
@@ -30,9 +30,9 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
30
30
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
31
31
  var fs = require('fs');
32
32
  var path = require('path');
33
- var createPostcssConfig = require('./create-postcss-config-13cb1cb8.cjs.dev.js');
34
- var optimizations = require('./optimizations-640ffcac.cjs.dev.js');
35
- var paths = require('./paths-ec3e3a7d.cjs.dev.js');
33
+ var createPostcssConfig = require('./create-postcss-config-24861798.cjs.dev.js');
34
+ var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
35
+ var paths = require('./paths-b76fc753.cjs.dev.js');
36
36
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
37
37
 
38
38
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -109,7 +109,7 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
109
109
  fs__default["default"].writeFileSync(path__default["default"].join(this.config.outputPath, 'stats.json'), _JSON$stringify__default["default"](finalStats, null, 2));
110
110
  } catch (error) {
111
111
  // eslint-disable-next-line no-console
112
- console.warn("[FinalStatsWriterPlugin] The dist folder could not be found at ".concat(this.config.outputPath, ". Check the console for errors during the webpack compilation."));
112
+ console.warn(`[FinalStatsWriterPlugin] The dist folder could not be found at ${this.config.outputPath}. Check the console for errors during the webpack compilation.`);
113
113
  }
114
114
  }
115
115
  }]);
@@ -230,7 +230,7 @@ function createWebpackConfigForProduction() {
230
230
  // https://github.com/facebook/create-react-app/issues/290
231
231
  // `web` extension prefixes have been added for better support
232
232
  // for React Native Web.
233
- extensions: _mapInstanceProperty__default["default"](_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => ".".concat(ext)),
233
+ extensions: _mapInstanceProperty__default["default"](_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => `.${ext}`),
234
234
  // NOTE: this is meant to be a temporary list of fallback/polyfills for certain
235
235
  // nodejs modules. With Webpack <5 these polyfills were included by default in Webpack,
236
236
  // however now it's not the case anymore.
@@ -362,9 +362,9 @@ function createWebpackConfigForProduction() {
362
362
  name: 'prefixIds',
363
363
  params: {
364
364
  delim: '',
365
- prefix: (_, info) => "svg".concat(crypto__default["default"].createHash('shake256', {
365
+ prefix: (_, info) => `svg${crypto__default["default"].createHash('shake256', {
366
366
  outputLength: 6
367
- }).update(info.path || '').digest('hex'))
367
+ }).update(info.path || '').digest('hex')}`
368
368
  }
369
369
  }]
370
370
  }
@@ -20,7 +20,7 @@ import MomentLocalesPlugin from 'moment-locales-webpack-plugin';
20
20
  import TerserPlugin from 'terser-webpack-plugin';
21
21
  import webpack from 'webpack';
22
22
  import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
23
- import { l as loadNimbusWebpackPlugin } from './try-load-nimbus-plugins-526dccbd.esm.js';
23
+ import { l as loadNimbusWebpackPlugin } from './try-load-nimbus-plugins-2f528d8f.esm.js';
24
24
  import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
25
25
  import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
26
26
  import _bindInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/bind';
@@ -28,9 +28,9 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
28
28
  import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
29
29
  import fs from 'fs';
30
30
  import path from 'path';
31
- import { c as createPostcssConfig } from './create-postcss-config-390e8a52.esm.js';
32
- import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-1b3f8157.esm.js';
33
- import { p as paths } from './paths-7bf7e88e.esm.js';
31
+ import { c as createPostcssConfig } from './create-postcss-config-3b68ddee.esm.js';
32
+ import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-54382f7b.esm.js';
33
+ import { p as paths } from './paths-39f22b8b.esm.js';
34
34
  import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
35
35
 
36
36
  let FinalStatsWriterPlugin = /*#__PURE__*/function () {
@@ -79,7 +79,7 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
79
79
  fs.writeFileSync(path.join(this.config.outputPath, 'stats.json'), _JSON$stringify(finalStats, null, 2));
80
80
  } catch (error) {
81
81
  // eslint-disable-next-line no-console
82
- console.warn("[FinalStatsWriterPlugin] The dist folder could not be found at ".concat(this.config.outputPath, ". Check the console for errors during the webpack compilation."));
82
+ console.warn(`[FinalStatsWriterPlugin] The dist folder could not be found at ${this.config.outputPath}. Check the console for errors during the webpack compilation.`);
83
83
  }
84
84
  }
85
85
  }]);
@@ -200,7 +200,7 @@ function createWebpackConfigForProduction() {
200
200
  // https://github.com/facebook/create-react-app/issues/290
201
201
  // `web` extension prefixes have been added for better support
202
202
  // for React Native Web.
203
- extensions: _mapInstanceProperty(_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => ".".concat(ext)),
203
+ extensions: _mapInstanceProperty(_context = ['js', 'mjs', 'cjs', 'ts', 'tsx', 'json', 'jsx']).call(_context, ext => `.${ext}`),
204
204
  // NOTE: this is meant to be a temporary list of fallback/polyfills for certain
205
205
  // nodejs modules. With Webpack <5 these polyfills were included by default in Webpack,
206
206
  // however now it's not the case anymore.
@@ -332,9 +332,9 @@ function createWebpackConfigForProduction() {
332
332
  name: 'prefixIds',
333
333
  params: {
334
334
  delim: '',
335
- prefix: (_, info) => "svg".concat(crypto.createHash('shake256', {
335
+ prefix: (_, info) => `svg${crypto.createHash('shake256', {
336
336
  outputLength: 6
337
- }).update(info.path || '').digest('hex'))
337
+ }).update(info.path || '').digest('hex')}`
338
338
  }
339
339
  }]
340
340
  }