@commercetools-frontend/cookie-consent 2.3.0 → 2.4.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.
@@ -38,7 +38,7 @@ var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInsta
38
38
 
39
39
  var _context2;
40
40
  function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
41
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context11, _context12; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context11 = ownKeys(Object(t), !0)).call(_context11, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context12 = ownKeys(Object(t))).call(_context12, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
41
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context13, _context14; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context13 = ownKeys(Object(t), !0)).call(_context13, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context14 = ownKeys(Object(t))).call(_context14, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
42
42
  const COOKIE_CONSENT_GROUPS = {
43
43
  essentialCookies: 'C0001',
44
44
  performanceCookies: 'C0002',
@@ -81,7 +81,7 @@ function getParsedConsentCookieGroups() {
81
81
  _consentGroup$split2 = _slicedToArray(_consentGroup$split, 2),
82
82
  encodedConsentGroupName = _consentGroup$split2[0],
83
83
  consentGroupValue = _consentGroup$split2[1];
84
- return [encodedConsentGroupToConsentGroup[encodedConsentGroupName], skipConsent === true ? true : consentGroupValue === '1'];
84
+ return [encodedConsentGroupName && encodedConsentGroupToConsentGroup[encodedConsentGroupName], skipConsent === true ? true : consentGroupValue === '1'];
85
85
  });
86
86
  parsedConsentCookieGroups = parsedConsentCookieGroupEntries ? _Object$fromEntries__default["default"](parsedConsentCookieGroupEntries) : null;
87
87
  } catch (error) {}
@@ -127,6 +127,21 @@ function generateConsentCookie(consentGroups) {
127
127
  const consentCookieValue = new _URLSearchParams__default["default"](consentValues);
128
128
  return consentCookieValue.toString();
129
129
  }
