Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » npm audit fix does the same thing as npm audit
- mybearworld
-
1000+ posts
npm audit fix does the same thing as npm audit
I have no idea why but it just fixed itself.
I know this is not the correct place to ask but I don't know where else, so…
When I run `npm audit`, it tells me:
So naturally, I run `npm audit fix`. But `npm audit fix` just gives me the exact same output! Reinstalling node.js didn't help. Does anyone know why that could be?
I know this is not the correct place to ask but I don't know where else, so…
When I run `npm audit`, it tells me:
22 vulnerabilities (5 moderate, 13 high, 4 critical)
To address all issues, run:
npm audit fix
So naturally, I run `npm audit fix`. But `npm audit fix` just gives me the exact same output! Reinstalling node.js didn't help. Does anyone know why that could be?
Last edited by mybearworld (May 9, 2023 15:21:53)
- ajskateboarder
-
1000+ posts
npm audit fix does the same thing as npm audit
`npm audit` doesn't really do much anyway
Last edited by ajskateboarder (May 9, 2023 14:19:39)
- mybearworld
-
1000+ posts
npm audit fix does the same thing as npm audit
(#2)I know, and that's why it's a bit of a problem when `npm audit fix` does exactly the same thing
`npm audit` doesn't really do much anyway
- bigspeedfpv
-
500+ posts
npm audit fix does the same thing as npm audit
using npm audit is bad practice for front end projects because it was never intended to audit frontend libraries
also, why are you using npm skull emoji
also, why are you using npm skull emoji
- mybearworld
-
1000+ posts
npm audit fix does the same thing as npm audit
(#4)Installing a module told me I have 22 vulnerabilities, so I used it. Also, because literally everything uses NPM?
using npm audit is bad practice for front end projects because it was never intended to audit frontend libraries
also, why are you using npm skull emoji
- ajskateboarder
-
1000+ posts
npm audit fix does the same thing as npm audit
Exactly(#5)use yarn or pnpm, they both fetch repos from npm but are much faster
Also, because literally everything uses NPM?
- bigspeedfpv
-
500+ posts
npm audit fix does the same thing as npm audit
audit is pretty much useless. there's a reason better package managers (pnpm, yarn, yarn berry) don't implement the same functionality.(#4)Installing a module told me I have 22 vulnerabilities, so I used it. Also, because literally everything uses NPM?
using npm audit is bad practice for front end projects because it was never intended to audit frontend libraries
also, why are you using npm skull emoji
speaking of - check out yarn and pnpm
corepack enable
pnpm install
- mybearworld
-
1000+ posts
npm audit fix does the same thing as npm audit
Sure, but I want to use the packages of npm, not of yarn or pnpm. I see how npm audit is useless, though, it were lots of RegExp DoS for me as well.audit is pretty much useless. there's a reason better package managers (pnpm, yarn, yarn berry) don't implement the same functionality.(#4)Installing a module told me I have 22 vulnerabilities, so I used it. Also, because literally everything uses NPM?
using npm audit is bad practice for front end projects because it was never intended to audit frontend libraries
also, why are you using npm skull emoji
speaking of - check out yarn and pnpmit will change your life, they're so much better than npmcorepack enable
pnpm install
- NFlex23
-
1000+ posts
npm audit fix does the same thing as npm audit
Yarn and PNPM use the exact same package registry as NPM.Sure, but I want to use the packages of npm, not of yarn or pnpm. I see how npm audit is useless, though, it were lots of RegExp DoS for me as well.audit is pretty much useless. there's a reason better package managers (pnpm, yarn, yarn berry) don't implement the same functionality.(#4)Installing a module told me I have 22 vulnerabilities, so I used it. Also, because literally everything uses NPM?
using npm audit is bad practice for front end projects because it was never intended to audit frontend libraries
also, why are you using npm skull emoji
speaking of - check out yarn and pnpmit will change your life, they're so much better than npmcorepack enable
pnpm install
- MagicCrayon9342
-
1000+ posts
npm audit fix does the same thing as npm audit
pnpm causes problems.
- bigspeedfpv
-
500+ posts
npm audit fix does the same thing as npm audit
this is a skill issue (you can disable pnpm's package flattening so its node_modules layout is identical to NPM) pnpm causes problems.
- Discussion Forums
- » Advanced Topics
-
» npm audit fix does the same thing as npm audit