Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

semver-parser

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semver-parser - npm Package Compare versions

Comparing version 3.0.0-b.1 to 3.0.0-b.2

6

modules/semver.js

@@ -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 @@ };

12

package.json

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc