File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 303
303
var len = okeys . length ;
304
304
return function next ( ) {
305
305
var key = okeys [ ++ i ] ;
306
+ if ( key === '__proto__' ) {
307
+ return next ( ) ;
308
+ }
306
309
return i < len ? { value : obj [ key ] , key} : null ;
307
310
} ;
308
311
}
628
631
/**
629
632
* Produces a new collection of values by mapping each value in `coll` through
630
633
* the `iteratee` function. The `iteratee` is called with an item from `coll`
631
- * and a callback for when it has finished processing. Each of these callback
634
+ * and a callback for when it has finished processing. Each of these callbacks
632
635
* takes 2 arguments: an `error`, and the transformed item from `coll`. If
633
636
* `iteratee` passes an error to its callback, the main `callback` (for the
634
637
* `map` function) is immediately called with the error.
You can’t perform that action at this time.
0 commit comments