mirror of
https://github.com/deployphp/action.git
synced 2025-04-20 19:16:47 +00:00
Add node_modules
This commit is contained in:
parent
e1f786311a
commit
554eb0b122
994 changed files with 195567 additions and 0 deletions
11
node_modules/node-domexception/.history/index_20210527204756.js
generated
vendored
Normal file
11
node_modules/node-domexception/.history/index_20210527204756.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*! blob-to-buffer. MIT License. Jimmy Wärting <https://jimmy.warting.se> */
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue