basic-auth
3.1.0 · 4 Nov 2026MIT29M / weekRepositoryHomepagenpmAtom feed
Your version
Summary· from the note as AI read it
Migration neededRead before upgrading: 1 change to make.
Before you upgrade
- Invalid base64 credentials are now rejected; check clients send valid base64
In short
1 breaking1 fixed1 internal
- Breaking
Aligns more closely with the RFC by only accepting valid base64 (with or without padding)
Release note
Fixed
Handle missing Authorization header in README examples
Align base64 implementations
Validates base64 before decoding, aligning the
BufferandUint8ArrayimplementationsAligns more closely with the RFC by only accepting valid base64 (with or without padding)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.