{"action":"opened","issue":{"url":"https://api.github.com/repos/mongodb-js/version-manager/issues/19","labels_url":"https://api.github.com/repos/mongodb-js/version-manager/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/mongodb-js/version-manager/issues/19/comments","events_url":"https://api.github.com/repos/mongodb-js/version-manager/issues/19/events","html_url":"https://github.com/mongodb-js/version-manager/issues/19","id":87136323,"number":19,"title":"Failures when using","user":{"login":"ericmj","id":316890,"avatar_url":"https://avatars.githubusercontent.com/u/316890?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmj","html_url":"https://github.com/ericmj","followers_url":"https://api.github.com/users/ericmj/followers","following_url":"https://api.github.com/users/ericmj/following{/other_user}","gists_url":"https://api.github.com/users/ericmj/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmj/subscriptions","organizations_url":"https://api.github.com/users/ericmj/orgs","repos_url":"https://api.github.com/users/ericmj/repos","events_url":"https://api.github.com/users/ericmj/events{/privacy}","received_events_url":"https://api.github.com/users/ericmj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T23:00:07Z","updated_at":"2015-06-10T23:00:07Z","closed_at":null,"body":"You cannot use the library without it crashing:\r\n\r\n```\r\n/home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/semver/semver.js:273\r\n    throw new TypeError('Invalid Version: ' + version);\r\n          ^\r\nTypeError: Invalid Version: 3.1.4.tgz\r\n    at new SemVer (/home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/semver/semver.js:273:11)\r\n    at SemVer.compare (/home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/semver/semver.js:312:13)\r\n    at compare (/home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/semver/semver.js:460:31)\r\n    at lt (/home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/semver/semver.js:494:10)\r\n    at Array.filter (native)\r\n    at /home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/lib/versions.js:57:40\r\n    at toCallback (/home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/downcache/index.js:128:2)\r\n    at /home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/downcache/index.js:112:5\r\n    at /home/travis/.nvm/v0.10.36/lib/node_modules/mongodb-version-manager/node_modules/downcache/node_modules/graceful-fs/graceful-fs.js:104:5\r\n    at Object.oncomplete (fs.js:108:15)\r\n```\r\n\r\nThe problem seems to be that the latest release 3.1.4 also has a `.tgz` file ending which is not handled."}}