-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ppom_updates' of github.com:MetaMask/metamask-extension…
… into ppom_updates
- Loading branch information
Showing
376 changed files
with
4,259 additions
and
6,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
# improved-yarn-audit advisory exclusions | ||
GHSA-257v-vj4p-3w2h | ||
|
||
# request library is subject to SSRF. | ||
# addressed by temporary patch in .yarn/patches/request-npm-2.88.2-f4a57c72c4.patch | ||
GHSA-p8p7-x288-28g6 | ||
|
||
# Prototype pollution | ||
# Not easily patched | ||
# Minimal risk to us because we're using lockdown which also prevents this case of prototype pollution | ||
GHSA-h755-8qp9-cq85 | ||
|
||
# tough-cookie | ||
# this will go away soon when we get rid of web3-provider-engine | ||
GHSA-72xf-g2v4-qvf3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# All of these are defaults except singleQuote and endOfLine, but we specify them | ||
# for explicitness | ||
endOfLine: auto | ||
singleQuote: true | ||
trailingComma: all |
17 changes: 0 additions & 17 deletions
17
.yarn/patches/@metamask-signature-controller-npm-4.0.1-013e64c9fd.patch
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
.yarn/patches/@metamask-signature-controller-npm-5.3.0-225628460b.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/dist/SignatureController.js b/dist/SignatureController.js | ||
index a2f064efa2a2700db00767daa4ce6bd22b1932c4..17edb51b6c526f27fb4c19f2d2fda3d7140c66b4 100644 | ||
--- a/dist/SignatureController.js | ||
+++ b/dist/SignatureController.js | ||
@@ -283,8 +283,11 @@ _SignatureController_keyringController = new WeakMap(), _SignatureController_isE | ||
resultCallbacks = acceptResult.resultCallbacks; | ||
} | ||
catch (_a) { | ||
+ signaturePromise.catch(() => { | ||
+ // Expecting reject error but throwing manually rather than waiting | ||
+ }); | ||
__classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_cancelAbstractMessage).call(this, messageManager, messageId); | ||
- throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest('User rejected the request.'); | ||
+ throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest(`MetaMask ${messageName} Signature: User denied message signature.`); | ||
} | ||
yield signMessage(messageParamsWithId, signingOpts); | ||
const signatureResult = yield signaturePromise; | ||
@@ -305,7 +308,7 @@ _SignatureController_keyringController = new WeakMap(), _SignatureController_isE | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield __classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_signAbstractMessage).call(this, __classPrivateFieldGet(this, _SignatureController_personalMessageManager, "f"), controller_utils_1.ApprovalType.PersonalSign, msgParams, (cleanMsgParams) => __awaiter(this, void 0, void 0, function* () { return yield __classPrivateFieldGet(this, _SignatureController_keyringController, "f").signPersonalMessage(cleanMsgParams); })); | ||
}); | ||
-}, _SignatureController_signTypedMessage = function _SignatureController_signTypedMessage(msgParams, | ||
+}, _SignatureController_signTypedMessage = function _SignatureController_signTypedMessage(msgParams, | ||
/* istanbul ignore next */ | ||
opts = { parseJsonData: true }) { | ||
return __awaiter(this, void 0, void 0, function* () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.