New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

deep-equal-json

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-equal-json

`deep-equal`, but only for JSON-supported values.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

deep-equal-json Version Badge

github actions coverage License Downloads

npm badge

deep-equal, but only for JSON-supported values.

Note that any results you get from values that do not round-trip through JSON.stringify and JSON.parse are explicitly not part of this API, and you must not rely on them.

Example

const assert = require('assert');
const deepEqual = require('deep-equal-json');

assert.equal(typeof deepEqual(a, b), 'boolean'); // `a` and `b` can be anything that roundtrips with JSON

Tests

Simply clone the repo, npm install, and run npm test

Keywords

equality

FAQs

Package last updated on 12 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts