Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
parent
10695e6a20
commit
ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions
9
node_modules/es-abstract/helpers/reduce.js
generated
vendored
Normal file
9
node_modules/es-abstract/helpers/reduce.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = function reduce(arr, fn, init) {
|
||||
var acc = init;
|
||||
for (var i = 0; i < arr.length; i += 1) {
|
||||
acc = fn(acc, arr[i], i);
|
||||
}
|
||||
return acc;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue