Currently npm module version MUST be specified or 'devtool add' will fail. Latest version this can be awkward to find so if version is not specified, automatically find latest and use it.
Now the 'latest' keyword can be used. A warning is displayed to inform that the build is not reproducible using this feature. But this is really handy when creating the recipe with 'devtool add'. % devtool add 'npm://registry.npmjs.org;package=JSONStream;version=latest' ... WARNING: The npm package JSONStream@latest is using the latest version available. This could lead to non-reproducible builds. ... INFO: Recipe /home/jmlemetayer/development/yolo-yocto/build/workspace/recipes/jsonstream/jsonstream_1.3.5.bb has been automatically created; further editing may be required to make it fully functional