Repository navigation
chore(deps): bump the minor-and-patch group with 7 updates, adapted - #399
Merged
Merged
Conversation
Bumps the minor-and-patch group with 7 updates: | Package | From | To | | --- | --- | --- | | [@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript) | `0.72.1` | `0.137.0` | | [@fast-check/vitest](https://github.com/dubzzz/fast-check/tree/HEAD/packages/vitest) | `0.2.4` | `0.5.0` | | [@hono/mcp](https://github.com/honojs/middleware/tree/HEAD/packages/mcp) | `0.1.5` | `0.3.2` | | [@tanstack/ai-openai](https://github.com/TanStack/ai/tree/HEAD/packages/ai-openai) | `0.3.0` | `0.31.0` | | [@tanstack/ai](https://github.com/TanStack/ai/tree/HEAD/packages/ai) | `0.3.0` | `0.71.0` | | [tsdown](https://github.com/rolldown/tsdown) | `0.17.2` | `0.23.2` | | [unplugin-unused](https://github.com/unplugin/unplugin-unused) | `0.5.6` | `0.6.0` | Updates `@anthropic-ai/sdk` from 0.72.1 to 0.137.0 - [Release notes](https://github.com/anthropics/anthropic-sdk-typescript/releases) - [Changelog](https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md) - [Commits](anthropics/anthropic-sdk-typescript@sdk-v0.72.1...sdk-v0.137.0) Updates `@fast-check/vitest` from 0.2.4 to 0.5.0 - [Release notes](https://github.com/dubzzz/fast-check/releases) - [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/vitest/CHANGELOG.md) - [Commits](https://github.com/dubzzz/fast-check/commits/vitest/v0.5.0/packages/vitest) Updates `@hono/mcp` from 0.1.5 to 0.3.2 - [Release notes](https://github.com/honojs/middleware/releases) - [Changelog](https://github.com/honojs/middleware/blob/main/packages/mcp/CHANGELOG.md) - [Commits](https://github.com/honojs/middleware/commits/@hono/mcp@0.3.2/packages/mcp) Updates `@tanstack/ai-openai` from 0.3.0 to 0.31.0 - [Release notes](https://github.com/TanStack/ai/releases) - [Changelog](https://github.com/TanStack/ai/blob/main/packages/ai-openai/CHANGELOG.md) - [Commits](https://github.com/TanStack/ai/commits/@tanstack/ai-openai@0.31.0/packages/ai-openai) Updates `@tanstack/ai` from 0.3.0 to 0.71.0 - [Release notes](https://github.com/TanStack/ai/releases) - [Changelog](https://github.com/TanStack/ai/blob/main/packages/ai/CHANGELOG.md) - [Commits](https://github.com/TanStack/ai/commits/@tanstack/ai@0.71.0/packages/ai) Updates `tsdown` from 0.17.2 to 0.23.2 - [Release notes](https://github.com/rolldown/tsdown/releases) - [Commits](rolldown/tsdown@v0.17.2...v0.23.2) Updates `unplugin-unused` from 0.5.6 to 0.6.0 - [Release notes](https://github.com/unplugin/unplugin-unused/releases) - [Commits](unplugin/unplugin-unused@v0.5.6...v0.6.0) --- updated-dependencies: - dependency-name: "@anthropic-ai/sdk" dependency-version: 0.137.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@fast-check/vitest" dependency-version: 0.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@hono/mcp" dependency-version: 0.3.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@tanstack/ai-openai" dependency-version: 0.31.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@tanstack/ai" dependency-version: 0.71.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: tsdown dependency-version: 0.23.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: unplugin-unused dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…/sdk to ^1.29.0 (WIP) Moves dts.resolve to deps.dts.alwaysBundle and drops dts.tsgo, which tsdown 0.23 no longer accepts as a boolean. @hono/mcp 0.3.2 imports isJSONRPCErrorResponse, first shipped in @modelcontextprotocol/sdk 1.29. Work in progress: src/rate-limit.test.ts still hangs with these versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
- Keep the prod @modelcontextprotocol/sdk range at ^1.24.3. The lockfile resolves 1.32.2, which satisfies the ^1.29.0 peer of @hono/mcp 0.3.2, so the published dependency range does not need to move. - Answer an accepted notification from the mock MCP server with an empty 202. @hono/mcp 0.3 sends a JSON null body there, and under MSW the SDK client's cancel of that body never settles, which stalled every MCP handshake in the suite (the "session stall"). The spec and the real endpoint send no body. - Raise the vitest and @vitest/coverage-v8 floors to ^4.1.0, the peer range of @fast-check/vitest 0.5 (it imports TestRunner, added in vitest 4.1). - Turn off tsdown 0.23's new inlinedDependencies field so the published package.json keeps its shape; take the exports key order tsdown now writes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
tsdown 0.23 roots the unbundled output at src, so dist/src/tool.* became dist/tool.*. The test looked for the old paths, found no build, and skipped both optional peer checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
commit: |
This was referenced Nov 10, 2026
^0.137.0 on a 0.x package means >=0.137.0 <0.138.0, which would cut off every consumer on an older or 1.x SDK. Only the Tool type is imported, and it is structurally compatible from 0.72.1 through 1.7.0, so publish >=0.72.1 <2.0.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
Contributor
Author
|
s2d2 fix pass (requested by guillaume@stackone.com in Slack): merged main (was behind) and widened the published @anthropic-ai/sdk peer range from ^0.137.0 (which on 0.x only matches 0.137.x) to >=0.72.1 <2.0.0, keeping the old lower bound. Only the Tool type is imported and it is structurally compatible on 0.72.1 and 1.7.0. Lockfile specifier updated; typecheck, src/tool tests and tsdown build pass locally. Repo skills: none in clone (rules read: git-workflow, development-workflow, pnpm-usage, typescript-patterns). |
…-node-398 Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com> # Conflicts: # pnpm-lock.yaml # pnpm-workspace.yaml
The lockfile resolved hono 4.13.14 and @hono/node-server 2.1.5 through @modelcontextprotocol/sdk 1.32.2, plus hono 4.10.7 for the dev mock server. Aikido flags 5 medium CVEs in hono (fixed in 4.13.16) and 2 in @hono/node-server (fixed in 2.1.6). - Dev catalog floor for hono goes to ^4.13.16, so the mock server and the MCP SDK share one hono - Lockfile resolves hono 4.13.16 and @hono/node-server 2.1.6 - This also clears the hono-rate-limiter peer warning (it wants hono ^4.10.8) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
…-node-398 Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com> # Conflicts: # pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #398 (Dependabot: bump the minor-and-patch group with 7 updates). It keeps the Dependabot commit and adds the changes CI needs to pass. All 7 updates stay in the group, and no unrelated package is pinned or overridden.
Why CI failed on #398
dts.tsgoanddts.resolve.tsdown.config.tsthen failed type checking (TS2769), and the build crashed withCannot create property 'moduleUrl' on boolean 'true'.@hono/mcp0.3.2 answers an MCP notification with a 202 whose body is JSONnull. The MCP SDK client then awaitsresponse.body?.cancel(). Under MSW that cancel never settles, so every test that connects to the mock MCP server hung. The real StackOne endpoint, and the spec, send a 202 with no body.@fast-check/vitest0.5 needs vitest^4.1.0(it importsTestRunner), and the catalog allowed 4.0.x.Fix
tsdown.config.ts:dts.resolvemoves todeps.dts.alwaysBundle, keeping the same list.tsgois dropped, so.d.tsfiles come from tsc.@typescript/native-previewis not installed, and the tsgo generator in tsdown 0.23 needs a TypeScript 7.1 beta.exports.inlinedDependencies: falsestops the build from writing a newinlinedDependenciesfield intopackage.json.mocks/mcp-server.ts: a 202 from the transport is returned as an empty 202, matching the real endpoint. Status, routing and tool call recording are unchanged.pnpm-workspace.yaml: the vitest and@vitest/coverage-v8catalog floors go to^4.1.0. The prod@modelcontextprotocol/sdkrange stays^1.24.3. The earlier WIP commit on this branch raised it to^1.29.0, and that is reverted because consumers do not need it. The lockfile resolves 1.32.2, which satisfies the@hono/mcpdev peer.package.json: tsdown now writespublishConfig.exportswithimportbeforerequire. Only the key order changes.src/tool-optional-ai.test.ts: tsdown 0.23 roots the unbundled output atsrc, sodist/src/tool.*is nowdist/tool.*. The test still pointed at the old paths, so it silently skipped both optionalaipeer checks. It now finds the build and runs them.Published package (before vs after
pnpm build)exportsstill exposes only., which points atdist/index.{mjs,cjs}anddist/index.d.{mts,cts}. Internal modules move fromdist/src/*todist/*. Deep paths were never exported..d.tsfiles are equivalent once export style is normalized. The bundled type packages underdist/node_modulesare the same set as the published 3.1.0 (ai, @ai-sdk/provider, provider-utils, @standard-schema/spec, type-fest, zod). publint is clean.@anthropic-ai/sdkpeer range goes from^0.72.1to^0.137.0.Local checks (node 24.22.1, pnpm 11.17.0)
pnpm build: OK, publint found no issues.pnpm test: 47 files passed. 1323 tests passed, plus 4 typecheck placeholders that main also skips. No type errors. The optional peer and package-exports tests now run instead of skipping.pnpm lint(oxfmt, knip, oxlint type-aware): clean. The knip hints are the same as on main.pnpm pack: OK.hono-rate-limiterwantshono ^4.10.8, and the dev catalog has 4.10.7.Reviewed with the StackOne code review skill (security, correctness, quality, dependencies; all clean) and a Codex review. Codex found the stale dist path in the optional peer test, which is fixed here.
Requested by guillaume@stackone.com via the s2d2 Security Autopilot workflow (run sa-2026-11-06-35b8d066).
🤖 Generated with Claude Code
Summary by cubic
Applies the Dependabot minor-and-patch group bump (7 packages) and adapts the build and test setup so CI passes on the new versions. The published package's runtime exports, types, and bundled type packages are unchanged; the only consumer-facing change is the optional
@anthropic-ai/sdkpeer range, now>=0.72.1 <2.0.0.Adaptations for the new versions
dts.resolvetodeps.dts.alwaysBundleand setinlinedDependencies: falseso the publishedpackage.jsonkeeps its shape..d.tsgenerator (needs TypeScript 7.1 beta); types now come from tsc.@hono/mcp0.3.2 sends a JSONnullbody whose cancel never settles under MSW.@vitest/coverage-v8catalog floors to^4.1.0, required by@fast-check/vitest0.5.@modelcontextprotocol/sdkrange at^1.24.3; the lockfile resolves 1.32.2, which satisfies@hono/mcp0.3.2's^1.29.0peer.dist/tool.*; tsdown 0.23 roots unbundled output atsrc, so the olddist/src/tool.*paths silently skipped those checks.@anthropic-ai/sdkpeer range from^0.137.0so consumers on older or 1.x SDK versions aren't cut off; only the structurally stableTooltype is imported.^4.13.16so the mock server and the MCP SDK share a single version, fixing the 5 medium CVEs in hono 4.13.14 and clearing thehono-rate-limiterpeer warning.Written for commit 56a542a. Summary will update on new commits.