Initial commit

This commit is contained in:
maojindao55
2025-02-12 17:18:18 +08:00
commit 394e5640e9
8002 changed files with 1687177 additions and 0 deletions

16
node_modules/node-domexception/index.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
if (!globalThis.DOMException) {
try {
const { MessageChannel } = require('worker_threads'),
port = new MessageChannel().port1,
ab = new ArrayBuffer()
port.postMessage(ab, [ab, ab])
} catch (err) {
err.constructor.name === 'DOMException' && (
globalThis.DOMException = err.constructor
)
}
}
module.exports = globalThis.DOMException