You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

json-subset

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-subset - npm Package Compare versions

Comparing version

to
1.0.2

2

package.json
{
"name": "json-subset",
"version": "1.0.1",
"version": "1.0.2",
"description": "Determine whether one json object is a subset of another json object",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,3 +5,5 @@ ## json-subset

uses a recursive depth-first-search algorithm to compare for equality across depth levels.
Equality is checked using the `toString()` representation of each leaf node. Objects are recursively checked.
NOTE: This can be very expensive for deep json objects.

@@ -17,3 +19,3 @@

```javascript
var subset = require('json-subset)
var subset = require('json-subset')

@@ -20,0 +22,0 @@ console.log(subset(