Repository navigation
HTTPメソッドの振る舞い修正と依存パッケージアップデート - #331
Merged
Merged
Conversation
- package/src/index.ts: - POST /mcp のみをMCPエンドポイントとしてサポート(MCP 2026-07-28 準拠) - OPTIONS /mcp を CORS プリフライト応答として200を返す(Lambda 関数 URL 対応) - GET/DELETE/PUT その他は 405 Method Not Allowed + Allow: POST ヘッダー - JSDoc のタイポ修正、コンテキスト型の統一 - example/lambda/index.ts: - host: '0.0.0.0' にセキュリティ警告コメント追加 - エラーログへの Error オブジェクト直接出力を回避(機密情報漏洩防止) - example/lib/example-stack.ts: - CDK bundling target を node24 から node26 に統一 - .github/SECURITY.md: - サポートバージョン表記を 0.x.x から 2.x.x に更新
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
poad
marked this pull request as draft
November 24, 2026 15:16
auto-merge was automatically disabled
November 24, 2026 15:16
Pull request was converted to draft
poad
marked this pull request as ready for review
November 24, 2026 15:26
Merged
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.
概要
HTTPメソッドごとの振る舞いを修正し、依存パッケージ
@hono/node-serverを 2.1.8 から 2.1.9 へアップデートしました。変更点
主な更新内容:
POST /mcpのみMCPリクエストを受付、OPTIONS /mcpで CORS プリフライト応答、その他のメソッドは 405 Method Not Allowed)@hono/node-serverを 2.1.8 から 2.1.9 へ更新修正ファイル一覧
app.all('/mcp')をapp.post('/mcp')+app.options('/mcp')+app.all('/mcp')(405) に変更し、JSDoc を更新@hono/node-serverを 2.1.8 から 2.1.9 へ更新@hono/node-server2.1.9 に伴うロックファイルのエントリを更新github_pull_request.mdを追加確認事項
pnpm audit --fix overrideで脆弱性を修正済みか?pnpm lint-fixでコードスタイルは修正済みか?pnx markdownlint-cli2@latest . --fixで Markdown の lint は修正済みか?特記事項
package/src/index.tsに集中しています。@hono/node-serverはマイナーバージョンアップ (2.1.8 → 2.1.9) で、破壊的変更は含みません。pnpm-lock.yamlは依存パッケージ更新に伴う自動更新分のみを含みます。