webjars/jshint — pull request #8 by huntc (2014-01-11 22:55:10+00:00)
Title: Problem locating latest version of jshint webjar

When using jshint webjar with version 2.4.1, accessing the following webjar uri: "jshint.js" fails with message: "Multiple matches found...".

Apparently the same webjar contains the node_modules folder which contains another file with the same name: jshint.js. As result, the webjar-locator cannot resolve the ambiguity.

Searching for a more specific webjar uri: "2.4.1/jshint.js" works, but it defends the purpose of the easily replaceable dependency, since I cannot upgrade to a newer (or older) version anymore, since the version itself is encoded in the path.

I'm not sure whether the problem should be solved by removing (probably unnecessary) node-modules folder from the jshint webjar, or making webjar-locator configurable when dealing with multiple matches or if the version should not be encoded in the path of the webjar (I know we have discussed this earlier and there is a long thread regarding this subject).

I would like to hear your thoughts regarding this problem in this thread.

Thanks,
Alex