string.invalid_base64

failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.

What happened

Noncanonical base64. No submitted input is exposed.

Fix

Use the selected alphabet, correct padding, and zero unused bits.

Check the fix

bun run test

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/string
Version
0.3.0 · next release candidate
Source
src/base64.ts:24