|
|
@ -1,8 +1,8 @@ |
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/construct.js b/node_modules/@babel/runtime/helpers/construct.js
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/construct.js b/node_modules/@babel/runtime/helpers/construct.js
|
|
|
|
index 108b39a..e3c769b 100644
|
|
|
|
index ecc013d..092b29b 100644
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/construct.js
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/construct.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/construct.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/construct.js
|
|
|
|
@@ -1,26 +1,21 @@
|
|
|
|
@@ -1,22 +1,21 @@
|
|
|
|
-var setPrototypeOf = require("./setPrototypeOf.js");
|
|
|
|
-var setPrototypeOf = require("./setPrototypeOf.js");
|
|
|
|
+// All of MetaMask's supported browsers include `Reflect.construct` support, so
|
|
|
|
+// All of MetaMask's supported browsers include `Reflect.construct` support, so
|
|
|
|
+// we don't need this polyfill.
|
|
|
|
+// we don't need this polyfill.
|
|
|
@ -11,8 +11,7 @@ index 108b39a..e3c769b 100644 |
|
|
|
-
|
|
|
|
-
|
|
|
|
-function _construct(Parent, args, Class) {
|
|
|
|
-function _construct(Parent, args, Class) {
|
|
|
|
- if (isNativeReflectConstruct()) {
|
|
|
|
- if (isNativeReflectConstruct()) {
|
|
|
|
- module.exports = _construct = Reflect.construct;
|
|
|
|
- module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
- module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
- } else {
|
|
|
|
- } else {
|
|
|
|
- module.exports = _construct = function _construct(Parent, args, Class) {
|
|
|
|
- module.exports = _construct = function _construct(Parent, args, Class) {
|
|
|
|
- var a = [null];
|
|
|
|
- var a = [null];
|
|
|
@ -21,9 +20,7 @@ index 108b39a..e3c769b 100644 |
|
|
|
- var instance = new Constructor();
|
|
|
|
- var instance = new Constructor();
|
|
|
|
- if (Class) setPrototypeOf(instance, Class.prototype);
|
|
|
|
- if (Class) setPrototypeOf(instance, Class.prototype);
|
|
|
|
- return instance;
|
|
|
|
- return instance;
|
|
|
|
- };
|
|
|
|
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
-
|
|
|
|
|
|
|
|
- module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
+// This Proxy preseves the two properties that were added by `@babel/runtime`.
|
|
|
|
+// This Proxy preseves the two properties that were added by `@babel/runtime`.
|
|
|
|
+// I am not entire sure what these properties are for (maybe ES5/ES6
|
|
|
|
+// I am not entire sure what these properties are for (maybe ES5/ES6
|
|
|
|
+// interoperability?) but they have been preserved just in case.
|
|
|
|
+// interoperability?) but they have been preserved just in case.
|
|
|
@ -44,17 +41,17 @@ index 108b39a..e3c769b 100644 |
|
|
|
- return _construct.apply(null, arguments);
|
|
|
|
- return _construct.apply(null, arguments);
|
|
|
|
-}
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-module.exports = _construct;
|
|
|
|
-module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
-module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
\ No newline at end of file
|
|
|
|
\ No newline at end of file
|
|
|
|
+module.exports = reflectProxy;
|
|
|
|
+module.exports = reflectProxy;
|
|
|
|
|
|
|
|
\ No newline at end of file
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/extends.js b/node_modules/@babel/runtime/helpers/extends.js
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/extends.js b/node_modules/@babel/runtime/helpers/extends.js
|
|
|
|
index eaf9547..d0474f5 100644
|
|
|
|
index b76a654..561a078 100644
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/extends.js
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/extends.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/extends.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/extends.js
|
|
|
|
@@ -1,20 +1,5 @@
|
|
|
|
@@ -1,18 +1,5 @@
|
|
|
|
function _extends() {
|
|
|
|
function _extends() {
|
|
|
|
- module.exports = _extends = Object.assign || function (target) {
|
|
|
|
- module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
|
|
- for (var i = 1; i < arguments.length; i++) {
|
|
|
|
- for (var i = 1; i < arguments.length; i++) {
|
|
|
|
- var source = arguments[i];
|
|
|
|
- var source = arguments[i];
|
|
|
|
-
|
|
|
|
-
|
|
|
@ -66,47 +63,42 @@ index eaf9547..d0474f5 100644 |
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- return target;
|
|
|
|
- return target;
|
|
|
|
- };
|
|
|
|
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
-
|
|
|
|
|
|
|
|
- module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
- return _extends.apply(this, arguments);
|
|
|
|
- return _extends.apply(this, arguments);
|
|
|
|
+ return Object.assign(...arguments)
|
|
|
|
+ return Object.assign(...arguments);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = _extends;
|
|
|
|
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
|
|
|
|
\ No newline at end of file
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
|
|
index a6916eb..e01b2d6 100644
|
|
|
|
index 259ed27..07bb963 100644
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
|
|
@@ -1,9 +1,5 @@
|
|
|
|
@@ -1,8 +1,5 @@
|
|
|
|
function _getPrototypeOf(o) {
|
|
|
|
function _getPrototypeOf(o) {
|
|
|
|
- module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
|
|
- module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
|
|
- return o.__proto__ || Object.getPrototypeOf(o);
|
|
|
|
- return o.__proto__ || Object.getPrototypeOf(o);
|
|
|
|
- };
|
|
|
|
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
- module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
- return _getPrototypeOf(o);
|
|
|
|
- return _getPrototypeOf(o);
|
|
|
|
+ return Object.getPrototypeOf(o);
|
|
|
|
+ return Object.getPrototypeOf(o);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = _getPrototypeOf;
|
|
|
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
|
|
|
|
\ No newline at end of file
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
|
|
diff --git a/node_modules/@babel/runtime/helpers/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
|
|
index 415797b..63312f2 100644
|
|
|
|
index ed2c1eb..da8ef36 100644
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
|
|
--- a/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
|
|
+++ b/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
|
|
@@ -1,12 +1,7 @@
|
|
|
|
@@ -1,9 +1,6 @@
|
|
|
|
function _setPrototypeOf(o, p) {
|
|
|
|
function _setPrototypeOf(o, p) {
|
|
|
|
- module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
|
|
- module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
|
|
- o.__proto__ = p;
|
|
|
|
- o.__proto__ = p;
|
|
|
|
- return o;
|
|
|
|
- return o;
|
|
|
|
- };
|
|
|
|
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
-
|
|
|
|
|
|
|
|
- module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
- return _setPrototypeOf(o, p);
|
|
|
|
- return _setPrototypeOf(o, p);
|
|
|
|
-}
|
|
|
|
|
|
|
|
+ o.__proto__ = p;
|
|
|
|
+ o.__proto__ = p;
|
|
|
|
+ return o;
|
|
|
|
+ return o;
|
|
|
|
+};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = _setPrototypeOf;
|
|
|
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
|
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
|
|
|
|
|
|
\ No newline at end of file
|
|
|
|
\ No newline at end of file
|