frontend/.pnpm-store/v3/files/ae/2c7dedbfa5550255859fb8d448143268f9c37443eb3a3269f8fb3a5ec58bf4c39d37a8de151edad8f5f4dcf9567a254471611d7656886089ad0d6a06f9a667

10 lines
305 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 = globalThis.DOMException