Skip to content

chore: drop deep-equal devDependency #1353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wojtekmaj
Copy link
Contributor

@wojtekmaj wojtekmaj commented Aug 8, 2025

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
Copy link

coveralls commented Aug 10, 2025

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants