Comparing version 4.4.0 to 4.4.1
@@ -80,3 +80,3 @@ var deepdash = (function () { | ||
) { | ||
if (options.break) { return; } | ||
if (options['break']) { return; } | ||
var currentObj = { | ||
@@ -128,3 +128,3 @@ value: value, | ||
"break": function () { | ||
options.break = true; | ||
options['break'] = true; | ||
return false; | ||
@@ -149,3 +149,8 @@ }, | ||
} | ||
if (!options.break && res !== false && !isCircular && _.isObject(value)) { | ||
if ( | ||
!options['break'] && | ||
res !== false && | ||
!isCircular && | ||
_.isObject(value) | ||
) { | ||
if (options.childrenPath !== undefined) { | ||
@@ -152,0 +157,0 @@ function forChildren(children, cp) { |
@@ -5,2 +5,3 @@ # Change Log | ||
*(2019-12-16)* | ||
**Features added** | ||
@@ -7,0 +8,0 @@ - `message` field (if exists) of error thrown by iteratee will be appended by current path, to speed up debug. |
{ | ||
"name": "deepdash", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm", | ||
@@ -5,0 +5,0 @@ "main": "deepdash.js", |
@@ -22,3 +22,3 @@ 'use strict'; | ||
) { | ||
if (options.break) { return; } | ||
if (options['break']) { return; } | ||
var currentObj = { | ||
@@ -70,3 +70,3 @@ value: value, | ||
"break": function () { | ||
options.break = true; | ||
options['break'] = true; | ||
return false; | ||
@@ -91,3 +91,8 @@ }, | ||
} | ||
if (!options.break && res !== false && !isCircular && _.isObject(value)) { | ||
if ( | ||
!options['break'] && | ||
res !== false && | ||
!isCircular && | ||
_.isObject(value) | ||
) { | ||
if (options.childrenPath !== undefined) { | ||
@@ -94,0 +99,0 @@ function forChildren(children, cp) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1092851
7775