Socket
Socket
Sign inDemoInstall

json-diff

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-diff - npm Package Compare versions

Comparing version 0.0.1 to 0.2.0

4

lib/util.js

@@ -8,3 +8,5 @@ // Generated by IcedCoffeeScript 1.2.0t

result = typeof obj;
if (result === 'object' && obj.constructor === Array) {
if (!(obj != null)) {
return 'null';
} else if (result === 'object' && obj.constructor === Array) {
return 'array';

@@ -11,0 +13,0 @@ } else {

@@ -5,3 +5,3 @@ {

"description": "JSON diff",
"version": "0.0.1",
"version": "0.2.0",
"homepage": "https://github.com/andreyvit/json-diff",

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

@@ -51,3 +51,3 @@ JSON structural diff

`npm test`
npm test

@@ -54,0 +54,0 @@ Output:

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