Packages

basic-auth

3.1.0 · 4 Nov 2026MIT29M / weekRepositoryHomepagenpmAtom feed

Upgrading basic-auth From 1.1.0 to 3.1.0

4 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.1.0yours
  2. 2.0.0major
  3. 2.0.1
  4. 3.0.0major
  5. 3.1.0target
2
changes to make
0
advisories fixed
1
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking2.0.0

Release by release

  1. 3.1.0

    4 Nov 20261 fix
    • Fixed

      Handle missing Authorization header in README examples

  2. 3.0.0

    Migration needed3 Aug 20261 new
    • Breaking

      Removes the default export in favor of parse(str) #94

    • New

      Add format({ name, pass }) method #65

  3. 2.0.1nothing new or fixed in the note

  4. 2.0.0

    Migration needed13 Sep 2017
    • Breaking

      Drop support for Node.js below 0.8

7 other lines we could not sort, mostly version bumps
  • Validates base64 before decoding, aligning the Buffer and Uint8Array implementations

    3.1.0
  • Aligns more closely with the RFC by only accepting valid base64 (with or without padding)

    3.1.0
  • Publish package as ESM #99

    3.0.0
  • Bump supported node versions >=22 #102

    3.0.0
  • The parse method expects a string

    3.0.0
  • Cross platform base64 support #95

    3.0.0
  • Parse performance improved by ~15% #96

    3.0.0

1 internal line (docs, tests, tooling) left out.

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.