130
+
131
+ /**
132
+ * The `window.app.cookieConsentDomain` can be passed but cannot be an empty string.
133
+ *
134
+ * By default `.commercetools.com` is used.
135
+ */
136
+ function getConsentCookieDomain() {
137
+ let consentCookieDomain;
138
+ if (window.app && window.app.cookieConsentDomain && window.app.cookieConsentDomain.length > 0) {
139
+ consentCookieDomain = window.app.cookieConsentDomain;
140
+ } else {
141
+ consentCookieDomain = '.commercetools.com';
142
+ }
143
+ return consentCookieDomain;
144
+ }
130
145
  function setConsentCookie(consentGroups, domain) {
131
146
  var _context8, _context9, _context10;
132
147
  const expiresAt = new Date();
@@ -135,22 +150,46 @@ function setConsentCookie(consentGroups, domain) {
135
150
 
136
151
  /**
137
152
  * The `domain` argument takes precedence if passed.
138
- * The `window.app.cookieConsentDomain` can be passed but can not be an empty string.
139
- * By default `.commercetools.com` is used.
140
153
  */
141
154
  if (domain && domain.length > 0) {
142
155
  consentCookieDomain = domain;
143
- } else if (window.app && window.app.cookieConsentDomain && window.app.cookieConsentDomain.length > 0) {
144
- consentCookieDomain = window.app.cookieConsentDomain;
145
156
  } else {
146
- consentCookieDomain = '.commercetools.com';
157
+ consentCookieDomain = getConsentCookieDomain();
147
158
  }
148
159
  document.cookie = _concatInstanceProperty__default["default"](_context8 = _concatInstanceProperty__default["default"](_context9 = _concatInstanceProperty__default["default"](_context10 = "".concat(CONSENT_COOKIE_NAME, "=")).call(_context10, generateConsentCookie(consentGroups), "; domain=")).call(_context9, consentCookieDomain, "; expires=")).call(_context8, expiresAt.toUTCString(), "; SameSite=Lax; path=/; ");
149
160
  }
150
161
 
162
+ /**
163
+ * Deletes the consent cookie from the browser by setting the cookie's expiration date to a past date.
164
+ */
165
+ function deleteConsentCookie() {
166
+ var _context11, _context12;
167
+ const beginningOfTime = 'Thu, 01 Jan 1970 00:00:00 GMT';
168
+ const cookieConsentDomain = getConsentCookieDomain();
169
+ document.cookie = _concatInstanceProperty__default["default"](_context11 = _concatInstanceProperty__default["default"](_context12 = "".concat(CONSENT_COOKIE_NAME, "=; expires=")).call(_context12, beginningOfTime, "; path=/; domain=")).call(_context11, cookieConsentDomain);
170
+ }
171
+
172
+ /**
173
+ * Checks and potentially revokes the consent cookie based on its date stamp.
174
+ *
175
+ * If the cookie's date stamp is older than the revocation date, it deletes the cookie.
176
+ */
177
+ function unsetConsentCookie(revocationDate) {
178
+ const rawConsentCookie = getRawConsentCookie();
179
+ const parsedConsentCookieValue = new _URLSearchParams__default["default"](rawConsentCookie);
180
+ const cookieDateStamp = parsedConsentCookieValue.get('datestamp');
181
+ if (cookieDateStamp) {
182
+ const cookieDate = new Date(cookieDateStamp);
183
+ if (cookieDate < revocationDate) {
184
+ deleteConsentCookie();
185
+ }
186
+ }
187
+ }
188
+
151
189
  exports.CONSENT_COOKIE_NAME = CONSENT_COOKIE_NAME;
152
190
  exports.COOKIE_CONSENT_GROUPS = COOKIE_CONSENT_GROUPS;
153
191
  exports.generateConsentCookie = generateConsentCookie;
154
192
  exports.getParsedConsentCookieGroups = getParsedConsentCookieGroups;
155
193
  exports.getRawConsentCookie = getRawConsentCookie;
156
194
  exports.setConsentCookie = setConsentCookie;
195
+ exports.unsetConsentCookie = unsetConsentCookie;
@@ -38,7 +38,7 @@ var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInsta
38
38
 
39
39
  var _context2;
40
40
  function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
41
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context11, _context12; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context11 = ownKeys(Object(t), !0)).call(_context11, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context12 = ownKeys(Object(t))).call(_context12, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
41
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context13, _context14; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context13 = ownKeys(Object(t), !0)).call(_context13, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context14 = ownKeys(Object(t))).call(_context14, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
42
42
  const COOKIE_CONSENT_GROUPS = {
43
43
  essentialCookies: 'C0001',
44
44
  performanceCookies: 'C0002',
@@ -81,7 +81,7 @@ function getParsedConsentCookieGroups() {
81
81
  _consentGroup$split2 = _slicedToArray(_consentGroup$split, 2),
82
82
  encodedConsentGroupName = _consentGroup$split2[0],
83
83
  consentGroupValue = _consentGroup$split2[1];
84
- return [encodedConsentGroupToConsentGroup[encodedConsentGroupName], skipConsent === true ? true : consentGroupValue === '1'];
84
+ return [encodedConsentGroupName && encodedConsentGroupToConsentGroup[encodedConsentGroupName], skipConsent === true ? true : consentGroupValue === '1'];
85
85
  });
86
86
  parsedConsentCookieGroups = parsedConsentCookieGroupEntries ? _Object$fromEntries__default["default"](parsedConsentCookieGroupEntries) : null;
87
87
  } catch (error) {}
@@ -127,6 +127,21 @@ function generateConsentCookie(consentGroups) {
127
127
  const consentCookieValue = new _URLSearchParams__default["default"](consentValues);
128
128
  return consentCookieValue.toString();
129
129
  }
130
+
131
+ /**
132
+ * The `window.app.cookieConsentDomain` can be passed but cannot be an empty string.
133
+ *
134
+ * By default `.commercetools.com` is used.
135
+ */
136
+ function getConsentCookieDomain() {
137
+ let consentCookieDomain;
138
+ if (window.app && window.app.cookieConsentDomain && window.app.cookieConsentDomain.length > 0) {
139
+ consentCookieDomain = window.app.cookieConsentDomain;
140
+ } else {
141
+ consentCookieDomain = '.commercetools.com';
142
+ }
143
+ return consentCookieDomain;
144
+ }
130
145
  function setConsentCookie(consentGroups, domain) {
131
146
  var _context8, _context9, _context10;
132
147
  const expiresAt = new Date();
@@ -135,22 +150,46 @@ function setConsentCookie(consentGroups, domain) {
135
150
 
136
151
  /**
137
152
  * The `domain` argument takes precedence if passed.
138
- * The `window.app.cookieConsentDomain` can be passed but can not be an empty string.
139
- * By default `.commercetools.com` is used.
140
153
  */
141
154
  if (domain && domain.length > 0) {
142
155
  consentCookieDomain = domain;
143
- } else if (window.app && window.app.cookieConsentDomain && window.app.cookieConsentDomain.length > 0) {
144
- consentCookieDomain = window.app.cookieConsentDomain;
145
156
  } else {
146
- consentCookieDomain = '.commercetools.com';
157
+ consentCookieDomain = getConsentCookieDomain();
147
158
  }
148
159
  document.cookie = _concatInstanceProperty__default["default"](_context8 = _concatInstanceProperty__default["default"](_context9 = _concatInstanceProperty__default["default"](_context10 = "".concat(CONSENT_COOKIE_NAME, "=")).call(_context10, generateConsentCookie(consentGroups), "; domain=")).call(_context9, consentCookieDomain, "; expires=")).call(_context8, expiresAt.toUTCString(), "; SameSite=Lax; path=/; ");
149
160
  }
150
161
 
162
+ /**
163
+ * Deletes the consent cookie from the browser by setting the cookie's expiration date to a past date.
164
+ */
165
+ function deleteConsentCookie() {
166
+ var _context11, _context12;
167
+ const beginningOfTime = 'Thu, 01 Jan 1970 00:00:00 GMT';
168
+ const cookieConsentDomain = getConsentCookieDomain();
169
+ document.cookie = _concatInstanceProperty__default["default"](_context11 = _concatInstanceProperty__default["default"](_context12 = "".concat(CONSENT_COOKIE_NAME, "=; expires=")).call(_context12, beginningOfTime, "; path=/; domain=")).call(_context11, cookieConsentDomain);
170
+ }
171
+
172
+ /**
173
+ * Checks and potentially revokes the consent cookie based on its date stamp.
174
+ *
175
+ * If the cookie's date stamp is older than the revocation date, it deletes the cookie.
176
+ */
177
+ function unsetConsentCookie(revocationDate) {
178
+ const rawConsentCookie = getRawConsentCookie();
179
+ const parsedConsentCookieValue = new _URLSearchParams__default["default"](rawConsentCookie);
180
+ const cookieDateStamp = parsedConsentCookieValue.get('datestamp');
181
+ if (cookieDateStamp) {
182
+ const cookieDate = new Date(cookieDateStamp);
183
+ if (cookieDate < revocationDate) {
184
+ deleteConsentCookie();
185
+ }
186
+ }
187
+ }
188
+
151
189
  exports.CONSENT_COOKIE_NAME = CONSENT_COOKIE_NAME;
152
190
  exports.COOKIE_CONSENT_GROUPS = COOKIE_CONSENT_GROUPS;
153
191
  exports.generateConsentCookie = generateConsentCookie;
154
192
  exports.getParsedConsentCookieGroups = getParsedConsentCookieGroups;
155
193
  exports.getRawConsentCookie = getRawConsentCookie;
156
194
  exports.setConsentCookie = setConsentCookie;
195
+ exports.unsetConsentCookie = unsetConsentCookie;
@@ -17,7 +17,7 @@ import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
17
17
 
18
18
  var _context2;
19
19
  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; }
20
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context11, _context12; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context11 = ownKeys(Object(t), !0)).call(_context11, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context12 = ownKeys(Object(t))).call(_context12, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
20
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context13, _context14; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context13 = ownKeys(Object(t), !0)).call(_context13, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context14 = ownKeys(Object(t))).call(_context14, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
21
21
  const COOKIE_CONSENT_GROUPS = {
22
22
  essentialCookies: 'C0001',
23
23
  performanceCookies: 'C0002',
@@ -60,7 +60,7 @@ function getParsedConsentCookieGroups() {
60
60
  _consentGroup$split2 = _slicedToArray(_consentGroup$split, 2),
61
61
  encodedConsentGroupName = _consentGroup$split2[0],
62
62
  consentGroupValue = _consentGroup$split2[1];
63
- return [encodedConsentGroupToConsentGroup[encodedConsentGroupName], skipConsent === true ? true : consentGroupValue === '1'];
63
+ return [encodedConsentGroupName && encodedConsentGroupToConsentGroup[encodedConsentGroupName], skipConsent === true ? true : consentGroupValue === '1'];
64
64
  });
65
65
  parsedConsentCookieGroups = parsedConsentCookieGroupEntries ? _Object$fromEntries(parsedConsentCookieGroupEntries) : null;
66
66
  } catch (error) {}
