Skip to content
Discussion options

You must be logged in to vote

The version inside the tgz is correct, and also shows "version": "1.0.2+1".

But you are probably correct that it is an npm problem, because the semver package strips it when parsing:

$ semver 1.0.0-1
1.0.0-1
$ semver 1.0.0+1
1.0.0

The semver specification allows for this but I suppose it is treated differently:
https://semver.org/#spec-item-10

We will have to stop using the + extensions I suppose. :-)

Thank you @mpetuska for finding that out!

Replies: 12 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mpetuska
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #50 on November 26, 2022 21:39.