Repository navigation
fix(website): pin patched toml and @vercel/og - #765
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pnpm auditon the website reported 6 advisories (5 high, 1 moderate), all in build-time dependencies of Farm and the docs adapter:@farming-labs/farmjs > remark-mdx-frontmatter. It parses TOML front matter (+++), which none of our Markdown uses, and only our own files at build time.@farm.js/core > @vercel/og. The site does not generate OG images with it (og.pngis rendered from a static SVG with sharp).Neither was reachable from site content, but both are pinned the way the existing overrides are:
toml@<5.0.1→ 5.0.1, which keeps the same CommonJSparseexport.@vercel/og@<1.0.3→ 1.0.3, the release that ships satori 0.33.5.@vercel/ogis an optional peer of@farm.js/core, so with the override pnpm no longer auto-installs it, and its rendering stack (satori, resvg-wasm, yoga-layout and their helpers) leaves the lockfile.After the change
pnpm auditreports no known vulnerabilities. The lockfile was regenerated with pnpm 10.34.5. The Website job's build and browser tests cover the docs pipeline that reads front matter.Also checked, no change needed:
cargo deny check(advisories, bans, licenses, sources all ok with a fresh RustSec database),npm auditfor the root npm package (0 vulnerabilities), and GitHub Actions (every action pinned by SHA, read-only default permissions, nopull_request_target).