CLI needs information for specific versions of packages. However registry.npmjs.org have broken something and the URL we've been using (http://registry.npmjs.org/<package_name>?version=<version>) does not work anymore.
Instead it returns information for all versions.
We've tried calling http://registry.npmjs.org/<package_name>/<version>, which seemed to work fine, but it turned out it has a lot of issues with scoped dependencies.
Issues are describe here.
In order to fix CLI and allow installation of all plugins, get the full information from the registry and find only the info we need for the specified version.
CLI needs information for specific versions of packages. However registry.npmjs.org have broken something and the URL we've been using (
http://registry.npmjs.org/<package_name>?version=<version>
) does not work anymore. Instead it returns information for all versions. We've tried callinghttp://registry.npmjs.org/<package_name>/<version>
, which seemed to work fine, but it turned out it has a lot of issues with scoped dependencies. Issues are describe here. In order to fix CLI and allow installation of all plugins, get the full information from the registry and find only the info we need for the specified version.