basic-auth
3.0.0 · 3 Aug 2026MIT28.1M / weekRepositoryHomepagenpmAtom feed
Upgrading basic-auth From 0.0.1 to 3.0.0
9 releases in betweenevery note read
- 3
- changes to make
- 0
- advisories fixed
- 7
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- breaking3.0.0
- breaking2.0.0
- breaking1.0.2
Release by release
- breaking
Removes the default export in favor of
parse(str)#94 - new
Add
format({ name, pass })method #65
- breaking
2.0.1nothing new or fixed in the note
- breaking
Drop support for Node.js below 0.8
- breaking
- new
Add
auth.parsefor low-level string parsing
- new
1.0.4nothing new or fixed in the note
- fixed
Fix regression accepting a Koa context
- fixed
- breaking
Remove argument reassignment
- new
Enable strict mode
- new
Hoist regular expression
- new
Parse with regular expressions
- breaking
1.0.1nothing new or fixed in the note
9 other lines we could not sort, mostly version bumps
- 3.0.0
Publish package as ESM #99
- 3.0.0
Bump supported node versions >=22 #102
- 3.0.0
The
parsemethod expects a string - 3.0.0
Cross platform base64 support #95
- 3.0.0
Parse performance improved by ~15% #96
- 1.0.4
Improve error message when
reqargument is not an object - 1.0.4
Improve error message when
reqmissingheadersproperty - 1.0.2
Improve error message when
reqargument missing - 1.0.1
Update readme
1 internal line (docs, tests, tooling) left out.