Packages

basic-auth

3.1.0 · 4 Nov 2026MIT29M / weekRepositoryHomepagenpmAtom feed

Upgrading basic-auth From 0.0.1 to 3.1.0

10 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.0.1yours
  2. 1.0.0major
  3. 1 release
  4. 1.0.2breaking
  5. 3 releases
  6. 2.0.0major
  7. 1 release
  8. 3.0.0major
  9. 3.1.0target

Before you upgrade

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

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

  5. 1.1.0

    18 Nov 20161 new
    • New

      Add auth.parse for low-level string parsing

  6. 1.0.4nothing new or fixed in the note

  7. 1.0.3

    2 Jul 20151 fix
    • Fixed

      Fix regression accepting a Koa context

  8. 1.0.2

    Migration needed13 Jun 20153 new
    • Breaking

      Remove argument reassignment

    • New

      Enable strict mode

    • New

      Hoist regular expression

    • New

      Parse with regular expressions

11 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
  • Improve error message when req argument is not an object

    1.0.4
  • Improve error message when req missing headers property

    1.0.4
  • Improve error message when req argument missing

    1.0.2

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.