[WTF-2591]: Fix vulnerabilities in transitive dependencies of PWT#174
Merged
Conversation
4d29c36 to
ef64c45
Compare
LEGIO-SEXTA-FERRATA
approved these changes
May 26, 2026
- Update use of yeoman - Migrate to ESM - Improve logging
- Rename spec files to match default cypress specPattern
- Trigger audit after migration - Check for npm usage, give manual instructions for other package managers
node:child_process.exec executes the given command in a shell. While the input here comes from npm, it is still good to make sure that the package name argument is not expanded by the shell.
8e7793f to
a5ed65d
Compare
alihcsumer
approved these changes
Jun 4, 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.
The main objective of this PR is to ensure widget developers don't install vulnerable packages through the pluggable-widgets-tools. It accomplishes this with the following methods:
auditcommand that adds overrides for transitive dependencies of the PWTAdditionally this PR:
Testing
When installing this version of the PWT it should have significantly less vulnerabilities reported by
npm audit. Runningnpx pluggable-widgets-tools audit:fixshould eliminate all of them.Existing widgets should continue to function. Depending on the configuration it may require some upgrade work.