←back to thread

1369 points universesquid | 1 comments | | HN request time: 0.525s | source
Show context
joaomoreno ◴[] No.45170585[source]
From sindresorhus:

You can run the following to check if you have the malware in your dependency tree:

`rg -u --max-columns=80 _0x112fa8`

Requires ripgrep:

`brew install rg`

https://github.com/chalk/chalk/issues/656#issuecomment-32668...

replies(8): >>45171142 #>>45171275 #>>45171304 #>>45171841 #>>45172110 #>>45172189 #>>45174730 #>>45175821 #
koolba ◴[] No.45171142[source]
Try the same recursive grep on ~/.npm to see if you have it cached too. Not just the latest in the current project.
replies(1): >>45172939 #
tripplyons ◴[] No.45172939[source]
Haven't installed any modules today, but I ran these commands to clear caches for npm and pnpm just to be safe.

npm cache clean --force pnpm cache delete

replies(1): >>45174311 #
1. PokestarFan ◴[] No.45174311[source]
You probably want to check before you clear cache