Skip to content

Simplify checksum to use global crypto.subtle directly - #39

Merged
chtitux merged 1 commit into
mainfrom
claude/find-code-smells-KI7Wu
Mar 8, 2026
Merged

chtitux merged 1 commit into
mainfrom
claude/find-code-smells-KI7Wu

Conversation

@chtitux

@chtitux chtitux commented Mar 8, 2026

Copy link
Copy Markdown
Contributor

Since engines.node >= 18, crypto.subtle is a global in both browsers and Node.js. Remove the multi-branch environment detection, dynamic import('crypto') fallback, and empty catch block.

https://claude.ai/code/session_01A5mkjjjYzJ6Dib9jX167fR

Since engines.node >= 18, crypto.subtle is a global in both browsers
and Node.js. Remove the multi-branch environment detection, dynamic
import('crypto') fallback, and empty catch block.

https://claude.ai/code/session_01A5mkjjjYzJ6Dib9jX167fR
@chtitux
chtitux merged commit 81e4114 into main Mar 8, 2026
3 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