switching to ~ syntax to support older npm