Remix.run Logo
skrebbel 4 days ago

yes. ripgrep just does it faster, is all.

nothrabannosir 4 days ago | parent | next [-]

But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules

Fishkins 4 days ago | parent | next [-]

For others who didn't know, the -u flag in the OP's command makes it so ripgrep _will_ search files even if they're gitignored

postalcoder 3 days ago | parent [-]

-u searches through ignored files

-uu searches through ignored and hidden files (eg dotfiles)

-uuu searches through ignored, hidden, and binary files (ie everything)

AkshatJ27 4 days ago | parent | prev [-]

Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string.

hinkley 4 days ago | parent | prev [-]

Make it work, make it right, make it fast.

For security checks, the first 2 out of 3 is just fine.

Aeolun 4 days ago | parent [-]

Sure, but if you can get the last for free, why not?