Initial commit

This commit is contained in:
Brendan
2024-08-09 14:03:22 +00:00
commit 95cd19e099
1591 changed files with 215828 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
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