3 ms·
I'm not sure why publishing modules with the same name as core ones is even allowed. I get that it probably won't be possible to remove stuff like `fs`, `consol
by elmigranto 10y ago
I'm not sure why publishing modules with the same name as core ones is even allowed. I get that it probably won't be possible to remove stuff like `fs`, `console`, `vm` and others, but maybe worth adding a policy for preventing this in the future.
You probably won't even be able to `require` them without some fancy tricks in newer node versions: https://nodejs.org/api/modules.html#modules_all_together https://nodejs.org/api/modules.html#modules_all_together
- thesmallestcat 10y agoWhat does that accomplish? There's an "http" package on PyPI and Py3k adds an "http" package to the standard library. This does not seem meaningful. As I suggested in my downvoted comment, if you're doing `pip install os`, or `npm install --save fs`, your problems are external to the tools you've chosen.
- elmigranto 10y agoWhy don't people just stop making mistakes, right? The tool rejecting to do obviously wrong thing is always nice to have. No matter how trivial the mistake might seem to you.