Dep upgrades and patches (#10903)
* apply patches * lavamoat dep upgrades * remove lavamoat browserifyfeature/default_network_editable
parent
1baa94d1ab
commit
d01bc9bb51
@ -0,0 +1,26 @@ |
|||||||
|
diff --git a/node_modules/@formatjs/intl-utils/dist/index.js b/node_modules/@formatjs/intl-utils/dist/index.js
|
||||||
|
index cb44944..4ec2d32 100644
|
||||||
|
--- a/node_modules/@formatjs/intl-utils/dist/index.js
|
||||||
|
+++ b/node_modules/@formatjs/intl-utils/dist/index.js
|
||||||
|
@@ -25,7 +25,7 @@ exports.toRawFixed = polyfill_utils_1.toRawFixed;
|
||||||
|
exports.toRawPrecision = polyfill_utils_1.toRawPrecision;
|
||||||
|
exports.getMagnitude = polyfill_utils_1.getMagnitude;
|
||||||
|
exports.repeat = polyfill_utils_1.repeat;
|
||||||
|
-exports.hasOwnProperty = polyfill_utils_1.hasOwnProperty;
|
||||||
|
+Object.defineProperty(exports, 'hasOwnProperty', { value: polyfill_utils_1.hasOwnProperty });
|
||||||
|
exports.isWellFormedUnitIdentifier = polyfill_utils_1.isWellFormedUnitIdentifier;
|
||||||
|
exports.defineProperty = polyfill_utils_1.defineProperty;
|
||||||
|
var resolve_locale_1 = require("./resolve-locale");
|
||||||
|
diff --git a/node_modules/@formatjs/intl-utils/dist/polyfill-utils.js b/node_modules/@formatjs/intl-utils/dist/polyfill-utils.js
|
||||||
|
index 9306ef0..24859ac 100644
|
||||||
|
--- a/node_modules/@formatjs/intl-utils/dist/polyfill-utils.js
|
||||||
|
+++ b/node_modules/@formatjs/intl-utils/dist/polyfill-utils.js
|
||||||
|
@@ -5,7 +5,7 @@ var units_1 = require("./units");
|
||||||
|
function hasOwnProperty(o, key) {
|
||||||
|
return Object.prototype.hasOwnProperty.call(o, key);
|
||||||
|
}
|
||||||
|
-exports.hasOwnProperty = hasOwnProperty;
|
||||||
|
+Object.defineProperty(exports, 'hasOwnProperty', { value: hasOwnProperty });
|
||||||
|
/**
|
||||||
|
* https://tc39.es/ecma262/#sec-toobject
|
||||||
|
* @param arg
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@ |
|||||||
|
diff --git a/node_modules/undeclared-identifiers/index.js b/node_modules/undeclared-identifiers/index.js
|
||||||
|
index c331176..127765d 100644
|
||||||
|
--- a/node_modules/undeclared-identifiers/index.js
|
||||||
|
+++ b/node_modules/undeclared-identifiers/index.js
|
||||||
|
@@ -50,7 +50,7 @@ var bindingVisitor = {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- state.undeclared[node.name] = true
|
||||||
|
+ Reflect.defineProperty(state.undeclared, node.name, { value: true, writable: true, enumerable: true, configurable: true })
|
||||||
|
}
|
||||||
|
|
||||||
|
if (state.wildcard &&
|
@ -0,0 +1,39 @@ |
|||||||
|
diff --git a/node_modules/web3/dist/web3.js b/node_modules/web3/dist/web3.js
|
||||||
|
index 6eb151c..6aa4516 100644
|
||||||
|
--- a/node_modules/web3/dist/web3.js
|
||||||
|
+++ b/node_modules/web3/dist/web3.js
|
||||||
|
@@ -5072,7 +5072,7 @@ Method.prototype.toPayload = function (args) {
|
||||||
|
|
||||||
|
Method.prototype.attachToObject = function (obj) {
|
||||||
|
var func = this.buildCall();
|
||||||
|
- func.call = this.call; // TODO!!! that's ugly. filter.js uses it
|
||||||
|
+ Reflect.defineProperty(func, 'call', { value: this.call })
|
||||||
|
var name = this.name.split('.');
|
||||||
|
if (name.length > 1) {
|
||||||
|
obj[name[0]] = obj[name[0]] || {};
|
||||||
|
diff --git a/node_modules/web3/lib/web3/function.js b/node_modules/web3/lib/web3/function.js
|
||||||
|
index 863a10a..ffcd23c 100644
|
||||||
|
--- a/node_modules/web3/lib/web3/function.js
|
||||||
|
+++ b/node_modules/web3/lib/web3/function.js
|
||||||
|
@@ -269,7 +269,7 @@ SolidityFunction.prototype.execute = function () {
|
||||||
|
SolidityFunction.prototype.attachToContract = function (contract) {
|
||||||
|
var execute = this.execute.bind(this);
|
||||||
|
execute.request = this.request.bind(this);
|
||||||
|
- execute.call = this.call.bind(this);
|
||||||
|
+ Reflect.defineProperty(execute, 'call', this.call.bind(this));
|
||||||
|
execute.sendTransaction = this.sendTransaction.bind(this);
|
||||||
|
execute.estimateGas = this.estimateGas.bind(this);
|
||||||
|
execute.getData = this.getData.bind(this);
|
||||||
|
diff --git a/node_modules/web3/lib/web3/method.js b/node_modules/web3/lib/web3/method.js
|
||||||
|
index 2e3c796..be0b663 100644
|
||||||
|
--- a/node_modules/web3/lib/web3/method.js
|
||||||
|
+++ b/node_modules/web3/lib/web3/method.js
|
||||||
|
@@ -123,7 +123,7 @@ Method.prototype.toPayload = function (args) {
|
||||||
|
|
||||||
|
Method.prototype.attachToObject = function (obj) {
|
||||||
|
var func = this.buildCall();
|
||||||
|
- func.call = this.call; // TODO!!! that's ugly. filter.js uses it
|
||||||
|
+ Reflect.defineProperty(func, 'call', { value: this.call })
|
||||||
|
var name = this.name.split('.');
|
||||||
|
if (name.length > 1) {
|
||||||
|
obj[name[0]] = obj[name[0]] || {};
|
Loading…
Reference in new issue