Skip to content

ts: bump toml to ^5.0.1 - #5237

Open
aelmanaa wants to merge 1 commit into
otter-sec:masterfrom
aelmanaa:fix/ts-toml-v5
Open

aelmanaa wants to merge 1 commit into
otter-sec:masterfrom
aelmanaa:fix/ts-toml-v5

Conversation

@aelmanaa

Copy link
Copy Markdown

Closes #5236.

Bumps toml in @anchor-lang/core from ^3.0.0 to ^5.0.1. Versions up to 5.0.0 carry the advisories listed in the issue. The lockfile diff is only the toml entry.

toml is used once, in workspace.ts, to read Anchor.toml. To check for behaviour changes, I parsed every Anchor.toml in this repo (62 files) with toml@3.0.0 and toml@5.0.1. All 62 produce identical output, with no parse errors in either. The 5.0 breaking change (integers outside the safe or 64-bit range now throw) doesn't apply to Anchor.toml contents. toml@5 requires Node ≥20, already covered by engines: >=20.18.

yarn build passes, and yarn test passes (16 suites, 116 tests).

@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

@aelmanaa is attempting to deploy a commit to the OtterSec Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​toml@​5.0.110010010084100

View full report

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ts: bump toml to ^5.0.1 (toml <=5.0.0 security advisories)

1 participant