Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.1 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(

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