2021-09-29 08:56:08 +02:00
|
|
|
diff --git a/node_modules/abort-controller/browser.js b/node_modules/abort-controller/browser.js
|
2022-07-18 16:43:30 +02:00
|
|
|
index b0c5ec3..b61071b 100644
|
2021-09-29 08:56:08 +02:00
|
|
|
--- 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 */
|
|
|
|
|
2022-07-18 16:43:30 +02:00
|
|
|
-module.exports = AbortController
|
2021-09-29 08:56:08 +02:00
|
|
|
-module.exports.AbortSignal = AbortSignal
|
|
|
|
-module.exports.default = AbortController
|
2022-07-18 16:43:30 +02:00
|
|
|
+module.exports = { AbortController }
|