NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #594 most downloaded on npm
A tiny (304B to 489B) utility for check for deep equality
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 1.4 years
Most releases are documented
notes for 5 of 7 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
7 releases · first in 2019
Add "types" conditions for TypeScript's "nodenext" resolver ( #20 ): f99ec70 Thank you @willstott101 ~!
"types" conditions for TypeScript's "nodenext" resolver (#20): f99ec70Full Changelog: v2.0.2...v2.0.3
(types) Supply individual index.d.ts definition file per "mode" entry ( #14 ): c39e3ee Thank you @tripodsgames !
index.d.ts definition file per "mode" entry (#14): c39e3eeOne column per quarter.
(types): Alter index.d.ts so that entry "mode" entry maintains type definition: 90f5eb9
Migrated from default to named export: 88f7ec5
Migrated from default to named export: 88f7ec5
ESM/TypeScript
- import dequal from 'dequal';
+ import { dequal } from 'dequal';CommonJS
- const dequal = require('dequal');
+ const { dequal } = require('dequal');Dropped Internet Explorer support
If IE9+ support is still needed, please use the new dequal/lite entry (see below).
The dequal/lite code is identical to dequal@1.x.
Added ArrayBuffer and TypeArray support to dequal entry: cf14422
Added Map and Set support to dequal entry: ef34745, 0f081ab
Set values, Map values, and Map keys use deep value equality.
Example
const foo = new Map([
[{ abc: 123 }, 'value']
]);
const bar = new Map([
[{ abc: 123 }, 'value']
]);With referential equality, foo and bar are not equal. Even though they look identical, their { abc: 123 } key is not a shared reference. However, with value equality, foo and bar are equal. This is because their { abc: 123 } key holds the same value –– this follows how dequal and dequal/lite compare any other object.
Added native ESM support via exports mapping: 3533248
Allows for Node.js import statements to work within native ESM resolvers.
Added dequal/lite mode: 81075b1
Preserves dequal@1.x behaviors, allowing opt-in, continued IE support.
Unlike the primary dequal offering, this mode does not & will not support Maps, Sets, TypedArray, etc.
lodash version (#10): a255871uvu version: b3cfc11Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →