File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 303303 var len = okeys . length ;
304304 return function next ( ) {
305305 var key = okeys [ ++ i ] ;
306+ if ( key === '__proto__' ) {
307+ return next ( ) ;
308+ }
306309 return i < len ? { value : obj [ key ] , key} : null ;
307310 } ;
308311 }
628631 /**
629632 * Produces a new collection of values by mapping each value in `coll` through
630633 * 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
632635 * takes 2 arguments: an `error`, and the transformed item from `coll`. If
633636 * `iteratee` passes an error to its callback, the main `callback` (for the
634637 * `map` function) is immediately called with the error.
You can’t perform that action at this time.
0 commit comments