Socket
Socket
Sign inDemoInstall

semver

Package Overview
Dependencies
0
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

semver.browser.js

2

package.json
{
"name": "semver",
"version": "2.0.2",
"version": "2.0.3",
"description": "The semantic version parser used by npm.",

@@ -5,0 +5,0 @@ "main": "semver.js",

@@ -229,3 +229,3 @@ // export the class if we are in a Node-like system.

var v = parse(version, loose);
return v ? v.version : false;
return v ? v.version : null;
}

@@ -788,2 +788,4 @@

Range.prototype.test = function(version) {
if (!version)
return false;
for (var i = 0; i < this.set.length; i++) {

@@ -790,0 +792,0 @@ if (testSet(this.set[i], version))

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc