-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Invalid Version: 723 #830
Comments
Thanks! I'll look into it. Interesting that the tests didn't catch this. |
Could you run |
|
I created a private BitBucket repository to try to reproduce, but unfortunately I was getting auth errors for some reason. npm-check-updates uses parse-github-url to parse all git urls (despite the name "github"). I wonder if it's not parsing your url properly. Could you try running this in an empty directory and let me know what you get (blanking out credentials as needed)? npm install --save parse-github-url
node -e "console.log(require('parse-github-url')('git+https://myusername:jfF8aS2d9fkasdLASD09@bitbucket.org/myusername/mylibrary.git#v723'))" |
Here you go (replacing credentials with the dummy ones used in the example):
|
Could you try ncu |
Works! 🎉🎉 |
I'm getting the above error, with the relevant info below:
Content of
package.json
:Whilst a version name of
v723
is non-standard, it was explicitly allowed previously in ncu... see here.EDIT it works in
11.1.3
... only broke in11.1.4
.The text was updated successfully, but these errors were encountered: