Thanks for bringing this to our attention. I think we should indeed try to 
support the node's full module resolution. Either using the package you linked 
to or 
[sindresorhus/resolve-from](https://github.com/sindresorhus/resolve-from). 
Frankly I'd prefer the latter, as it actually uses node's implementation.

If the resolved module path does not satisfy the spec, I'd just stop there and 
continue with installing the requested version. Alternatively we could try 
searching upwards for the correct version, but I'd rather stick to node's plain 
module resolution. I can't imagine any use cases that would benefit from doing 
more than `require` can do. What do you think?

[ Full content available at: https://github.com/apache/cordova-fetch/issues/43 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to