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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which dep(s) are these transitive to? wondering why we can't just update a base level dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node-forge@0.10.0is transitive viauniversal-hot-reload→webpack-dev-server@3.11.0→selfsigned→node-forge. The root cause iswebpack-dev-serverv3 which pinsselfsigned@^1.10.0, and that version of selfsigned requiresnode-forge@^0.10.0. Upgradinguniversal-hot-reloadorwebpack-dev-serverto a version that doesn't pull in oldselfsignedwould require jumping towebpack-dev-serverv5 (breaking).tmp@0.0.33is transitive viaeslint@5.16.0→inquirer→external-editor→tmp. The root cause is the very oldeslint@^5.10.0pinned in the example's devDependencies — eslint 5.x is EOL and its dep chain pulls in ancienttmp. Upgrading eslint in these examples would require reworking the eslint config.Both are cases where the direct dependency is too old to resolve the transitive vuln through a normal version bump, so resolutions are the pragmatic fix without a larger rewrite of these deprecated examples.