Skip to content

fix: match argon2.cjs in argon2 special case - #637

Merged
styfle merged 1 commit into
vercel:mainfrom
phatstraws:fix-argon2-cjs-special-case
Nov 23, 2026
Merged

styfle merged 1 commit into
vercel:mainfrom
phatstraws:fix-argon2-cjs-special-case

Conversation

@phatstraws

Copy link
Copy Markdown
Contributor

Fixes #416

Since argon2 0.40, its main entry point is argon2.cjs. The special case only matched argon2.js, so tracing missed native binaries for other platforms.

Match both entry points and add a fixture covering build/Release, lib/binding and prebuilds.

Validation: the new fixture fails before the change and passes afterward. The argon2 unit and integration checks pass; tracing the installed package includes all eight prebuilt binaries with no warnings.

@phatstraws
phatstraws requested review from a team, icyJoseph, ijjk and styfle as code owners November 21, 2026 18:20
@styfle
styfle enabled auto-merge (squash) November 23, 2026 04:57

@styfle styfle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@styfle
styfle merged commit 6ee9726 into vercel:main Nov 23, 2026
17 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.11.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FYI, this is broken again now, as the main index file is now called argon2/argon2.cjs in 0.40.x.

2 participants