Repository navigation
7.0.4: fix 58 security vulnerabilities - #139
Merged
Merged
Conversation
Upgrade dependencies to fix 58 security vulnerabilities (22 Moderate, 36 High), including advisories in toml, lodash, js-yaml, brace-expansion, picomatch, flatted, serialize-javascript and @humanfs/node. toml goes from 3 to 5, which requires Node.js 20 or newer. That matches the versions already covered by CI. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Upgrades dependencies to clear all outstanding advisories.
yarn auditgoes from 58 vulnerabilities (36 high, 22 moderate) to 0.Direct dependency bumps
toml^3.0.0 → ^5.0.0 — uncontrolled recursion, and prototype pollution via__proto__key-path desynchronization. Major bump:toml5 requires Node.js 20+, which matches the CI matrix (20/22/24).lib/frontmatter-filter.tsonly callstoml.parse, which is unchanged, and the package now ships its own types.lodash^4.17.23 → ^4.18.1 — code injection via_.template, prototype pollution in_.unset/_.omit.js-yaml^4.1.1 → ^4.3.2 — quadratic CPU consumption in merge-key chains and!!omapresolution. Stayed on the 4.x line.Transitive fixes
brace-expansion(three DoS advisories across its 1.x, 2.x and 5.x lines),picomatch(ReDoS via extglob quantifiers, method injection in POSIX character classes),flatted(unbounded recursion, prototype pollution inparse()),serialize-javascript(CPU exhaustion DoS) and@humanfs/node(recursive copy follows symlinks out of the source tree) are all fixed by re-resolving the lockfile — no newresolutionsentries were needed. The existingdiffandserialize-javascriptresolutions are kept, withserialize-javascriptraised to ^7.1.1.Release
This also does the 7.0.4 version bump and CHANGELOG entry, per RELEASE.md.
tomlwas added todictionary.txtso the changelog entry passes the project's own spellchecker, matching howjs-yamlandmdast-util-to-hastwere handled.Testing
yarn cipasses (spellcheck, lint, 101 tests).🤖 Generated with Claude Code