mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 12:20:04 +02:00
update node modules
This commit is contained in:
4
node_modules/lodash/_baseSet.js
generated
vendored
4
node_modules/lodash/_baseSet.js
generated
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user