fix(backend): Convert legacy queries and add translate wrapper

This commit is contained in:
VPS 4 Builder
2026-05-13 09:53:00 +02:00
parent 9d10fed38e
commit e260eed28b
3254 changed files with 4328622 additions and 1578 deletions
+16
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