https://github.com/isaacs/node-semver

Which says

```
~1.2.3 := >=1.2.3 <1.3.0
```

So no idea how that happened...