Skip to content

chore(deps): bump hono from 4.7.5 to 4.12.18 in /packages/secure-exec/tests/projects/esm-import-pass#6

Open
dependabot[bot] wants to merge 10 commits into
mainfrom
dependabot/npm_and_yarn/packages/secure-exec/tests/projects/esm-import-pass/hono-4.12.18
Open

chore(deps): bump hono from 4.7.5 to 4.12.18 in /packages/secure-exec/tests/projects/esm-import-pass#6
dependabot[bot] wants to merge 10 commits into
mainfrom
dependabot/npm_and_yarn/packages/secure-exec/tests/projects/esm-import-pass/hono-4.12.18

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 9, 2026

Bumps hono from 4.7.5 to 4.12.18.

Release notes

Sourced from hono's releases.

v4.12.18

Security fixes

This release includes fixes for the following security issues:

Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage

Affects: Cache Middleware. Fixes missing cache-skip handling for Vary: Authorization and Vary: Cookie, where a response cached for one authenticated user could be served to other users. GHSA-p77w-8qqv-26rm

CSS Declaration Injection via Style Object Values in JSX SSR

Affects: hono/jsx. Fixes a missing CSS-context escape for style object values and property names, where untrusted input could inject additional CSS declarations. The impact is limited to CSS and does not allow JavaScript execution. GHSA-qp7p-654g-cw7p

Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()

Affects: hono/utils/jwt. Fixes improper validation of exp, nbf, and iat claims, where falsy, non-finite, or non-numeric values could silently bypass time-based checks instead of being rejected per RFC 7519. GHSA-hm8q-7f3q-5f36


Users who use the JWT helper, hono/jsx, or the Cache middleware are strongly encouraged to upgrade to this version.

v4.12.17

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.16...v4.12.17

v4.12.16

Security fixes

This release includes fixes for the following security issues:

Unvalidated JSX Tag Names in hono/jsx May Allow HTML Injection

Affects: hono/jsx. Fixes missing validation of JSX tag names when using jsx() or createElement(), which could allow HTML injection if untrusted input is used as the tag name. GHSA-69xw-7hcm-h432

bodyLimit() can be bypassed for chunked / unknown-length requests

Affects: Body Limit Middleware. Fixes late enforcement for request bodies without a reliable Content-Length (e.g. chunked requests), where oversized requests could reach handlers and return successful responses before being rejected. GHSA-9vqf-7f2p-gf9v

v4.12.15

What's Changed

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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.

TobiasPressler and others added 10 commits April 28, 2026 14:40
…e (ESFA-0)

Improves the fetch function to manage backpressure when processing Node.js Readable streams.
This change pauses the stream during data transmission to prevent overwhelming the system,
ensuring smoother data flow and better resource management.

Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Updated the shouldEncodeHttpBodyAsBinary function to enhance the detection of binary content types. The new logic explicitly checks for text-based content types and assumes text for empty content-type headers, ensuring backward compatibility. This change aims to prevent incorrect encoding of binary data, improving overall data handling in HTTP requests.

Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
…FA-0)

Updated the `shouldEncodeHttpBodyAsBinary` function to always encode response bodies as base64 across the bridge to prevent binary corruption. This change simplifies the logic by removing unnecessary content type checks, ensuring consistent handling of binary data. Additionally, enhanced the `encodeFetchBody` function to provide a fallback for base64 decoding using `atob` when Buffer is not available, improving compatibility across environments.

Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Updated the fetch response methods to improve handling of base64 encoded data.
When the bodyEncoding is set to "base64", the code now checks for the availability
of Buffer and falls back to using atob and TextDecoder if Buffer is not defined.
This ensures compatibility across different environments and improves the robustness
of the response processing.

Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
…uffer

Updated the Response class to allow the body to be of type Uint8Array or ArrayBuffer, improving compatibility with binary data. The constructor now handles these types, and new methods for arrayBuffer and blob have been added to facilitate proper data handling. This change ensures that the response can correctly process and return various data formats, enhancing the overall functionality of the fetch API.

Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Bumps [hono](https://github.com/honojs/hono) from 4.7.5 to 4.12.18.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.7.5...v4.12.18)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.18
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 9, 2026
@TobiasPressler TobiasPressler force-pushed the main branch 2 times, most recently from abab140 to c088a1b Compare May 19, 2026 09:43
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.

1 participant