Skip to content

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ruimarinho committed Nov 2, 2016
1 parent bb0573d commit e1c0d1f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v2.0.1](https://github.com/seegno/clean-deep/tree/v2.0.1) (2016-11-02)
[Full Changelog](https://github.com/seegno/clean-deep/compare/v2.0.0...v2.0.1)

**Merged pull requests:**

- Upgrade babel-eslint to avoid 'estraverse-fb' error [\#18](https://github.com/seegno/clean-deep/pull/18) ([callmevlad](https://github.com/callmevlad))
- Fix recursive array cleaning [\#17](https://github.com/seegno/clean-deep/pull/17) ([zeke](https://github.com/zeke))

## [v2.0.0](https://github.com/seegno/clean-deep/tree/v2.0.0) (2016-10-02)
[Full Changelog](https://github.com/seegno/clean-deep/compare/1.0.0...v2.0.0)

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function cleanDeep(object) {
return (0, _lodash6.default)(object, (result, value, key) => {
// Recurse into objects.
if ((0, _lodash4.default)(value)) {
value = cleanDeep(value, { emptyObjects: emptyObjects, emptyStrings: emptyStrings, nullValues: nullValues, undefinedValues: undefinedValues });
value = cleanDeep(value, { emptyArrays: emptyArrays, emptyObjects: emptyObjects, emptyStrings: emptyStrings, nullValues: nullValues, undefinedValues: undefinedValues });
}

// Exclude empty objects.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clean-deep",
"version": "2.0.0",
"version": "2.0.1",
"description": "Remove falsy, empty or nullable values from objects",
"keywords": [
"clean",
Expand Down

0 comments on commit e1c0d1f

Please sign in to comment.