Skip to content

Fix: replace Bun.CryptoHasher with node:crypto#18

Merged
theoephraim merged 2 commits into
mainfrom
fix/remove-bun-runtime-dep
Apr 20, 2026
Merged

Fix: replace Bun.CryptoHasher with node:crypto#18
theoephraim merged 2 commits into
mainfrom
fix/remove-bun-runtime-dep

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Summary

  • Replace Bun.CryptoHasher in ci.ts with node:crypto's createHash, which works in both Bun and Node.js runtimes
  • Fixes "Bun is not defined" error when the CLI runs under Node.js (e.g. via bunx in the release workflow)
  • Add clarifying comment for why setup-node is needed in the release workflow

Test plan

  • Build succeeds
  • All 178 tests pass

🤖 Generated with Claude Code

Replace Bun.CryptoHasher with node:crypto createHash so the CLI works
when executed under Node.js (e.g. via bunx/npx in CI).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Apr 20, 2026

Copy link
Copy Markdown

bumpy-frog

The changes in this PR will be included in the next version bump.

patch Patch releases

  • @varlock/bumpy 0.0.2 → 0.0.3

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@theoephraim theoephraim merged commit 14db17b into main Apr 20, 2026
2 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.

1 participant