Packages

basic-auth

3.1.0 · 4 Nov 2026MIT29M / weekRepositoryHomepagenpmAtom feed

Your version

3.1.0

Latest4 Nov 2026Where it was published

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 Buffer and Uint8Array implementations

    • Aligns 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.