Fix security vulnerabilities
Ran `npm audit fix`. Even though this fixes a "high" severity vulnerability, all affected packages are dev packages only.
This commit is contained in:
parent
224195bd22
commit
489dbb0e02
34 changed files with 528 additions and 214 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue