Repository navigation
chore(security): bump toml 3.0.0 -> 5.0.1 (root lockfile) - #60
Merged
Merged
Conversation
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
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.
Security fix:
toml(npm) — HIGHCloses HIGH Dependabot alerts #70 #71 #72 #73 #74 (package
toml, ecosystem npm, vulnerable range<= 5.0.0, first patched5.0.1).Change
toml3.0.0 → 5.0.1 in rootpackage.json+package-lock.json.tomlis 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(...)inscripts/editToml.jsandscripts/readToml.js(build/release helper scripts). Thetomlparse API is stable across the major. (@iarna/toml, used for stringify, is untouched.)npm@11 install --package-lock-only --ignore-scripts): the only diff is thetomlblock — no unrelated churn.Verification
toml@5.0.1installed and smoke-tested: both helper scripts run end-to-end (readToml.jsread a nested field;editToml.jswrote one andreadToml.jsread it back), exit 0.toml@5.0.1has zero runtime deps (addsengines: node >=20, already satisfied).Branch / alert-clearing note
Base is
developper the branch-from-develop rule. These alerts resolve against the repo's default branchmain(which carriestoml ^4.2.0; Dependabot's own PR #55 bumps4.3.0 → 5.0.1there). This develop fix clears #70–#74 oncedevelopis promoted tomainper 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