Skip to content

Commit

Permalink
deps(example): bump hono from 4.6.13 to 4.6.16 in /examples/nodejs-ho…
Browse files Browse the repository at this point in the history
…no-rate-limit in the dependencies group across 1 directory (#2722)

Bumps the dependencies group with 1 update in the /examples/nodejs-hono-rate-limit directory: [hono](https://github.com/honojs/hono).

Updates `hono` from 4.6.13 to 4.6.16
<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.6.16</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(jsx/dom): should not return memoized result when context is changed by <a href="https://github.com/usualoma"><code>@​usualoma</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3792">honojs/hono#3792</a></li>
<li>fix(context): single body overrides other returns by <a href="https://github.com/askorupskyy"><code>@​askorupskyy</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3800">honojs/hono#3800</a></li>
<li>fix(types): correct <code>app.on(method,path[],middleware,handler)</code> type by <a href="https://github.com/yusukebe"><code>@​yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3802">honojs/hono#3802</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/hono/compare/v4.6.15...v4.6.16">https://github.com/honojs/hono/compare/v4.6.15...v4.6.16</a></p>
<h2>v4.6.15</h2>
<h2><code>c.json()</code> etc. throwing type error when the status is contentless code, e.g., 204</h2>
<p>From this release, when <code>c.json()</code>,  <code>c.text()</code>, or <code>c.html()</code> returns content, specifying a contentless status code such as 204 will now throw a type error.</p>
<p><img src="https://github.com/user-attachments/assets/8c0eb744-8bde-45a1-b516-38ffc7a3de45" alt="CleanShot 2024-12-28 at 16 47 39@2x" /></p>
<p>At first glance, this seems like a breaking change but not. It is not possible to return a contentless response with <code>c.json()</code> or <code>c.text()</code>. So, in that case, please use <code>c.body()</code>.</p>
<pre lang="ts"><code>app.get('/', (c) =&gt; {
  return c.body(null, 204)
})
</code></pre>
<h2>What's Changed</h2>
<ul>
<li>fix(jsr): exclude unused markdown files by <a href="https://github.com/ryuapp"><code>@​ryuapp</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3767">honojs/hono#3767</a></li>
<li>feat(hono/context): contentful status code typing by <a href="https://github.com/askorupskyy"><code>@​askorupskyy</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3763">honojs/hono#3763</a></li>
<li>refactor(context): remove lint errors by <a href="https://github.com/yusukebe"><code>@​yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3769">honojs/hono#3769</a></li>
<li>feat(context): <code>ResponseInit</code> accepts generics <code>StatusCode</code> for <code>status</code> by <a href="https://github.com/yusukebe"><code>@​yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3770">honojs/hono#3770</a></li>
<li>feat(utils/cookie): Ability to set a priority to cookies in setCookie options by <a href="https://github.com/Beyondo"><code>@​Beyondo</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3762">honojs/hono#3762</a></li>
<li>fix(hono-base): don't use Symbol for <code>COMPOSED_HANDLER</code> by <a href="https://github.com/yusukebe"><code>@​yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3773">honojs/hono#3773</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/askorupskyy"><code>@​askorupskyy</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/3763">honojs/hono#3763</a></li>
<li><a href="https://github.com/Beyondo"><code>@​Beyondo</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/3762">honojs/hono#3762</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/hono/compare/v4.6.14...v4.6.15">https://github.com/honojs/hono/compare/v4.6.14...v4.6.15</a></p>
<h2>v4.6.14</h2>
<h2>What's Changed</h2>
<ul>
<li>perf(pattern-router): improve performance when create null object by <a href="https://github.com/EdamAme-x"><code>@​EdamAme-x</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3730">honojs/hono#3730</a></li>
<li>perf(trie-router): avoid calling spread operator for <code>Object.create(null)</code> by <a href="https://github.com/usualoma"><code>@​usualoma</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3735">honojs/hono#3735</a></li>
<li>fix: Remove <code>charset</code> parameter from MIME type of <code>application/json</code> by <a href="https://github.com/SaekiTominaga"><code>@​SaekiTominaga</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3743">honojs/hono#3743</a></li>
<li>fix(streaming) Prevent console.error(undefined) when pipe is aborted by <a href="https://github.com/aantthony"><code>@​aantthony</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/3747">honojs/hono#3747</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/SaekiTominaga"><code>@​SaekiTominaga</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/3743">honojs/hono#3743</a></li>
<li><a href="https://github.com/aantthony"><code>@​aantthony</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/3747">honojs/hono#3747</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/hono/compare/v4.6.13...v4.6.14">https://github.com/honojs/hono/compare/v4.6.13...v4.6.14</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/honojs/hono/commit/2ead4d8faa58d187bf7ec74bac2160bab882eab0"><code>2ead4d8</code></a> v4.6.16</li>
<li><a href="https://github.com/honojs/hono/commit/100745a27fdfd9bf1860179f774548f884a67b85"><code>100745a</code></a> fix(types): correct <code>app.on(method,path[],middleware,handler)</code> type (<a href="https://redirect.github.com/honojs/hono/issues/3802">#3802</a>)</li>
<li><a href="https://github.com/honojs/hono/commit/5af7b4fc9126e17303f50c2f801da7be0cc2e0e5"><code>5af7b4f</code></a> fix(context): single body overrides other returns (<a href="https://redirect.github.com/honojs/hono/issues/3800">#3800</a>)</li>
<li><a href="https://github.com/honojs/hono/commit/fa6f51bb1b110cddc7dc41cb7e531fab27fe871f"><code>fa6f51b</code></a> fix(jsx/dom): should not return memoized result when context is changed (<a href="https://redirect.github.com/honojs/hono/issues/3792">#3792</a>)</li>
<li><a href="https://github.com/honojs/hono/commit/1e629125d43653d0bab055aad6350cde69bbaca2"><code>1e62912</code></a> v4.6.15</li>
<li><a href="https://github.com/honojs/hono/commit/5ca3825c3416f7d54029eb32f16bba27534005e6"><code>5ca3825</code></a> fix(hono-base): don't use Symbol for <code>COMPOSED_HANDLER</code> (<a href="https://redirect.github.com/honojs/hono/issues/3773">#3773</a>)</li>
<li><a href="https://github.com/honojs/hono/commit/fd6e5bd1a01f493722fbc915fe0f384ea3ef070f"><code>fd6e5bd</code></a> feat(utils/cookie): Ability to set a priority to cookies in setCookie options...</li>
<li><a href="https://github.com/honojs/hono/commit/efc8a461c0ed9164e7811cb40b593c7eec6f313e"><code>efc8a46</code></a> feat(context): <code>ResponseInit</code> accepts generics <code>StatusCode</code> for <code>status</code> (<a href="https://redirect.github.com/honojs/hono/issues/3770">#3770</a>)</li>
<li><a href="https://github.com/honojs/hono/commit/b1335f9fb296cfa4b947367bbad0512c7739c5f5"><code>b1335f9</code></a> refactor(context): remove lint errors (<a href="https://redirect.github.com/honojs/hono/issues/3769">#3769</a>)</li>
<li><a href="https://github.com/honojs/hono/commit/bfd839a5f058de4a2b5e624b8a631c2cfd472e0b"><code>bfd839a</code></a> feat(hono/context): contentful status code typing (<a href="https://redirect.github.com/honojs/hono/issues/3763">#3763</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/honojs/hono/compare/v4.6.13...v4.6.16">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hono&package-manager=npm_and_yarn&previous-version=4.6.13&new-version=4.6.16)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions


</details>
  • Loading branch information
dependabot[bot] authored Jan 9, 2025
1 parent 92fec2c commit 44fc071
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions examples/nodejs-hono-rate-limit/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/nodejs-hono-rate-limit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@arcjet/node": "file:../../arcjet-node",
"@hono/node-server": "^1.13.7",
"hono": "^4.6.13"
"hono": "^4.6.16"
},
"devDependencies": {
"@types/node": "^20",
Expand Down

0 comments on commit 44fc071

Please sign in to comment.