rebuild hrm
This commit is contained in:
2
node_modules/es-toolkit/dist/array/flatMap.mjs
generated
vendored
2
node_modules/es-toolkit/dist/array/flatMap.mjs
generated
vendored
@@ -1,7 +1,7 @@
|
||||
import { flatten } from './flatten.mjs';
|
||||
|
||||
function flatMap(arr, iteratee, depth = 1) {
|
||||
return flatten(arr.map(item => iteratee(item)), depth);
|
||||
return flatten(arr.map((item, index) => iteratee(item, index, arr)), depth);
|
||||
}
|
||||
|
||||
export { flatMap };
|
||||
|
||||
Reference in New Issue
Block a user