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 1.1.3 to 1.1.4

2

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

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

@@ -18,3 +18,4 @@ ;(function (exports) { // nothing in here is node-specific.

, xRange = "((?:<|>)=?)?\\s*" + xRangePlain
, exprSpermy = "(?:~>?)"+xRange
, exprLoneSpermy = "(?:~>?)"
, exprSpermy = exprLoneSpermy + xRange
, expressions = exports.expressions =

@@ -101,2 +102,3 @@ { parse : new RegExp("^\\s*"+semver+"\\s*$")

return orchunk
.replace(new RegExp("(" + exprLoneSpermy + ")\\s+"), "$1")
.split(" ")

@@ -103,0 +105,0 @@ .map(replaceXRanges)

@@ -174,2 +174,3 @@ var tap = require("tap")

, ["~ 1.0", "1.0.2"]
, ["~ 1.0.3", "1.0.12"]
, [">=1", "1.0.0"]

@@ -421,2 +422,4 @@ , [">= 1", "1.0.0"]

, ["~ 1.0", [[">=1.0.0-", "<1.1.0-"]] ]
, ["~ 1.0.3", [[">=1.0.3-", "<1.1.0-"]] ]
, ["~> 1.0.3", [[">=1.0.3-", "<1.1.0-"]] ]
, ["<1", [["<1.0.0-"]] ]

@@ -423,0 +426,0 @@ , ["< 1", [["<1.0.0-"]] ]

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