Replies: 1 comment 5 replies
-
|
hey @s0rthak, sorry for the late response. Yes, its definitely possible with npm v6 👍🏻 there is a sample mock of v6 audit response here https://github.com/jeemok/better-npm-audit/blob/master/test/__mocks__/v6-json-buffer.json you can refer to. However, this I can work on it over this weekend, or happy to review one if you can submit one MR too!
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
First of all, the new interface to the tool is great. It's so much more cleaner to go through now.
Would it be possible to show the path to the module with the reported vulnerability in the new UI?
Here's a example output:

(I'm using npm v6 with node 14 right now)
This is from a frontend repo and all the dependencies mentioned here are nested dependencies of
react-scriptsThe
tarmodule for example is used herereact-scripts > terser-webpack-plugin > cacache > tarBeing able to see the module path would make it easier to figure out if we need to prioritize fixing this or ignoring it if it doesn't fit our use-case.
Right now, I have to run
npm auditagain after looking at the UI.Also, I understand that a package may have more than one path, particularly when there are vulnerabilities in packages used by a lot of other packages. Maybe it can be present in the following manner:
I'll be happy to contribute to an MR for this as well if it's possible with npm.
Please let me know, thanks!
Beta Was this translation helpful? Give feedback.
All reactions