use ~ semver for 0.8 compability