@@ -106,6 +106,21 @@ function generateConsentCookie(consentGroups) {
106
106
  const consentCookieValue = new _URLSearchParams(consentValues);
107
107
  return consentCookieValue.toString();
108
108
  }
109
+
110
+ /**
111
+ * The `window.app.cookieConsentDomain` can be passed but cannot be an empty string.
112
+ *
113
+ * By default `.commercetools.com` is used.
114
+ */
115
+ function getConsentCookieDomain() {
116
+ let consentCookieDomain;
117
+ if (window.app && window.app.cookieConsentDomain && window.app.cookieConsentDomain.length > 0) {
118
+ consentCookieDomain = window.app.cookieConsentDomain;
119
+ } else {
120
+ consentCookieDomain = '.commercetools.com';
121
+ }
122
+ return consentCookieDomain;
123
+ }
109
124
  function setConsentCookie(consentGroups, domain) {
110
125
  var _context8, _context9, _context10;
111
126
  const expiresAt = new Date();
@@ -114,17 +129,40 @@ function setConsentCookie(consentGroups, domain) {
114
129
 
115
130
  /**
116
131
  * The `domain` argument takes precedence if passed.
117
- * The `window.app.cookieConsentDomain` can be passed but can not be an empty string.
118
- * By default `.commercetools.com` is used.
119
132
  */
120
133
  if (domain && domain.length > 0) {
121
134
  consentCookieDomain = domain;
122
- } else if (window.app && window.app.cookieConsentDomain && window.app.cookieConsentDomain.length > 0) {
123
- consentCookieDomain = window.app.cookieConsentDomain;
124
135
  } else {
125
- consentCookieDomain = '.commercetools.com';
136
+ consentCookieDomain = getConsentCookieDomain();
126
137
  }
127
138
  document.cookie = _concatInstanceProperty(_context8 = _concatInstanceProperty(_context9 = _concatInstanceProperty(_context10 = "".concat(CONSENT_COOKIE_NAME, "=")).call(_context10, generateConsentCookie(consentGroups), "; domain=")).call(_context9, consentCookieDomain, "; expires=")).call(_context8, expiresAt.toUTCString(), "; SameSite=Lax; path=/; ");
128
139
  }
129
140
 
130
- export { CONSENT_COOKIE_NAME, COOKIE_CONSENT_GROUPS, generateConsentCookie, getParsedConsentCookieGroups, getRawConsentCookie, setConsentCookie };
141
+ /**
142
+ * Deletes the consent cookie from the browser by setting the cookie's expiration date to a past date.
143
+ */
144
+ function deleteConsentCookie() {
145
+ var _context11, _context12;
146
+ const beginningOfTime = 'Thu, 01 Jan 1970 00:00:00 GMT';
147
+ const cookieConsentDomain = getConsentCookieDomain();
148
+ document.cookie = _concatInstanceProperty(_context11 = _concatInstanceProperty(_context12 = "".concat(CONSENT_COOKIE_NAME, "=; expires=")).call(_context12, beginningOfTime, "; path=/; domain=")).call(_context11, cookieConsentDomain);
149
+ }
150
+
151
+ /**
152
+ * Checks and potentially revokes the consent cookie based on its date stamp.
153
+ *
154
+ * If the cookie's date stamp is older than the revocation date, it deletes the cookie.
155
+ */
156
+ function unsetConsentCookie(revocationDate) {
157
+ const rawConsentCookie = getRawConsentCookie();
158
+ const parsedConsentCookieValue = new _URLSearchParams(rawConsentCookie);
159
+ const cookieDateStamp = parsedConsentCookieValue.get('datestamp');
160
+ if (cookieDateStamp) {
161
+ const cookieDate = new Date(cookieDateStamp);
162
+ if (cookieDate < revocationDate) {
163
+ deleteConsentCookie();
164
+ }
165
+ }
166
+ }
167
+
168
+ export { CONSENT_COOKIE_NAME, COOKIE_CONSENT_GROUPS, generateConsentCookie, getParsedConsentCookieGroups, getRawConsentCookie, setConsentCookie, unsetConsentCookie };
@@ -26,4 +26,5 @@ declare function getParsedConsentCookieGroups(cookieValue?: string | undefined,
26
26
  };
27
27
  declare function generateConsentCookie(consentGroups: Partial<TConsentGroups>): string;
28
28
  declare function setConsentCookie(consentGroups: Partial<TConsentGroups>, domain?: string): void;
29
- export { type TConsentGroups, CONSENT_COOKIE_NAME, getRawConsentCookie, getParsedConsentCookieGroups, setConsentCookie, generateConsentCookie, COOKIE_CONSENT_GROUPS, };
29
+ declare function unsetConsentCookie(revocationDate: Date): void;
30
+ export { type TConsentGroups, CONSENT_COOKIE_NAME, getRawConsentCookie, getParsedConsentCookieGroups, setConsentCookie, unsetConsentCookie, generateConsentCookie, COOKIE_CONSENT_GROUPS, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/cookie-consent",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "A package integrating with OneTrust cookie consent",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,33 +22,33 @@
22
22
  "@babel/core": "^7.22.11",
23
23
  "@babel/runtime": "^7.21.0",
24
24
  "@babel/runtime-corejs3": "^7.21.0",
25
- "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.23.3",
26
- "@commercetools-uikit/collapsible-panel": "npm:@commercetools-uikit/collapsible-panel@^19.1.0",
27
- "@commercetools-uikit/design-system": "npm:@commercetools-uikit/design-system@^19.1.0",
28
- "@commercetools-uikit/grid": "npm:@commercetools-uikit/grid@^19.1.0",
29
- "@commercetools-uikit/link": "npm:@commercetools-uikit/link@^19.1.0",
30
- "@commercetools-uikit/primary-button": "npm:@commercetools-uikit/primary-button@^19.1.0",
31
- "@commercetools-uikit/spacings": "npm:@commercetools-uikit/spacings@^19.1.0",
32
- "@commercetools-uikit/text": "npm:@commercetools-uikit/text@^19.1.0",
33
- "@commercetools-uikit/toggle-input": "npm:@commercetools-uikit/toggle-input@^19.1.0"
25
+ "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.27.0",
26
+ "@commercetools-uikit/collapsible-panel": "npm:@commercetools-uikit/collapsible-panel@^19.3.1",
27
+ "@commercetools-uikit/design-system": "npm:@commercetools-uikit/design-system@^19.3.1",
28
+ "@commercetools-uikit/grid": "npm:@commercetools-uikit/grid@^19.3.1",
29
+ "@commercetools-uikit/link": "npm:@commercetools-uikit/link@^19.3.1",
30
+ "@commercetools-uikit/primary-button": "npm:@commercetools-uikit/primary-button@^19.3.1",
31
+ "@commercetools-uikit/spacings": "npm:@commercetools-uikit/spacings@^19.3.1",
32
+ "@commercetools-uikit/text": "npm:@commercetools-uikit/text@^19.3.1",
33
+ "@commercetools-uikit/toggle-input": "npm:@commercetools-uikit/toggle-input@^19.3.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@commercetools-frontend/application-shell": "22.23.3",
37
- "@commercetools-frontend/application-shell-connectors": "22.23.3",
36
+ "@commercetools-frontend/application-shell": "22.27.0",
37
+ "@commercetools-frontend/application-shell-connectors": "22.27.0",
38
38
  "@emotion/react": "^11.11.1",
39
39
  "@testing-library/react": "12.1.5",
40
40
  "@testing-library/react-hooks": "8.0.1",
41
41
  "@types/jest": "^29.5.2",
42
- "@types/node": "20.12.7",
42
+ "@types/node": "20.12.12",
43
43
  "@types/react": "17.0.80",
44
44
  "@types/testing-library__jest-dom": "^5.14.6",
45
45
  "react": "17.0.2",
46
- "react-intl": "6.6.4",
46
+ "react-intl": "6.6.8",
47
47
  "typescript": "5.2.2"
48
48
  },
49
49
  "peerDependencies": {
50
- "@commercetools-frontend/application-shell": "22.x",
51
- "@commercetools-frontend/application-shell-connectors": "22.x",
50
+ "@commercetools-frontend/application-shell": "22.27.0",
51
+ "@commercetools-frontend/application-shell-connectors": "22.27.0",
52
52
  "@emotion/react": "11.x",
53
53
  "react": "17.x",
54
54
  "react-intl": "6.x"