@shopgate/pwa-common-commerce 7.30.0-alpha.8 → 7.30.0-alpha.9

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.
@@ -1,4 +1,3 @@
1
- import "core-js/modules/web.immediate.js";
2
1
  import { subscribe, invoke, getSubscriptionCount, resetSubscriptions } from '@shopgate/pwa-common/subscriptions/mock';
3
2
  import pipelineDependencies from '@shopgate/pwa-core/classes/PipelineDependencies';
4
3
  import showModal from '@shopgate/pwa-common/actions/modal/showModal';
@@ -83,7 +82,7 @@ jest.mock('@shopgate/pwa-common/helpers/config', () => ({
83
82
  * Flushes the promise queue.
84
83
  * @returns {Promise}
85
84
  */
86
- const flushPromises = () => new Promise(resolve => setImmediate(resolve));
85
+ const flushPromises = () => new Promise(resolve => queueMicrotask(resolve));
87
86
  describe('Favorites - subscriptions', () => {
88
87
  describe('Favorites enabled', () => {
89
88
  const pipelineDependenciesSet = pipelineDependencies.set;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/pwa-common-commerce",
3
- "version": "7.30.0-alpha.8",
3
+ "version": "7.30.0-alpha.9",
4
4
  "description": "Commerce library for the Shopgate Connect PWA.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Shopgate <support@shopgate.com>",
@@ -19,9 +19,9 @@
19
19
  "reselect": "^4.1.8"
20
20
  },
21
21
  "devDependencies": {
22
- "@shopgate/pwa-common": "7.30.0-alpha.8",
23
- "@shopgate/pwa-core": "7.30.0-alpha.8",
24
- "lodash": "^4.17.21",
22
+ "@shopgate/pwa-common": "7.30.0-alpha.9",
23
+ "@shopgate/pwa-core": "7.30.0-alpha.9",
24
+ "lodash": "^4.17.4",
25
25
  "react": "~16.14.0",
26
26
  "react-dom": "~16.14.0"
27
27
  }