mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
d9d20160d6
* lavamoat - update lavamoat-node and relevant policy + two handy patches * test/e2e - add timeout known to be flaky * lavamoat-viz - rename npm script
19 lines
659 B
Diff
19 lines
659 B
Diff
diff --git a/node_modules/abort-controller/browser.js b/node_modules/abort-controller/browser.js
|
|
index b0c5ec3..c8c8018 100644
|
|
--- a/node_modules/abort-controller/browser.js
|
|
+++ b/node_modules/abort-controller/browser.js
|
|
@@ -2,12 +2,7 @@
|
|
"use strict"
|
|
|
|
/*eslint-disable @mysticatea/prettier */
|
|
-const { AbortController, AbortSignal } =
|
|
- typeof self !== "undefined" ? self :
|
|
- typeof window !== "undefined" ? window :
|
|
- /* otherwise */ undefined
|
|
+const { AbortController } = globalThis;
|
|
/*eslint-enable @mysticatea/prettier */
|
|
|
|
module.exports = AbortController
|
|
-module.exports.AbortSignal = AbortSignal
|
|
-module.exports.default = AbortController
|