Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash-clean

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-clean - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc