Skip to content

Bump chai from 4.5.0 to 6.2.2#696

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/chai-6.2.2
Open

Bump chai from 4.5.0 to 6.2.2#696
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/chai-6.2.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 16, 2026

Bumps chai from 4.5.0 to 6.2.2.

Release notes

Sourced from chai's releases.

v6.2.2

What's Changed

New Contributors

Full Changelog: chaijs/chai@v6.2.1...v6.2.2

v6.2.1

What's Changed

New Contributors

Full Changelog: chaijs/chai@v6.2.0...v6.2.1

... (truncated)

Commits
  • 814172d chore(deps): update dependency esbuild to v0.27.2 (#1759)
  • b38c22b chore: add legal-comments=none option (#1756)
  • 180d4cc chore(deps): update dependencies to v9.39.2 (#1757)
  • 678cd00 chore(deps): update dependencies (#1755)
  • c8fb100 chore(deps): update dependency prettier to v3.7.3 (#1754)
  • d63c74e chore(deps): update dependency eslint-plugin-jsdoc to v61.4.1 (#1751)
  • 243bf86 fix: avoid BigInt literal in closeTo for runtime compat (#1748)
  • d8b0395 chore(deps): update actions/checkout action to v6 (#1749)
  • 7e1e247 build(deps): bump glob from 10.4.5 to 10.5.0 (#1747)
  • b25e5d8 chore(deps): update dependency eslint-plugin-jsdoc to v61.2.1 (#1746)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for chai since your current version.


@dependabot dependabot Bot added the Build label Apr 16, 2026
@gep13
Copy link
Copy Markdown
Member

gep13 commented Apr 16, 2026

Category: Defer — blocked by ESM (chai 4 → 6)

Chai 5+ is ESM-only. Our test suite compiles to CommonJS ("module": "commonjs" in tsconfig) and uses const { expect } = require("chai") / import { expect } from "chai" under TS's CommonJS interop.

Bumping to 5+ without migrating breaks every test file with ERR_REQUIRE_ESM. The migration options are:

  1. Convert the test suite to ESM (non-trivial — affects tsconfig, mocha config, all imports)
  2. Stay on chai 4.x and ignore this PR

Chai 4.x is still maintained for bug fixes and there's no functional reason to move.

Recommendation: close without merging. Document in a comment on the config / package.json that we pin chai at ^4 intentionally, so the next dependabot rerun doesn't immediately reopen this.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/chai-6.2.2 branch 2 times, most recently from 2d11667 to a65fef9 Compare April 16, 2026 17:45
Bumps [chai](https://github.com/chaijs/chai) from 4.5.0 to 6.2.2.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](chaijs/chai@v4.5.0...v6.2.2)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.2.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/chai-6.2.2 branch from a65fef9 to d20456c Compare April 16, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant