This commit is contained in:
renjianbo
2026-07-18 16:31:27 +08:00
parent 8b12f5b0e8
commit 12ccebc477
4478 changed files with 309451 additions and 0 deletions

9
node_modules/queue-microtask/index.js generated vendored Normal file
View 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))