Skip to content

Bump chai from 4.5.0 to 6.2.2 - #179

Merged
alecgibson merged 2 commits into
masterfrom
dependabot/npm_and_yarn/chai-6.2.2
Jun 29, 2026
Merged

alecgibson merged 2 commits into
masterfrom
dependabot/npm_and_yarn/chai-6.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

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, a new releaser for chai since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 25, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/chai-6.2.2 branch 2 times, most recently from 9f81dd3 to dd70885 Compare June 29, 2026 11:44
@alecgibson

Copy link
Copy Markdown
Contributor

@dependabot rebase

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 dd70885 to ae9a6bd Compare June 29, 2026 12:10
Dependabot bumped `chai` to v6, but CI then fails at `npm install`:

    npm error ERESOLVE unable to resolve dependency tree
    npm error peer chai@"^4.0.0" from sinon-chai@3.7.0

`sinon-chai@3.7.0` only peer-depends on `chai@^4`, so it can't coexist
with `chai@6`.

This change bumps `sinon-chai` to `^4.0.1`, whose peer range is
`chai@^5 || ^6`, which clears the conflict. `sinon-chai@4` ships as ESM
with a default export, so under Node's `require(esm)` interop
`require('sinon-chai')` resolves to the module namespace rather than the
plugin function; we now reach for `.default` so `chai.use()` gets the
function it expects.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 92.725% (-0.9%) from 93.588% — dependabot/npm_and_yarn/chai-6.2.2 into master

@alecgibson
alecgibson merged commit 00a4b5a into master Jun 29, 2026
12 of 14 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/chai-6.2.2 branch June 29, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants