chai
6.3.0 · 30 Sep 2026MIT222.3M / weekRepositoryHomepagenpmAtom feed
Upgrading chai From 5.2.0 to 6.3.0
13 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 6
- new
- 9
- fixes
Before you upgrade
Tick each one off as you go- Breaking5.2.1
Release by release
- New
Correct some more types
- Fixed
Only consider unique expected keys in keys()
- Fixed
Support deep include oneOf assertions
- Fixed
Not.deep.oneOf failure message is missing the not
- Fixed
Preserve literal template tags in assertion values
- Fixed
Correct change JSDoc types & handle 0/empty string
- Fixed
Require callable iterators in iterable assertions
- New
- Fixed
Avoid BigInt literal in closeTo for runtime compat
- Fixed
6.2.1nothing new or fixed in the note
- New
events: Add addChainableMethod event
- New
- Fixed
Keep function/class names in bundle
- Fixed
- New
Remove unbundled sources
- New
- Fixed
Keep names in bundle
- Fixed
5 other lines we could not sort, mostly version bumps
- 6.3.0
Drop
NODE_AUTH_TOKENfrom publish script - 6.2.1
Set esbuild target to es2021 to support Safari < 16.4
- 5.3.2
Update core contributors
- 5.2.1
Convert Assertion function to a class
- 5.2.1
More typing
96 internal lines (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.