resolve npm version