Use tilde to get latest major-version compatible

https://github.com/isaacs/node-semver
Merge pull request #1 from metaraine/patch-1

Use tilde to get latest major-version compatible