@superfaceai/parser
Advanced tools
Comparing version 0.0.24-beta.3 to 0.0.24-beta.4
@@ -68,3 +68,11 @@ "use strict"; | ||
if (splitVersion !== undefined) { | ||
parsedVersion = version_1.VersionRange.fromString(splitVersion); | ||
try { | ||
parsedVersion = version_1.VersionRange.fromString(splitVersion); | ||
} | ||
catch (error) { | ||
return { | ||
kind: 'error', | ||
message: splitVersion + " is not a valid version", | ||
}; | ||
} | ||
// strip the version | ||
@@ -71,0 +79,0 @@ id = versionRestId; |
{ | ||
"name": "@superfaceai/parser", | ||
"version": "0.0.24-beta.3", | ||
"version": "0.0.24-beta.4", | ||
"description": "Level 5 autonomous, self-driving API client, https://superface.ai", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/superfaceai/parser.git", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
841017
16345