Bump to v4.17.20.

This commit is contained in:
Benjamin Tan
2020-08-14 00:52:31 +08:00
parent f9cd8f552b
commit f2e7063ee4
19 changed files with 337 additions and 210 deletions

View File

@@ -29,6 +29,10 @@ function baseSet(object, path, value, customizer) {
var key = toKey(path[index]),
newValue = value;
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
return object;
}
if (index != lastIndex) {
var objValue = nested[key];
newValue = customizer ? customizer(objValue, key, nested) : undefined;