Skip to content

Commit aadded9

Browse files
dependabot[bot]hasparusclaude
authored
chore(deps): bump @vercel/og from 0.6.2 to 0.11.1 (#112)
* chore(deps): bump @vercel/og from 0.6.2 to 0.11.1 Bumps @vercel/og from 0.6.2 to 0.11.1. --- updated-dependencies: - dependency-name: "@vercel/og" dependency-version: 0.11.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * ci: skip Vercel preview deploy for Dependabot PRs (no secrets access) Dependabot PRs run from the same repo (not a fork), so the deploy step's fork-only guard let it through even though GitHub withholds repository secrets from dependabot-actor runs. That caused deploy.mjs to fail with 'missing --token'. Treat dependabot[bot] runs the same as fork PRs: build/lint/typecheck/test still run, but preview deploy and lighthouse are skipped until a maintainer adds the 'trusted' label. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * fix(og): run api/og on nodejs runtime, not edge @vercel/og 0.11.1 added sharp as an optional dependency (it wasn't present in 0.6.2), which pushes the edge-bundled api/og function to 1.04 MB — over Vercel's 1 MB Edge Function size limit on this plan. The Node.js runtime has a far higher size ceiling and this handler only uses standard Web APIs (Request/Response, fetch, crypto.subtle) that Node 22+ supports natively, so no other code changes are needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * ci: retrigger workflow run The previous commit was pushed via the GitHub API, which does not trigger a new Actions run. Empty commit to kick off CI on the nodejs-runtime fix. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <hasparus@gmail.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 08a8990 commit aadded9

3 files changed

Lines changed: 31 additions & 17 deletions

File tree

api/og.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const author = {
1414

1515
type Author = typeof author;
1616

17-
export const config = { runtime: "edge" };
17+
export const config = { runtime: "nodejs" };
1818

1919
const interRegular = fetchFont(
2020
new URL("../assets/og/Inter-Regular.ttf", import.meta.url)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@tailwindcss/postcss": "4.3.1",
3434
"@types/react": "^19.2.17",
3535
"@types/unist": "^3.0.3",
36-
"@vercel/og": "^0.6.2",
36+
"@vercel/og": "^0.11.1",
3737
"astro": "^6.4.6",
3838
"estree-util-value-to-estree": "^3.5.0",
3939
"gray-matter": "4.0.3",

pnpm-lock.yaml

Lines changed: 29 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)