Skip to content

chore: drop deep-equal devDependency - #1353

Merged
UlisesGascon merged 2 commits into
expressjs:mainfrom
wojtekmaj:deep-equal
Aug 24, 2026
Merged

UlisesGascon merged 2 commits into
expressjs:mainfrom
wojtekmaj:deep-equal

Conversation

@wojtekmaj

@wojtekmaj wojtekmaj commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

According to deep-equal's own docs:

Node's assert.deepEqual() algorithm as a standalone module, that also works in browser environments.

Since the tests are running in Node.js only, we don't need an external dependency, but you may not like it - as assert.deepStrictEqual compares prototypes, I had to strip them by writing an util to do so.

@wojtekmaj
wojtekmaj marked this pull request as draft August 8, 2025 22:12
@wojtekmaj
wojtekmaj marked this pull request as ready for review August 10, 2025 20:30
@coveralls

coveralls commented Aug 10, 2025

Copy link
Copy Markdown

Coverage Status

coverage: 98.485%. remained the same
when pulling 787c544 on wojtekmaj:deep-equal
into b6e4b1f on expressjs:main.

According to deep-equal's own docs:

> Node's assert.deepEqual() algorithm as a standalone module, that also works in browser environments.

Since the tests are running in Node.js only, we don't need an external dependency.
@UlisesGascon UlisesGascon self-assigned this Aug 24, 2026
@UlisesGascon
UlisesGascon merged commit c611279 into expressjs:main Aug 24, 2026
22 checks passed
@wojtekmaj
wojtekmaj deleted the deep-equal branch August 24, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants