run-npm-install (#44)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m30s

Reviewed-on: #44
This commit was merged in pull request #44.
This commit is contained in:
2025-12-16 01:10:50 +01:00
parent 74d74b73ad
commit a892e71b21
448 changed files with 39324 additions and 0 deletions

27
node_modules/axios/lib/helpers/spread.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
'use strict';
/**
* Syntactic sugar for invoking a function and expanding an array for arguments.
*
* Common use case would be to use `Function.prototype.apply`.
*
* ```js
* function f(x, y, z) {}
* var args = [1, 2, 3];
* f.apply(null, args);
* ```
*
* With `spread` this example can be re-written.
*
* ```js
* spread(function(x, y, z) {})([1, 2, 3]);
* ```
*
* @param {Function} callback
* @returns {Function}
*/
module.exports = function spread(callback) {
return function wrap(arr) {
return callback.apply(null, arr);
};
};