Fix dependabot issues
This commit is contained in:
parent
c89d9bd8b0
commit
531c6ba7c8
705 changed files with 53406 additions and 20466 deletions
6
node_modules/dot-prop/index.js
generated
vendored
6
node_modules/dot-prop/index.js
generated
vendored
|
|
@ -93,7 +93,7 @@ module.exports = {
|
|||
|
||||
delete(object, path) {
|
||||
if (!isObj(object) || typeof path !== 'string') {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
const pathArray = getPathSegments(path);
|
||||
|
|
@ -103,13 +103,13 @@ module.exports = {
|
|||
|
||||
if (i === pathArray.length - 1) {
|
||||
delete object[p];
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
|
||||
object = object[p];
|
||||
|
||||
if (!isObj(object)) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue