You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@casbin.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/04/08 02:35:22 UTC

[PR] chore(deps): bump hono and prisma [casbin-node-casbin-prisma-adapter]

dependabot[bot] opened a new pull request, #85:
URL: https://github.com/apache/casbin-node-casbin-prisma-adapter/pull/85

   Bumps [hono](https://github.com/honojs/hono) to 4.12.12 and updates ancestor dependency [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli). These dependencies need to be updated together.
   
   Updates `hono` from 4.10.6 to 4.12.12
   <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.12</h2>
   <h2>Security fixes</h2>
   <p>This release includes fixes for the following security issues:</p>
   <h3>Middleware bypass via repeated slashes in serveStatic</h3>
   <p>Affects: Serve Static middleware. Fixes a path normalization inconsistency where repeated slashes (<code>//</code>) could bypass route-based middleware protections and allow access to protected static files. GHSA-wmmm-f939-6g9c</p>
   <h3>Path traversal in toSSG() allows writing files outside the output directory</h3>
   <p>Affects: <code>toSSG()</code> for Static Site Generation. Fixes a path traversal issue where crafted <code>ssgParams</code> values could write files outside the configured output directory. GHSA-xf4j-xp2r-rqqx</p>
   <h3>Incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses</h3>
   <p>Affects: IP Restriction Middleware. Fixes improper handling of IPv4-mapped IPv6 addresses (e.g. <code>::ffff:127.0.0.1</code>) that could cause allow/deny rules to be bypassed. GHSA-xpcf-pg52-r92g</p>
   <h3>Missing validation of cookie name on write path in setCookie()</h3>
   <p>Affects: <code>setCookie()</code>, <code>serialize()</code>, and <code>serializeSigned()</code> from <code>hono/cookie</code>. Fixes missing validation of cookie names on the write path, preventing inconsistent handling between parsing and serialization. GHSA-26pp-8wgv-hjvm</p>
   <h3>Non-breaking space prefix bypass in cookie name handling in getCookie()</h3>
   <p>Affects: <code>getCookie()</code> from <code>hono/cookie</code>. Fixes a discrepancy in cookie name handling that could allow attacker-controlled cookies to override legitimate ones and bypass prefix protections. GHSA-r5rp-j6wh-rvv4</p>
   <hr />
   <p>Users who use Serve Static, Static Site Generation, Cookie utilities, or IP restriction middleware are strongly encouraged to upgrade to this version.</p>
   <h2>v4.12.11</h2>
   <h2>What's Changed</h2>
   <ul>
   <li>feat(css): add classNameSlug option to createCssContext by <a href="https://github.com/flow-pie"><code>@​flow-pie</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4834">honojs/hono#4834</a></li>
   </ul>
   <h2>New Contributors</h2>
   <ul>
   <li><a href="https://github.com/flow-pie"><code>@​flow-pie</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/4834">honojs/hono#4834</a></li>
   </ul>
   <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/hono/compare/v4.12.10...v4.12.11">https://github.com/honojs/hono/compare/v4.12.10...v4.12.11</a></p>
   <h2>v4.12.10</h2>
   <h2>What's Changed</h2>
   <ul>
   <li>test(router): fix <code>Simple capturing group</code> test by <a href="https://github.com/yusukebe"><code>@​yusukebe</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4838">honojs/hono#4838</a></li>
   <li>docs: fix impaired -&gt; inspired typo in benchmark READMEs by <a href="https://github.com/Abhi3975"><code>@​Abhi3975</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4843">honojs/hono#4843</a></li>
   <li>fix(jsx/dom): apply select value after children are rendered by <a href="https://github.com/usualoma"><code>@​usualoma</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4847">honojs/hono#4847</a></li>
   <li>fix(compress): convert strong ETag to weak ETag when compressing by <a href="https://github.com/usualoma"><code>@​usualoma</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4848">honojs/hono#4848</a></li>
   <li>docs(ip-restriction): add clear JSDoc examples and param types by <a href="https://github.com/VISHNU7KASIREDDY"><code>@​VISHNU7KASIREDDY</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4851">honojs/hono#4851</a></li>
   </ul>
   <h2>New Contributors</h2>
   <ul>
   <li><a href="https://github.com/Abhi3975"><code>@​Abhi3975</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/4843">honojs/hono#4843</a></li>
   <li><a href="https://github.com/VISHNU7KASIREDDY"><code>@​VISHNU7KASIREDDY</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/4851">honojs/hono#4851</a></li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/honojs/hono/commit/c37ba26da9709ad03b803d1972773ed864b7e60d"><code>c37ba26</code></a> 4.12.12</li>
   <li><a href="https://github.com/honojs/hono/commit/cc067c85592415cb1880ad3c61ed923472452ec0"><code>cc067c8</code></a> Merge commit from fork</li>
   <li><a href="https://github.com/honojs/hono/commit/a586cd72e3f6122792e631ecf1817e5cabb803ec"><code>a586cd7</code></a> Merge commit from fork</li>
   <li><a href="https://github.com/honojs/hono/commit/48fa2233bc092f650119f42df043050737cabf39"><code>48fa223</code></a> Merge commit from fork</li>
   <li><a href="https://github.com/honojs/hono/commit/b470278920fffcfd6d76002755d6db53db827679"><code>b470278</code></a> Merge commit from fork</li>
   <li><a href="https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c"><code>9aff14b</code></a> Merge commit from fork</li>
   <li><a href="https://github.com/honojs/hono/commit/2c403c67eb3d7be15aaa9e74ec74d2dcb4b4b4d2"><code>2c403c6</code></a> 4.12.11</li>
   <li><a href="https://github.com/honojs/hono/commit/f82aba8e8ea45d56199e751cee6ea7c067bcd176"><code>f82aba8</code></a> feat(css): add classNameSlug option to createCssContext (<a href="https://redirect.github.com/honojs/hono/issues/4834">#4834</a>)</li>
   <li><a href="https://github.com/honojs/hono/commit/9f374a55b25c5c644c293bd4ed6ffce016eb3b44"><code>9f374a5</code></a> 4.12.10</li>
   <li><a href="https://github.com/honojs/hono/commit/a8c56a6620597084e97792f7de3ffbd257c004cc"><code>a8c56a6</code></a> docs(ip-restriction): add clear JSDoc examples and param types (<a href="https://redirect.github.com/honojs/hono/issues/4851">#4851</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/honojs/hono/compare/v4.10.6...v4.12.12">compare view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `prisma` from 7.2.0 to 7.7.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/prisma/prisma/releases">prisma's releases</a>.</em></p>
   <blockquote>
   <h2>7.7.0</h2>
   <p>Today, we are excited to share the <code>7.7.0</code> stable release 🎉</p>
   <p><strong>🌟 Star this repo for notifications about new releases, bug fixes &amp; features — or <a href="https://pris.ly/x">follow us on X</a>!</strong></p>
   <h1>Highlights</h1>
   <h2>ORM</h2>
   <h3><code>prisma bootstrap</code> command</h3>
   <p>A new <code>prisma bootstrap</code> command (<a href="https://redirect.github.com/prisma/prisma/pull/29374">#29374</a>, <a href="https://redirect.github.com/prisma/prisma/pull/29424">#29424</a>) sequences the full <a href="https://prisma.io/postgres">Prisma Postgres</a> setup into a single interactive flow. It detects the current project state and runs only the steps that are needed:</p>
   <ol>
   <li><strong>Init or scaffold</strong> — In an empty directory, offers a choice of 10 starter templates (Next.js, Express, Hono, Fastify, Nuxt, SvelteKit, Remix, React Router 7, Astro, NestJS) from <a href="https://github.com/prisma/prisma-examples">prisma-examples</a>. In an existing project without a schema, runs <code>prisma init</code>.</li>
   <li><strong>Link</strong> — Authenticates via the browser and connects to a Prisma Postgres database. Skips if already linked.</li>
   <li><strong>Install dependencies</strong> — Detects the package manager and offers to install missing <code>@prisma/client</code>, <code>prisma</code>, and <code>dotenv</code>.</li>
   <li><strong>Migrate</strong> — Runs <code>prisma migrate dev</code> if the schema contains models.</li>
   <li><strong>Generate</strong> — Runs <code>prisma generate</code>.</li>
   <li><strong>Seed</strong> — Runs <code>prisma db seed</code> if a seed script is configured.</li>
   </ol>
   <p>Each side-effecting step prompts for confirmation. Re-running the command skips already-completed steps.</p>
   <p><strong>Basic usage</strong></p>
   <pre lang="terminal"><code>npx prisma@latest bootstrap
   </code></pre>
   <p><strong>With a starter template</strong></p>
   <pre lang="terminal"><code>npx prisma@latest bootstrap --template nextjs
   </code></pre>
   <p><strong>Non-interactive (CI)</strong></p>
   <pre lang="terminal"><code>npx prisma@latest bootstrap --api-key &quot;$PRISMA_API_KEY&quot; --database &quot;db_abc123&quot;
   </code></pre>
   <h2>Open roles at Prisma</h2>
   <p>Interested in joining Prisma? We're growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our <a href="https://www.prisma.io/careers#current">Careers page</a> and find the role that's right for you.</p>
   <h2>Enterprise support</h2>
   <p>Thousands of teams use Prisma and many of them already tap into our Enterprise &amp; Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.</p>
   <p>With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: <a href="https://prisma.io/enterprise">https://prisma.io/enterprise</a>.</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/prisma/prisma/commit/8e71aa7b8de5d897ff4e8dbc92fa85a5ee91469f"><code>8e71aa7</code></a> fix(cli): install missing <code>@prisma/client</code> in <code>prisma bootstrap</code> (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29444">#29444</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/ada077ba32b5801d00d32f1434a45aaae7bc09a9"><code>ada077b</code></a> fix(cli): bootstrap UX — auto-install deps, resumable flow, timeout handling ...</li>
   <li><a href="https://github.com/prisma/prisma/commit/9b0b7f5d59f4f9d0dca4d558f4e537e83da18203"><code>9b0b7f5</code></a> feat(cli): add prisma bootstrap command (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29374">#29374</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/5fece0a97ca3f7a05a7ae6691d49728d19b795a4"><code>5fece0a</code></a> chore: bump <code>@​prisma/dev</code> to 0.24.3 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29396">#29396</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/45d7e0f0d595df3ee4ca1e469e3d7381b5247ccf"><code>45d7e0f</code></a> feat(cli): add <code>prisma postgres link</code> command (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29352">#29352</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/adbdf15a2418358c93cca2615bf7eafeff5b5391"><code>adbdf15</code></a> Pre-bundle Studio frontend assets and replace Hono (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29389">#29389</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/f8258ad65bf4fcd2599ffc8da18ee88e800bd2c5"><code>f8258ad</code></a> chore: bump effect to fix vulnerability (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29384">#29384</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/74839a9078e233c8bf8f7fe7416832d3bd6e4175"><code>74839a9</code></a> feat(cli): update bundled <code>@​prisma/studio-core</code> to 0.27.3 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29376">#29376</a>)</li>
   <li><a href="https://github.com/prisma/prisma/commit/309b4bccd632d8b40246eab131f3ada578fb4c23"><code>309b4bc</code></a> refactor: extract 'prisma-client-js' into PRISMA_CLIENT_JS_PROVIDER constant ...</li>
   <li><a href="https://github.com/prisma/prisma/commit/2cd422d25f52566b6040176300dd33694e956849"><code>2cd422d</code></a> Bump studio-core dependency to 0.21.1 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/29322">#29322</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/prisma/prisma/commits/7.7.0/packages/cli">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   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/apache/casbin-node-casbin-prisma-adapter/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org


Re: [PR] chore(deps): bump hono and prisma [casbin-node-casbin-prisma-adapter]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] closed pull request #85: chore(deps): bump hono and prisma
URL: https://github.com/apache/casbin-node-casbin-prisma-adapter/pull/85


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org


Re: [PR] chore(deps): bump hono and prisma [casbin-node-casbin-prisma-adapter]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #85:
URL: https://github.com/apache/casbin-node-casbin-prisma-adapter/pull/85#issuecomment-4256743300

   Superseded by #86.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org