Skip to content

refactor: use node:test for testing, remove testing deps - #75

Merged
sidvishnoi merged 2 commits into
mainfrom
node-test
Sep 1, 2026
Merged

sidvishnoi merged 2 commits into
mainfrom
node-test

Conversation

@sidvishnoi

@sidvishnoi sidvishnoi commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

We don't need this many dependencies for basic library testing.

@sidvishnoi
sidvishnoi requested a review from mkurapov August 31, 2026 16:10
Comment thread package.json
"description": "Create and verify content digests as found in HTTP headers according to draft-ietf-httpbis-digest-headers",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",

@sidvishnoi sidvishnoi Aug 31, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be a breaking change. But so will be using crypto.subtle (async) over node:crypto (sync) next.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we bump the package version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, with the upcoming change. This repo doesn't have changeset, so we'll have to do a manual v2 release.

@sidvishnoi sidvishnoi changed the title chore: use node:test for testing, remove testing deps refactor: use node:test for testing, remove testing deps Sep 1, 2026
@sidvishnoi
sidvishnoi merged commit a6a9ae4 into main Sep 1, 2026
4 checks passed
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