It appears that the repository has undergone several changes and renamings:
This commit is contained in:
9
backend/node_modules/queue-microtask/index.js
generated
vendored
9
backend/node_modules/queue-microtask/index.js
generated
vendored
@@ -1,9 +0,0 @@
|
||||
/*! 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))
|
Reference in New Issue
Block a user