semver4j
semver4j copied to clipboard
Better NPM versions support
Quick and dirty fixes for #7
Can you have a look ?
It looks like you have some test failures :( I'll let you see if they can be fixed.
removed these tests
Requirement.buildNPM("1.2.3-2.3.4"),
Requirement.buildNPM("1.2.3 -2.3.4"),
Requirement.buildNPM("1.2.3- 2.3.4"),
Well... Removing the tests definitely fixes the test failures but it looks like those tests were legit. Maybe we can try to fix the code instead?
Well...they weren't (see https://github.com/npm/node-semver).
hyphen ::= partial ' - ' partial