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

groom

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groom - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

index.js

@@ -5,2 +5,4 @@ module.exports = function(o){

module.exports.replacer = replacer;
function replacer(key, value) {

@@ -7,0 +9,0 @@ if (value === null || value === '') {

4

package.json
{
"name": "groom",
"version": "1.0.0",
"version": "1.1.0",
"description": "JSON.parse(JSON.stringify(myObject)) and remove all nulls and empty strings",
"main": "index.js",
"scripts": {
"test": "node test.js"
"test": "_mocha"
},

@@ -9,0 +9,0 @@ "repository": {

# groom
Does JSON.parse(JSON.stringify(myObject)) and removes all nulls and empty strings.
Does JSON.parse(JSON.stringify(myObject)) and removes all nulls, undefined and empty strings.

@@ -4,0 +4,0 @@ ```js

Sorry, the diff of this file is not supported yet

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