1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Update policies

This commit is contained in:
PeterYinusa 2023-01-05 20:27:06 +00:00 committed by Dan Miller
parent e71b664bef
commit 94b0d7fb91
6 changed files with 41 additions and 22 deletions

View File

@ -1178,7 +1178,7 @@
"@metamask/controller-utils>isomorphic-fetch": true,
"@metamask/smart-transactions-controller>@metamask/controllers": true,
"@metamask/smart-transactions-controller>bignumber.js": true,
"fast-json-patch": true,
"@metamask/smart-transactions-controller>fast-json-patch": true,
"lodash": true
}
},
@ -1403,6 +1403,14 @@
"define": true
}
},
"@metamask/smart-transactions-controller>fast-json-patch": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true,
"setTimeout": true
}
},
"@metamask/snaps-controllers>nanoid": {
"globals": {
"crypto.getRandomValues": true

View File

@ -1440,7 +1440,7 @@
"@metamask/controller-utils>isomorphic-fetch": true,
"@metamask/smart-transactions-controller>@metamask/controllers": true,
"@metamask/smart-transactions-controller>bignumber.js": true,
"fast-json-patch": true,
"@metamask/smart-transactions-controller>fast-json-patch": true,
"lodash": true
}
},
@ -1665,6 +1665,14 @@
"define": true
}
},
"@metamask/smart-transactions-controller>fast-json-patch": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true,
"setTimeout": true
}
},
"@metamask/snaps-controllers": {
"globals": {
"URL": true,

View File

@ -1178,7 +1178,7 @@
"@metamask/controller-utils>isomorphic-fetch": true,
"@metamask/smart-transactions-controller>@metamask/controllers": true,
"@metamask/smart-transactions-controller>bignumber.js": true,
"fast-json-patch": true,
"@metamask/smart-transactions-controller>fast-json-patch": true,
"lodash": true
}
},
@ -1403,6 +1403,14 @@
"define": true
}
},
"@metamask/smart-transactions-controller>fast-json-patch": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true,
"setTimeout": true
}
},
"@metamask/snaps-controllers>nanoid": {
"globals": {
"crypto.getRandomValues": true

View File

@ -1,13 +0,0 @@
diff --git a/node_modules/@metamask/smart-transactions-controller/node_modules/fast-json-patch/commonjs/helpers.js b/node_modules/@metamask/smart-transactions-controller/node_modules/fast-json-patch/commonjs/helpers.js
index 0ac28b4..d048c0a 100644
--- a/node_modules/@metamask/smart-transactions-controller/node_modules/fast-json-patch/commonjs/helpers.js
+++ b/node_modules/@metamask/smart-transactions-controller/node_modules/fast-json-patch/commonjs/helpers.js
@@ -21,7 +21,7 @@ var _hasOwnProperty = Object.prototype.hasOwnProperty;
function hasOwnProperty(obj, key) {
return _hasOwnProperty.call(obj, key);
}
-exports.hasOwnProperty = hasOwnProperty;
+Object.defineProperty(exports, "hasOwnProperty", { value: hasOwnProperty });
function _objectKeys(obj) {
if (Array.isArray(obj)) {
var keys = new Array(obj.length);

View File

@ -0,0 +1,13 @@
diff --git a/node_modules/fast-json-patch/commonjs/helpers.js b/node_modules/fast-json-patch/commonjs/helpers.js
index 5f2350e..8894686 100644
--- a/node_modules/fast-json-patch/commonjs/helpers.js
+++ b/node_modules/fast-json-patch/commonjs/helpers.js
@@ -21,7 +21,7 @@ var _hasOwnProperty = Object.prototype.hasOwnProperty;
function hasOwnProperty(obj, key) {
return _hasOwnProperty.call(obj, key);
}
-exports.hasOwnProperty = hasOwnProperty;
+Object.defineProperty(exports, "hasOwnProperty", { value: hasOwnProperty });
function _objectKeys(obj) {
if (Array.isArray(obj)) {
var keys_1 = new Array(obj.length);

View File

@ -12363,12 +12363,7 @@ fast-json-patch@^2.0.6:
dependencies:
fast-deep-equal "^2.0.1"
fast-json-patch@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/fast-json-patch/-/fast-json-patch-3.1.0.tgz#ec8cd9b9c4c564250ec8b9140ef7a55f70acaee6"
integrity sha512-IhpytlsVTRndz0hU5t0/MGzS/etxLlfrpG5V5M9mVbuj9TrJLWaMfsox9REM5rkuGX0T+5qjpe8XA1o0gZ42nA==
fast-json-patch@^3.1.1:
fast-json-patch@^3.1.0, fast-json-patch@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/fast-json-patch/-/fast-json-patch-3.1.1.tgz#85064ea1b1ebf97a3f7ad01e23f9337e72c66947"
integrity sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==