mirror of
https://github.com/deployphp/action.git
synced 2025-06-29 04:34:15 +00:00
Add node_modules
This commit is contained in:
parent
e1f786311a
commit
554eb0b122
994 changed files with 195567 additions and 0 deletions
9
node_modules/queue-microtask/index.js
generated
vendored
Normal file
9
node_modules/queue-microtask/index.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
let promise
|
||||
|
||||
module.exports = typeof queueMicrotask === 'function'
|
||||
? queueMicrotask.bind(typeof window !== 'undefined' ? window : global)
|
||||
// reuse resolved promise, and allocate it lazily
|
||||
: cb => (promise || (promise = Promise.resolve()))
|
||||
.then(cb)
|
||||
.catch(err => setTimeout(() => { throw err }, 0))
|
Loading…
Add table
Add a link
Reference in a new issue