Packages

chai

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

Upgrading chai From 0.5.2 to 6.3.0

79 releases in betweennotes for 58

Reading releases, release notes and advisories…

Other targets from 0.5.2Newest 0.x0.5.3
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.5.2yours
  2. 1 release
  3. 1.0.0major
  4. 23 releases
  5. 2.0.0major
  6. 5 releases
  7. 3.0.0major
  8. 6 releases
  9. 4.0.0major
  10. 7 releases
  11. 4.3.1security
  12. 7 releases
  13. 4.3.9security
  14. 4 releases
  15. 5.0.0major
  16. 12 releases
  17. 6.0.0major
  18. 5 releases
  19. 6.3.0target
21+
changes to make
0
advisories fixed
90+
new
86+
fixes

Counted from 58 of 79 release notes. Advisories are counted from the advisory database, in full.

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

  • 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.9
  • This fix also ensures pathval is updated to 1.1.1 to fix CVE-2020-7751

    4.3.1

Release by release

  1. 6.3.0

    30 Sep 20261 new · 6 fixes
    • 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

  2. 6.2.2

    22 Dec 20251 fix
    • Fixed

      Avoid BigInt literal in closeTo for runtime compat

  3. 6.2.1nothing new or fixed in the note

  4. 6.2.0

    27 Sep 20251 new
    • New

      events: Add addChainableMethod event

  5. 6.1.0

    27 Sep 20251 new
    • New

      Add eventEmitter (#1693) Adds an event emitter for hooking into method/property creation

  6. 6.0.1

    22 Aug 20251 fix
    • Fixed

      Keep function/class names in bundle

  7. 6.0.0

    22 Aug 20251 new
    • New

      Remove unbundled sources

  8. 5.3.3

    22 Aug 20251 fix
    • Fixed

      Keep names in bundle

72 other lines we could not sort, mostly version bumps
  • Drop NODE_AUTH_TOKEN from publish script

    6.3.0
  • Set esbuild target to es2021 to support Safari < 16.4

    6.2.1
  • Update core contributors

    5.3.2
  • Convert Assertion function to a class

    5.2.1
  • More typing

    5.2.1
  • Integrated chai-subset and added assert-based negation to containSubset

    5.2.0
  • Publish npm packages with provenance

    5.1.2
  • Set up ESLint for JSDoc comments

    5.1.1
  • Remove useless guards and add parentheses to constuctors

    5.1.0
  • Cleanup jsdoc comments

    5.1.0

163 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.