{"action":"created","issue":{"url":"https://api.github.com/repos/fxpio/composer-asset-plugin/issues/260","repository_url":"https://api.github.com/repos/fxpio/composer-asset-plugin","labels_url":"https://api.github.com/repos/fxpio/composer-asset-plugin/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/fxpio/composer-asset-plugin/issues/260/comments","events_url":"https://api.github.com/repos/fxpio/composer-asset-plugin/issues/260/events","html_url":"https://github.com/fxpio/composer-asset-plugin/issues/260","id":184661178,"number":260,"title":"lodash-amd installs 3.5.3 for ~3.5.0, but npm doesn't see this version","user":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars.githubusercontent.com/u/928965?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-22T23:31:45Z","updated_at":"2016-10-22T23:41:24Z","closed_at":null,"body":"It looks like version installed by `fxp/composer-asset-plugin` is just copied from GitHub (the same contents as [here](https://github.com/lodash/lodash/tree/3.5.3-npm-packages)), however, NPM only knows following versions (no 3.5.3):\r\n```\r\nnpm ERR! notarget No compatible version found: lodash-amd@3.5.3\r\nnpm ERR! notarget Valid install targets:\r\nnpm ERR! notarget 4.16.4, 4.16.3, 4.16.2, 4.16.1, 4.16.0, 4.15.0, 4.14.2, 4.14.1, 4.14.0, 4.13.1, 4.13.0, 4.12.0, 4.11.2, 4.11.1, 4.11.0, 4.10.0, 4.9.0, 4.8.2, 4.8.0, 4.7.0, 4.6.1, 4.6.0, 4.5.1, 4.5.0, 4.4.0, 4.3.0, 4.2.1, 4.2.0, 4.1.0, 4.0.1, 4.0.0, 3.10.2, 3.10.1, 3.10.0, 3.9.3, 3.9.2, 3.9.0, 3.8.0, 3.7.0, 3.6.0, 3.5.0, 3.4.0, 3.3.1, 3.3.0, 3.2.0, 3.1.0, 3.0.1, 3.0.0, 2.4.1, 2.4.0, 2.3.0, 2.2.1, 2.2.0, 2.1.0, 2.0.0\r\n```\r\n\r\nMoreover, installing 3.5.0 using NPM results in very different contents of the `lodash-amd` directory:\r\n```\r\n$ cat package.json              \r\n{\r\n  \"_args\": [\r\n    [\r\n      {\r\n        \"raw\": \"lodash-amd@3.5\",\r\n        \"scope\": null,\r\n        \"escapedName\": \"lodash-amd\",\r\n        \"name\": \"lodash-amd\",\r\n        \"rawSpec\": \"3.5\",\r\n        \"spec\": \">=3.5.0 <3.6.0\",\r\n        \"type\": \"range\"\r\n      },\r\n      \"/media/Data/tmp\"\r\n    ]\r\n  ],\r\n  \"_from\": \"lodash-amd@>=3.5.0 <3.6.0\",\r\n  \"_id\": \"lodash-amd@3.5.0\",\r\n...\r\n$ ls                            \r\ncompat/  LICENSE.txt  main.js  modern/  package.json  README.md\r\n```"},"comment":{"url":"https://api.github.com/repos/fxpio/composer-asset-plugin/issues/comments/255560573","html_url":"https://github.com/fxpio/composer-asset-plugin/issues/260#issuecomment-255560573","issue_url":"https://api.github.com/repos/fxpio/composer-asset-plugin/issues/260","id":255560573,"user":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars.githubusercontent.com/u/928965?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T23:41:24Z","updated_at":"2016-10-22T23:41:24Z","body":"When added `npm-asset/lodash-amd 3.5.0` dependency in addition to `npm-asset/scribe-plugin-sanitizer ^0.1` it finally installed correct version."}}
{"actor":{"display_login":"nazar-pc"}}