mirror of
https://github.com/langchain-ai/langgraphjs.git
synced 2026-08-24 21:51:39 -04:00
2dfb9211b6
Bumps [hono](https://github.com/honojs/hono) from 4.12.25 to 4.12.27. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/honojs/hono/releases">hono's releases</a>.</em></p> <blockquote> <h2>v4.12.27</h2> <h2>Security fixes</h2> <p>This release includes fixes for the following security issues:</p> <h3>hono/jsx does not isolate context per request</h3> <p>Affects: <code>hono/jsx</code>, <code>hono/jsx-renderer</code>. During SSR, context was stored process-wide instead of per request, so <code>useContext()</code>/<code>useRequestContext()</code> read after an <code>await</code> in an async component could return another concurrent request's value — leading to cross-request data disclosure or authorization checks against the wrong request. GHSA-hvrm-45r6-mjfj</p> <h3>Server-Side XSS via JSX escaping bypass in cx()</h3> <p>Affects: <code>hono/css</code>. <code>cx()</code> marked its composed class name as already-escaped without escaping the input, so untrusted input passed as a class name could break out of the JSX <code>class</code> attribute during SSR and inject markup (XSS). GHSA-w62v-xxxg-mg59</p> <h3>API Gateway v1 adapter can drop a repeated request header value</h3> <p>Affects: <code>hono/aws-lambda</code>. The API Gateway v1 (and VPC Lattice) adapter de-duplicated repeated header values by substring instead of exact match, dropping a value that is a substring of another (e.g. <code>203.0.113.1</code> dropped when <code>203.0.113.10</code> is present) — affecting logic such as <code>X-Forwarded-For</code>-based IP restriction. GHSA-xgm2-5f3f-mvvc</p> <hr /> <p>Users of <code>hono/jsx</code>/<code>hono/jsx-renderer</code>, <code>hono/css</code> (<code>cx()</code>), or the <code>hono/aws-lambda</code> API Gateway v1 / VPC Lattice adapters are encouraged to upgrade.</p> <h2>v4.12.26</h2> <h2>What's Changed</h2> <ul> <li>fix(lambda-edge): satisfy Deno lib types for Content-Length body encoding by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/5013">honojs/hono#5013</a></li> <li>ci: publish to npm from CI with OIDC trusted publishing by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/5028">honojs/hono#5028</a></li> <li>chore: remove unused devcontainer and gitpod configs by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/5029">honojs/hono#5029</a></li> <li>chore: replace arg and glob with Bun native APIs in build script by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/5030">honojs/hono#5030</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/hono/compare/v4.12.25...v4.12.26">https://github.com/honojs/hono/compare/v4.12.25...v4.12.26</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/honojs/hono/commit/97c6fe1f12298c715eb7b2da65b4b6e0d81682bb"><code>97c6fe1</code></a> 4.12.27</li> <li><a href="https://github.com/honojs/hono/commit/aa921770d09bc35970362d5a2630a878f6d982fd"><code>aa92177</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc"><code>cd3f6f7</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/d4853a8f2794ce982818783f123e388a6dedd966"><code>d4853a8</code></a> fix(jsx): make merged context-isolation tests pass tsc type check (<a href="https://redirect.github.com/honojs/hono/issues/5037">#5037</a>)</li> <li><a href="https://github.com/honojs/hono/commit/6735fea78db8ca72e8606001f57b10ee6a96b349"><code>6735fea</code></a> fix(jsx): cast awaitedFallback through unknown to fix Deno type check (<a href="https://redirect.github.com/honojs/hono/issues/5036">#5036</a>)</li> <li><a href="https://github.com/honojs/hono/commit/fab3b13639339cbd5ba1166a5b23d9ac30c5f64f"><code>fab3b13</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/9f0dadf141a3242a6c3b77462c7d33c6ce0f599d"><code>9f0dadf</code></a> ci: use npm Staged publishing (<a href="https://redirect.github.com/honojs/hono/issues/5035">#5035</a>)</li> <li><a href="https://github.com/honojs/hono/commit/27b7992f821bc10c2f62ad0ad86bd94eea251862"><code>27b7992</code></a> 4.12.26</li> <li><a href="https://github.com/honojs/hono/commit/d29982cc40c3babb417db625ab0671d982398646"><code>d29982c</code></a> chore: replace arg and glob with Bun native APIs in build script</li> <li><a href="https://github.com/honojs/hono/commit/16215d5f509099b81b00d60a2777bc6b5ac06827"><code>16215d5</code></a> chore: remove unused devcontainer and gitpod configs (<a href="https://redirect.github.com/honojs/hono/issues/5029">#5029</a>)</li> <li>Additional commits viewable in <a href="https://github.com/honojs/hono/compare/v4.12.25...v4.12.27">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for hono since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/langchain-ai/langgraphjs/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
LangGraph.js API
In-memory implementation of the LangGraph.js API.
Tests
- Build the latest code changes to test:
pnpm build - Start a local server:
pnpm dev - Run the tests:
pnpm test