chai
6.3.0 · 30 Sep 2026MIT222.3M / weekRepositoryHomepagenpmAtom feed
In short
3 new4 fixed2 changed1 internal
Release note
For assert fans: you now have assert.includeDeepMembers() which matches expect().to.include.deep.members() and .should.include.deep.members()!
This release also includes a variety of small bugfixes and documentation fixes. Most notably, we are now governed by a Code Of Conduct - which gives Chai contributors (including those who files issues, work on code, or documentation, or even just hang out on our Slack & Gitter channels) safety from harassment and discrimination.
Full changes below:
Community Contributions
Add
assert.includeDeepMembers().Fix error when using $ signs in messages.
Clean browser before karma in Makefile.
Fix non ES5 compliant regexp.
Update karma for build.
Documentation fixes
(docs) Added JSDocs to 'should' interface.
Add Code of Conduct.
Add badges for Slack and Gitter.
Clarified assert.isObject & assert.isNotObject documentation.
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.