
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tiny-deep-equal
Advanced tools
Tiny & Fast deep-equal check with various ES6 objects.
Node>=16.19.0$ yarn add tiny-deep-equal // yarn
$ npm install tiny-deep-equal --save // npm
$ pnpm install tiny-deep-equal // pnpm
// esm
import equal from 'tiny-deep-equal';
equal({ a: 1, b: { c: 1 } }, { a: 1, b: { c: 1 } }) // true
// cjs
const equal = require('tiny-deep-equal');
equal({ a: 1, b: { c: 1 } }, { a: 1, b: { c: 1 } }) // true
tiny-deep-equal supports various objects with ES6.
equal(+0, -0) // true
const set1 = new Set([1, 2, 3]);
const set2 = new Set([1, 2, 3]);
equal(set1, set2) // true
const map1 = new Map();
const map2 = new Map();
map1.set('a', 1);
map2.set('a', 1);
equal(map1, map2) // true
const regex1 = /(?:foo)/g;
const regex2 = /(?:foo)/g;
expect(equal(regex1, regex2)) // true
const buffer1 = new Uint8Array([1, 2, 3]);
const buffer2 = new Uint8Array([1, 2, 3]);
expect(equal(buffer1, buffer2)) // true
const err1 = new Error('error!');
const err2 = new Error('error!');
expect(equal(err1, err2)) // true
$ pnpm run benchmark:performance
$ pnpm run test
FAQs
Tiny & Fast deep-equal check with various ES6 objects.
We found that tiny-deep-equal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.