mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
6d1170f06c
Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: ricky <ricky.miller@gmail.com> Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> Co-authored-by: legobt <6wbvkn0j@anonaddy.me> Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
14 lines
644 B
Diff
14 lines
644 B
Diff
diff --git a/dist/squirrelly.cjs.js b/dist/squirrelly.cjs.js
|
|
index 4680ee747900853b9af01b480c749880dedb9824..95dce7623bc115508063a78c7de9ed7b6e4d3d82 100644
|
|
--- a/dist/squirrelly.cjs.js
|
|
+++ b/dist/squirrelly.cjs.js
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
// TODO: allow '-' to trim up until newline. Use [^\S\n\r] instead of \s
|
|
// TODO: only include trimLeft polyfill if not in ES6
|
|
/* END TYPES */
|
|
-var promiseImpl = new Function('return this')().Promise;
|
|
+var promiseImpl = globalThis.Promise;
|
|
var asyncFunc = false;
|
|
try {
|
|
asyncFunc = new Function('return (async function(){}).constructor')();
|