Added the underscore node_module.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s

This commit is contained in:
2023-11-19 13:27:05 +01:00
parent 9e76cefde3
commit 2b58149655
857 changed files with 16626 additions and 105549 deletions

12
node_modules/underscore/modules/get.js generated vendored Normal file
View File

@ -0,0 +1,12 @@
import toPath from './_toPath.js';
import deepGet from './_deepGet.js';
import isUndefined from './isUndefined.js';
// Get the value of the (deep) property on `path` from `object`.
// If any property in `path` does not exist or if the value is
// `undefined`, return `defaultValue` instead.
// The `path` is normalized through `_.toPath`.
export default function get(object, path, defaultValue) {
var value = deepGet(object, toPath(path));
return isUndefined(value) ? defaultValue : value;
}