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.
Description
This PR addresses a security vulnerability as a part of component governance (GHSA-8cj5-5rvv-wf4v) by upgrading the tar-fs package from version 3.0.8 to 3.0.9 across the entire dependency tree.
Type of Change
Why
What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.
Resolves [https://github.com/advisories/GHSA-8cj5-5rvv-wf4v]
What
As a part of component governance, The repository had multiple versions of tar-fs installed:
tar-fs@^3.0.6 (resolving to 3.0.9) - used by newer dependencies like @puppeteer/browsers
tar-fs@^2.0.0 (resolving to 2.1.3) - used by older dependencies like [email protected]
The older version (2.1.3) contained the security vulnerability that needed to be addressed.
Screenshots
Testing
✅ yarn install completes successfully
✅ yarn build passes without errors
✅ Verified all tar-fs instances use version 3.1.0
✅ Confirmed removal of the vulnerable version
After this change yarn why tar-fs
yarn why v1.22.22
[1/4] Why do we have the module "tar-fs"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "[email protected]"
Changelog
Should this change be included in the release notes: yes
Add a brief summary of the change to use in the release notes for the next release.
Microsoft Reviewers: Open in CodeFlow