chai
6.3.0 · 30 Sep 2026MIT222.3M / weekRepositoryHomepagenpmAtom feed
Upgrading chai From 1.9.2 to 6.3.0
55 releases in betweenevery note read
- 21
- changes to make
- 0
- advisories fixed
- 83
- new
- 76
- fixes
Before you upgrade
Tick each one off as you go- Breaking5.2.1
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
- 4.3.9
This release upgrades dependencies to address CVE-2023-43646 where a large function name can cause "catastrophic backtracking" (aka ReDOS attack) which can cause the test suite to hang.
- 4.3.1
This fix also ensures
pathvalis updated to1.1.1to fix CVE-2020-7751
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
55 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
- 5.2.0
Integrated
chai-subsetand added assert-based negation to containSubset - 5.1.2
Publish npm packages with provenance
- 5.1.1
Set up ESLint for JSDoc comments
- 5.1.0
Remove useless guards and add parentheses to constuctors
- 5.1.0
Cleanup jsdoc comments
161 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.