-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post npm install
audit is bad
#1512
Comments
That’s fine, most CVEs are false positives anyways. |
You're betting on chance, without in-depth analysis? |
No, I’d be happy to take a look at it, which is why the issue is still open :-) however, this is an eslint plugin. Issues in dev deps are largely irrelevant (what does |
Certainly we could also add a posttest script that runs |
Adding a posttest script sounds like a good idea. |
You can run |
Note that same should be done for |
Actually
But that's false, because it does have a |
Ah, yes, |
Looks like npm itself can't handle our file: dev deps ¯\_(ツ)_/¯ |
Why? It's in the docs: https://docs.npmjs.com/files/package.json#local-paths |
Presumably because it has a bug. |
What node & npm versions is this built with? |
In this case, node 13.0.1 and npm 6.12.0, the latest possible of both. |
I just tried this on an Ubuntu VM with Node v8.10.0 and npm v3.5.2 and got the exact same error, plus it said "npm is v3.5.2; we need ^6; installing npm in a temp dir..." |
aud does that, yes |
npm v10.2+ no longer requires a lockfile, so there's no need to use |
I forked this repository and ran
npm install
.After installing, a quick audit was performed and said:
There's no lockfile (
package.lock.json
) so I can't runnpm audit
nornpm audit fix
.The text was updated successfully, but these errors were encountered: