semver-parser
Advanced tools
Comparing version 3.0.0-b.1 to 3.0.0-b.2
@@ -52,5 +52,2 @@ /** | ||
part = parseInt(part, BASE); | ||
if (Number.isNaN(part)) { | ||
throw new TypeError(`${part} is not a Number.`); | ||
} | ||
if (!Number.isSafeInteger(part)) { | ||
@@ -146,5 +143,2 @@ throw new RangeError(`${part} exceeds ${Number.MAX_SAFE_INTEGER}.`); | ||
} | ||
if (!Number.isInteger(result)) { | ||
throw new Error(`Failed to compare ${version} with ${base}.`); | ||
} | ||
return result; | ||
@@ -151,0 +145,0 @@ }; |
@@ -13,3 +13,3 @@ { | ||
"engines": { | ||
"node": ">=10.4.1" | ||
"node": ">=10.0.0" | ||
}, | ||
@@ -23,8 +23,8 @@ "main": "./index.js", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.12.0", | ||
"mocha": "^5.2.0", | ||
"nyc": "^13.1.0", | ||
"sinon": "^7.2.2" | ||
"eslint": "^5.14.1", | ||
"mocha": "^6.0.2", | ||
"nyc": "^13.3.0", | ||
"sinon": "^7.2.4" | ||
}, | ||
"version": "3.0.0-b.1" | ||
"version": "3.0.0-b.2" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
18844
349