chore(deps): bump chai from 4.5.0 to 6.2.2#653
Conversation
d425128 to
cbcc161
Compare
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:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
cbcc161 to
5d4ba7f
Compare
|
@copilot resolve the test failure |
- Upgrade sinon-chai from ^3.7.0 to ^4.0.0 in mocha-config-devtools
(sinon-chai v4 supports Chai 5/6)
- Update sinon-chai-register.js to use sinonChai.default || sinonChai
(sinon-chai v4 is ESM; require() returns {default: fn})
- Run npm dedupe to hoist chai v6.2.2 to root node_modules so all
packages share the same chai instance
Agent-Logs-Url: https://github.com/mongodb-js/devtools-shared/sessions/30ac2ca4-74cb-4d66-8df5-a7644ebfa05e
Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Fixed in dd31534. The test was failing with
|
|
@copilot resolve the merge conflicts and fix the remaining build failures. |
…rror - Resolve merge conflicts across package.json files: - Keep chai ^6.2.2 from our branch - Take @types/sinon-chai ^4.0.0, acorn, mongodb, cheerio from main - Use sinon-chai-register.js pattern from main (default ?? module) - Update package-lock.json via npm install + npm dedupe - Fix TypeScript error in packages/download-url/src/version-list.ts: response.json() now returns unknown in @types/node 22.19.x; add explicit cast to FullJSON Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Done in df02c6d. Here's what was fixed:
|
|
@copilot looks like there are more build failures |
…2769 @types/node 22.19.x types Response.body as ReadableStream | null; the pipeline() overloads don't accept null, so add a null guard before each pipeline call so TypeScript narrows the type to ReadableStream. Agent-Logs-Url: https://github.com/mongodb-js/devtools-shared/sessions/3abd748f-532c-4c10-8829-a4eb1ed23cb2 Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Fixed in 5fa5049. The remaining failures were TypeScript errors in
if (!response.body) throw new Error(`No response body for ${url}`);
await promisify(pipeline)(response.body, ...); |
|
Closing stale Dependabot PR. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps chai from 4.5.0 to 6.2.2.
Release notes
Sourced from chai's releases.
... (truncated)
Commits
814172dchore(deps): update dependency esbuild to v0.27.2 (#1759)b38c22bchore: add legal-comments=none option (#1756)180d4ccchore(deps): update dependencies to v9.39.2 (#1757)678cd00chore(deps): update dependencies (#1755)c8fb100chore(deps): update dependency prettier to v3.7.3 (#1754)d63c74echore(deps): update dependency eslint-plugin-jsdoc to v61.4.1 (#1751)243bf86fix: avoid BigInt literal in closeTo for runtime compat (#1748)d8b0395chore(deps): update actions/checkout action to v6 (#1749)7e1e247build(deps): bump glob from 10.4.5 to 10.5.0 (#1747)b25e5d8chore(deps): update dependency eslint-plugin-jsdoc to v61.2.1 (#1746)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.