frontend/.pnpm-store/v3/files/09/a4e55e336fb58a704f5b1d147c8cb8477d842d6d2a5f1355b0e5fcf31c51fc3bb31351a87e64a4d625871063ecdc9c8c45d31a1d8169601f96d24aebddbf09

10 lines
279 B
Plaintext

if (!globalThis.DOMException) {
const { MessageChannel } = require('worker_threads')
const port = new MessageChannel().port1
const ab = new ArrayBuffer()
try { port.postMessage(ab, [ab, ab]) }
catch (err) { globalThis.DOMException = err.constructor }
}
module.exports