lodash-clean
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "lodash-clean", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Remove object keys that have empty values.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1,2 +0,2 @@ | ||
# lodash-clean v1.0.1 | ||
# lodash-clean v2.0.1 | ||
@@ -73,2 +73,6 @@ Remove object properties that are undefined, functions, empty arrays, or empty strings. | ||
If you need more control and pass a function it will be passed the default options and will need return a function that decides how to cleanup the object. See `mungeValue()` within /src/munge.js for reference. Not sure why you'd need it, but it's there for you as an option. | ||
If you need more control or want to process additional types pass a function. Tt will be passed the default options object and will need return a function that decides how to cleanup the object. See `buildGetValue()` within /src/munge.js for reference. | ||
## Changes | ||
* **2.0** Will now remove empty objects. Internal rewrite and code cleanup. |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
99803
78
0