@savks/not-need-lodash
Advanced tools
Comparing version 1.2.3 to 1.2.4
{ | ||
"name": "@savks/not-need-lodash", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Lodash functions analogs", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -8,3 +8,3 @@ // WARNING: This is not a drop in replacement solution and | ||
pathArray?.reduce((acc, key, i) => { | ||
if (acc[key] === undefined) { | ||
if (acc[key] === undefined || acc[key] === null) { | ||
const nextKey = pathArray[i + 1]; | ||
@@ -11,0 +11,0 @@ acc[key] = typeof nextKey === 'number' ? [] : {}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11488