Repository navigation
Override tar to v8 in dev dependencies (no change for consumers) - #12
Merged
Merged
Conversation
skudnoff
approved these changes
Dec 3, 2026
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.
Dependabot flags
tar@7.5.22, which comes in through the@vvago/valedevDependency.npm auditlists 20 advisories against it (19 high, 1 moderate), and all of them are fixed only intar8, one of them in 8.0.2. Dependabot can't update it, because@vvago/vale@3.25.1is the latest version and requirestar ^7.5.15. This PR forcestar8 with an npm override.The advisories weren't exploitable here. Every one needs a crafted archive, and
taronly runs in@vvago/vale's postinstall, which unpacks a Vale release whose SHA-256 is pinned and checked before extraction. The override clears the alerts so that newtar7 advisories stop arriving.Changes
package.json: adds"overrides": { "tar": "^8.0.2" }.package-lock.json:targoes from7.5.22to8.1.0. Five packages that onlytar7 needed are removed:@isaacs/fs-minipass,chownr,minipass,minizlibandyallist.No change for consumers
npm applies
overridesonly in the project being installed, so consumers' dependency trees stay the same. The published files (dist/andTHIRD_PARTY_NOTICES.md) don't change either, so this doesn't need a release. Consumers who install@vvago/valestill gettar7 in their own tree.Compatibility
tar8 has a new API and requires Node 22 or later.@vvago/valemakes one call:tar.x({ sync: false, z: true, f, filter, onReadEntry, C }). I ran that exact call ontar7.5.22 and 8.1.0 against a stand-in Vale archive. Both extracted onlyvaleandLICENSE.lts/*, and@devexpress/vale-style-package-publisheralready requires Node 22 or later.Remove the override once
@vvago/valemoves totar8.Testing
npm ciinstallstar@8.1.0and reports 0 vulnerabilities.npm testpasses: "36 files packed, vale version 3.25.1".yauzlinstead oftar. The Ubuntu CI run on this PR is what actually tests the Vale download unpacking withtar8.