Packages

chai

6.3.0 · 30 Sep 2026MIT222.3M / weekRepositoryHomepagenpmAtom feed

Upgrading chai From 3.2.0 to 3.3.0

1 release in betweenevery note read

Other targets from 3.2.0Newest 3.x3.5.0Latest6.3.0
  1. 3.2.0yours
  2. 3.3.0target
0
changes to make
0
advisories fixed
4
new
3
fixes

Release by release

  1. 3.3.0

    21 Sep 20154 new · 3 fixes
    • New

      Add assert.isNotTrue and assert.isNotFalse.

    • New

      frozen/extensible/sealed assertions behave the same in ES6 and ES5 environments.

    • New

      Simplify the .empty assertion.

    • New

      Add assert.isAtMost and assert.isAtLeast.

    • Fixed

      Fixed expect('').to.contain('') so it passes.

    • Fixed

      Fix stack trace tracking for property assertions.

    • Fixed

      Correct misplaced docs for assertions (isBelow, isAbove, isTrue).

3 other lines we could not sort, mostly version bumps
  • Bugfix: Property assertions that fail now show a stack trace!

    3.3.0
  • Bugfix: If you've used the frozen, sealed or extensible assertions to test primitives (e.g. expect(1).to.be.frozen), you may have noticed that in older browsers (ES5) these fail, and in new ones (ES6) they pass. They have now been fixed to consistently pass

    3.3.0
  • The assert interface has been given the following new methods, to align better with other interfaces:, assert.isAtMost, assert.isAtLeast, assert.isNotTrue, assert.isNotFalse.

    3.3.0

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.