Skip to content

chore(security): bump toml 3.0.0 -> 5.0.1 (root lockfile) - #60

Merged
cdbartholomew merged 1 commit into
developfrom
chore/sec-toml-5.0.1
Nov 1, 2026
Merged

cdbartholomew merged 1 commit into
developfrom
chore/sec-toml-5.0.1

Conversation

@cdbartholomew

Copy link
Copy Markdown
Contributor

Security fix: toml (npm) — HIGH

Closes HIGH Dependabot alerts #70 #71 #72 #73 #74 (package toml, ecosystem npm, vulnerable range <= 5.0.0, first patched 5.0.1).

Change

  • toml 3.0.0 → 5.0.1 in root package.json + package-lock.json.
  • toml is a direct dependency; the only available fix is the major bump 3 → 5 (no in-range patch exists). Chris approved the major because usage is parse-only — toml.parse(...) in scripts/editToml.js and scripts/readToml.js (build/release helper scripts). The toml parse API is stable across the major. (@iarna/toml, used for stringify, is untouched.)
  • Lockfile regenerated scoped (npm@11 install --package-lock-only --ignore-scripts): the only diff is the toml block — no unrelated churn.

Verification

  • toml@5.0.1 installed and smoke-tested: both helper scripts run end-to-end (readToml.js read a nested field; editToml.js wrote one and readToml.js read it back), exit 0.
  • toml@5.0.1 has zero runtime deps (adds engines: node >=20, already satisfied).

Branch / alert-clearing note

Base is develop per the branch-from-develop rule. These alerts resolve against the repo's default branch main (which carries toml ^4.2.0; Dependabot's own PR #55 bumps 4.3.0 → 5.0.1 there). This develop fix clears #70–#74 once develop is promoted to main per the repo's standard develop→main flow. Leave Dependabot PR #55 open as the audit trail until this bundle is merged and promoted.

https://claude.ai/code/session_014J7s5yzoVEqoZ8LmnD8bQd

Closes HIGH Dependabot alerts #70 #71 #72 #73 #74 (toml <= 5.0.0).
Direct dependency; only fix is the major bump 3->5. Approved because
usage is parse-only (toml.parse in scripts/editToml.js and
scripts/readToml.js); the toml API is stable across the major.
Verified: toml 5.0.1 parses and both helper scripts run end-to-end.

Claude-Session: https://claude.ai/code/session_014J7s5yzoVEqoZ8LmnD8bQd
@cdbartholomew cdbartholomew added p1 High severity - remediate within 30 days security Security fixes labels Nov 1, 2026
@cdbartholomew cdbartholomew self-assigned this Nov 1, 2026
@cdbartholomew
cdbartholomew merged commit 7df071e into develop Nov 1, 2026
1 check passed
@cdbartholomew
cdbartholomew deleted the chore/sec-toml-5.0.1 branch November 1, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1 High severity - remediate within 30 days security Security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant