We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af97cdf commit 55396f2Copy full SHA for 55396f2
1 file changed
app/utils/versions.ts
@@ -29,7 +29,7 @@ export interface VersionLink {
29
}
30
31
const LAST_VERSION_IN_RANGE_REGEXP =
32
- /([~^<>=]+\s*\d+\.\d+\.\d+(?:-[0-9A-Z-]+(?:\.[0-9A-Z-]+)*)?(?:\+[0-9A-Z-]+(?:\.[0-9A-Z-]+)*)?)\s*$/i
+ /([~^<>=]*\s*\d+\.\d+\.\d+(?:-[0-9A-Z-]+(?:\.[0-9A-Z-]+)*)?(?:\+[0-9A-Z-]+(?:\.[0-9A-Z-]+)*)?)\s*$/i
33
34
/**
35
* Parse a semver version string into its components
0 commit comments