example.com/path/to/article
000 points · username · 0 hours ago
example.com0 points · 0 comments · 10 years ago · paradite
bower and many other npm packages, has some dependencies that eventually depends on a package called "wordwrap".
And this "wordwrap" package somehow has its test folder exposed in npm.
The result:
Every single person using bower would have one or more copies of In Praise of Idleness by Bertrand Russell on your local machine, depending on how many of your projects has a npm dependency of this package:
https://github.com/substack/node-wordwrap/blob/master/test/i...
Don't believe me? Try searching for "In Praise of Idleness" in Spotlight.
Edit: Someone had already sent a PR about this on GitHub: https://github.com/substack/node-wordwrap/pull/14
pjc50
aaronharnly
zuck9
Anyone knows how to prevent all node_modules folders from getting indexed by Spotlight?
heydenberk
sotojuan
percept
manimalcruelty