fixes #37: support semver and semver range