I think that on principle npm is wrong, it should recognise that 1.5.19+e355698e and 1.5.19 are equivalent (according to SemVer) and therefore it should not suggest that ungit needs to be updated.
But to be more pragmatic, I would remove the metadata portion from the version and call it a day.
What do you think?
If you run
npm outdated
, it will always show ungit as outaded:Tested on Node 16.14.0, npm 8.5.2, Win10.
Apparently, the metadata portion
+e355698e
is fooling npm's ability to compare versions. Further elements to consider:I think that on principle npm is wrong, it should recognise that
1.5.19+e355698e
and1.5.19
are equivalent (according to SemVer) and therefore it should not suggest that ungit needs to be updated. But to be more pragmatic, I would remove the metadata portion from the version and call it a day. What do you think?