-
Notifications
You must be signed in to change notification settings - Fork 12
Vulnerable dependencies in JS
Junha Yang(양준하) edited this page Jul 20, 2020
·
1 revision
- Go to the "Security" tab in GitHub repository
- Click the "Alerts" menu in the left bar.
if the vulnerable dependency is an internal library (not specified in the package.json file, but included by another dependency) follow the steps below.
- Run
yarn upgrade XXX
- Try to update minor version of the library in the package.json
- If the library needs a major version update, please discuss it with other team members.
To inspect a dependency graph, you can use yarn why
and npm ls
command.
Try yarn why <package name>
and npm ls <package name>
.