collect.js
Advanced tools
Comparing version 4.18.9 to 4.19.0
@@ -0,1 +1,9 @@ | ||
# 4.19.0 | ||
## Bug fixes | ||
## Methods | ||
#### ``flatten()`` | ||
- Now properly flattens an object with multiple objects. [Issue](https://github.com/ecrmnn/collect.js/issues/240) | ||
# 4.18.8 | ||
@@ -2,0 +10,0 @@ |
@@ -33,4 +33,4 @@ 'use strict'; | ||
} else if (isObject(items[property])) { | ||
Object.keys(items).forEach(function (prop) { | ||
collection = collection.concat(items[prop]); | ||
Object.keys(items[property]).forEach(function (prop) { | ||
collection = collection.concat(items[property][prop]); | ||
}); | ||
@@ -37,0 +37,0 @@ } else { |
{ | ||
"name": "collect.js", | ||
"version": "4.18.9", | ||
"version": "4.19.0", | ||
"description": "Convenient and dependency free wrapper for working with arrays and objects.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -31,4 +31,4 @@ 'use strict'; | ||
} else if (isObject(items[property])) { | ||
Object.keys(items).forEach((prop) => { | ||
collection = collection.concat(items[prop]); | ||
Object.keys(items[property]).forEach((prop) => { | ||
collection = collection.concat(items[property][prop]); | ||
}); | ||
@@ -35,0 +35,0 @@ } else { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
604446
358
5373