core-js 3.4.7 → 3.4.8

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,7 +1,12 @@
1
- var shared = require('../internals/shared');
1
+ var store = require('../internals/shared-store');
2
2
 
3
3
  var functionToString = Function.toString;
4
4
 
5
- module.exports = shared('inspectSource', function (it) {
6
- return functionToString.call(it);
7
- });
5
+ // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
6
+ if (typeof store.inspectSource != 'function') {
7
+ store.inspectSource = function (it) {
8
+ return functionToString.call(it);
9
+ };
10
+ }
11
+
12
+ module.exports = store.inspectSource;
@@ -4,7 +4,7 @@ var store = require('../internals/shared-store');
4
4
  (module.exports = function (key, value) {
5
5
  return store[key] || (store[key] = value !== undefined ? value : {});
6
6
  })('versions', []).push({
7
- version: '3.4.7',
7
+ version: '3.4.8',
8
8
  mode: IS_PURE ? 'pure' : 'global',
9
9
  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
10
10
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "core-js",
3
3
  "description": "Standard library",
4
- "version": "3.4.7",
4
+ "version": "3.4.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/zloirock/core-js.git"