map-obj
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -36,2 +36,7 @@ 'use strict'; | ||
// Drop `__proto__` keys. | ||
if (newKey === '__proto__') { | ||
continue; | ||
} | ||
if (options.deep && shouldRecurse && isObjectCustom(newValue)) { | ||
@@ -38,0 +43,0 @@ newValue = Array.isArray(newValue) ? |
{ | ||
"name": "map-obj", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Map object keys and values into a new object", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
8017
155