update node_modules
This commit is contained in:
parent
4889aac148
commit
195fbc52ad
431 changed files with 52587 additions and 0 deletions
17
node_modules/async/internal/once.js
generated
vendored
Normal file
17
node_modules/async/internal/once.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = once;
|
||||
function once(fn) {
|
||||
function wrapper(...args) {
|
||||
if (fn === null) return;
|
||||
var callFn = fn;
|
||||
fn = null;
|
||||
callFn.apply(this, args);
|
||||
}
|
||||
Object.assign(wrapper, fn);
|
||||
return wrapper;
|
||||
}
|
||||
module.exports = exports.default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue