Houston Putman created SOLR-15910:
-------------------------------------
Summary: Use a better Semver library to fix bugs in the package
manager
Key: SOLR-15910
URL: https://issues.apache.org/jira/browse/SOLR-15910
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Package Manager
Affects Versions: 9.0
Reporter: Houston Putman
Assignee: Houston Putman
We are using a semver libary currently that doesn't support features in the
test ("8 - 9"), and also hasn't been updated in 7 years.
https://github.com/zafarkhaja/jsemver
Jan also found a bug in the way that it's toString() method works.
We need to use a more modern library: [https://github.com/vdurmont/semver4j]
However there is a small but critical bug in their NPM version comparing:
[https://github.com/vdurmont/semver4j/issues/48]
The library hasn't been updated in 2 years, so it looks like we will need to
fork this unfortunately to fix the bugs. If anyone can find another library
that we can use, I'd be happy to use that instead, but I wasn't able to find
anything after looking for quite a while.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]