1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 03:20:23 +01:00
metamask-extension/patches/@formatjs+intl-utils+3.3.1.patch
Etienne Dusseault d01bc9bb51
Dep upgrades and patches (#10903)
* apply patches

* lavamoat dep upgrades

* remove lavamoat browserify
2021-04-20 13:39:49 +08:00

26 lines
1.4 KiB
Diff

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