chai
6.3.0 · 30 Sep 2026MIT222.3M / weekRepositoryHomepagenpmAtom feed
1.10.0 is the newest release of 1.x.
In short
3 new5 fixed7 changed
Release note
The following changes are required if you are upgrading from the previous version:
Users: No changes required
Plugin Developers:
Review #219.
Core Contributors:
Refresh
node_modulesfolder for updated dependencies.
Community Contributions
Improve error message for .throw(). @andreineculau
Chai tests can be run with
--watch. @demandsAdd overwriteChainableMethod utility. @demands
Return error on throw method to chain on error properties. @vbardales
Add
hasto language chains. @duncanbeeversSupport
{a:1,b:2}.should.include({a:1})@jkrosoUpdate Copyright notices to 2014 @duncanbeevers
Avoid error instantiation if possible on assert.throws. @laconbass
Thank you to all who took time to contribute!
Other Bug Fixes
Improved AMD wrapper provided by upstream
component(1).assert.throws()returns thrown error for further assertions.Remove coveralls/jscoverage, include istanbul coverage report in travis test.
Update Karma and Sauce runner versions for consistent CI results. No more karma@canary.
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.