core-js-pure 3.2.0 → 3.2.1

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.
@@ -12,7 +12,7 @@ var IS_NODE = classof(process) == 'process';
12
12
  var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
13
13
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
14
14
 
15
- var flush, head, last, notify, toggle, node, promise;
15
+ var flush, head, last, notify, toggle, node, promise, then;
16
16
 
17
17
  // modern engines have queueMicrotask method
18
18
  if (!queueMicrotask) {
@@ -50,8 +50,9 @@ if (!queueMicrotask) {
50
50
  } else if (Promise && Promise.resolve) {
51
51
  // Promise.resolve without an argument throws an error in LG WebOS 2
52
52
  promise = Promise.resolve(undefined);
53
+ then = promise.then;
53
54
  notify = function () {
54
- promise.then(flush);
55
+ then.call(promise, flush);
55
56
  };
56
57
  // for other environments - macrotask based on:
57
58
  // - setImmediate
@@ -8,7 +8,7 @@ var store = global[SHARED] || setGlobal(SHARED, {});
8
8
  (module.exports = function (key, value) {
9
9
  return store[key] || (store[key] = value !== undefined ? value : {});
10
10
  })('versions', []).push({
11
- version: '3.2.0',
11
+ version: '3.2.1',
12
12
  mode: IS_PURE ? 'pure' : 'global',
13
13
  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
14
14
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "core-js-pure",
3
3
  "description": "Standard library",
4
- "version": "3.2.0",
4
+ "version": "3.2.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/zloirock/core-js.git"