#15
fix: remove Buffer dependency from core runtime
Summary
- replace Node-specific
Bufferusage with@better-auth/utils/base64for standard Base64 and unpadded Base64URL - measure execution and runner byte limits with
TextEncoderinstead ofBuffer.byteLength - add regression tests that run with
Bufferunavailable - add Unicode encoding coverage
Note: Base64.decode now throws on characters outside the Base64 alphabet instead of silently skipping them like Buffer did.
Testing
pnpm --filter callscript test— 275 tests passedpnpm --filter callscript typecheckpnpm --filter callscript build- Biome checks passed for all changed files
Closes #14
Activity
4Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security | Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| npm/@better-auth/utils@0.5.0 |
@Sanoy24 is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.