← Back to context Comment by skrebbel 3 months ago yes. ripgrep just does it faster, is all. 6 comments skrebbel Reply nothrabannosir 3 months ago But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules Fishkins 3 months ago 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 months ago -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 3 months ago Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string. hinkley 3 months ago Make it work, make it right, make it fast.For security checks, the first 2 out of 3 is just fine. Aeolun 3 months ago Sure, but if you can get the last for free, why not?
nothrabannosir 3 months ago But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules Fishkins 3 months ago 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 months ago -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 3 months ago Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string.
Fishkins 3 months ago 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 months ago -u searches through ignored files-uu searches through ignored and hidden files (eg dotfiles)-uuu searches through ignored, hidden, and binary files (ie everything)
postalcoder 3 months ago -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 3 months ago Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string.
hinkley 3 months ago Make it work, make it right, make it fast.For security checks, the first 2 out of 3 is just fine. Aeolun 3 months ago Sure, but if you can get the last for free, why not?
But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules
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
-u searches through ignored files
-uu searches through ignored and hidden files (eg dotfiles)
-uuu searches through ignored, hidden, and binary files (ie everything)
Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string.
Make it work, make it right, make it fast.
For security checks, the first 2 out of 3 is just fine.
Sure, but if you can get the last for free, why not?