@snyk/ruby-semver
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -21,3 +21,2 @@ 'use strict'; | ||
function _createRequirement(range) { | ||
range = range.replace(/(\d)(\s+\D)/, '$1,$2'); | ||
return GemRequirement.$create(range.split(',')); | ||
@@ -24,0 +23,0 @@ } |
{ | ||
"name": "@snyk/ruby-semver", | ||
"version": "1.3.2", | ||
"description": "node-semver compatible API with RubyGems semantics", | ||
@@ -12,2 +11,3 @@ "main": "index.js", | ||
"author": "Gareth Visagie <gareth@snyk.io>", | ||
"license": "Apache-2.0", | ||
"devDependencies": { | ||
@@ -23,3 +23,4 @@ "ava": "^0.16.0", | ||
"node": ">=4" | ||
} | ||
} | ||
}, | ||
"version": "1.3.3" | ||
} |
@@ -14,3 +14,2 @@ import test from 'ava'; | ||
t.is(validRange('> 2.1, < 2.4'), '< 2.4, > 2.1'); | ||
t.is(validRange('> 2.1 < 2.4'), '< 2.4, > 2.1'); | ||
@@ -17,0 +16,0 @@ t.is(validRange(''), '>= 0'); |
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
719095
16382