-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #25: resolve modules with the same name as node stdlib modules #30
Conversation
Ping @substack. |
Ping @substack. This bug is still getting in my way. |
Cool, looks like you've just committed it as 9637b60. Closing this, since Github didn't detect is as a merge. |
Merged in 0.6.0. The upstream dependencies will be updated shortly. |
@substack: which upstream dependencies do you mean? |
Waiting for @defunctzombie to update browser-resolve then I can upgrade module-deps. |
Oh, I was just trying to get these to work like the others. |
@substack was I suppose to update/fix something? Maybe I have forgotten.
|
@defunctzombie can you update browser-resolve to use [email protected]? |
Updated version of resolve published in browser-resolve v1.2.0 |
This seems to have caused this library to diverge from the actual node resolve algorithm, which pretty clearly states:
This is the root cause of rollup/rollup#544. It can be worked around, but I believe this should either be reverted or a note should be added to the README that explains in what way this library differs from the real node resolve algorithm. |
I don't know offhand if this is a dependency of Browserify, but that deviation would make sense if it leveraged this module. Not sure what @michaelficarra's original use case was, or if he even remembers; it was a long time ago. 😄 Either way, yes, either this should be explained in |
Hmm, I'm not sure how this came about. I just confirmed that both the old (0.10.x) documentation and the implementation have the behaviour that @eventualbuddha outlined. I'd say this should be reverted, but there's probably a use case to prefer npm modules over built-in ones, so an option to preserve that would be great. |
Fixes #25. In particular, this prevents me from resolving https://npmjs.org/package/punycode and https://npmjs.org/package/querystring using node-resolve.