Add package overrides and bump transitive dependency versions to address vulnerabilities#7
Open
WPISabaGanji wants to merge 2 commits into
Open
Conversation
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.
Motivation
webpack-dev-serverand several transitive deps use specific, compatible versions to avoid runtime issues on newer Node versions.Description
overridessection topackage.jsonand corresponding entries inpackage-lock.jsonto pin versions forwebpack-dev-serverand many transitive dependencies, includingopen,p-retry,rimraf,webpack-dev-middleware, andwsunder thewebpack-dev-serverscope.brace-expansion->2.0.2,on-headers->1.1.0,shell-quote->1.8.4,node-forge->1.3.3,minimatch->3.1.4,picomatch->2.3.2,lodash->4.17.23,serialize-javascript->7.0.4,svgo->3.3.3,fast-uri->3.1.2,@babel/plugin-transform-modules-systemjs->7.29.4,js-yaml->4.1.1, andwebpack-dev-server->5.2.1among others.npmpackage sub-dependencies (glob,minimatch,tar) and setjs-yamloverrides for several Docusaurus packages (@docusaurus/utils,@docusaurus/utils-validation,@docusaurus/plugin-content-docs) andcosmiconfig.Testing
npm installto regenerate the lockfile and verify dependency resolution, which completed successfully.npm auditto validate that the updated/pinned versions addressed reported issues, and it reported improved results after the updates.Codex Task