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

@snyk/ruby-semver

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/ruby-semver - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

lib/comparison.js

@@ -1,2 +0,2 @@

const { GemVersion } = require('./generated');
const GemVersion = require('./generated').GemVersion;

@@ -3,0 +3,0 @@ module.exports = {

@@ -1,2 +0,2 @@

const { GemVersion } = require('./generated');
const GemVersion = require('./generated').GemVersion;

@@ -3,0 +3,0 @@ module.exports = {

@@ -1,4 +0,10 @@

const { GemVersion, GemRequirement } = require('./generated');
const { compare, rcompare } = require('./comparison');
'use strict';
const _generated = require('./generated');
const GemVersion = _generated.GemVersion;
const GemRequirement = _generated.GemRequirement;
const _comparison = require('./comparison');
const compare = _comparison.compare;
const rcompare = _comparison.rcompare;
module.exports = {

@@ -20,3 +26,5 @@ validRange,

const requirements = [];
gemRequirement.$requirements().forEach(([op, version]) => {
gemRequirement.$requirements().forEach((req) => {
const op = req[0];
const version = req[1];
if (op.indexOf('~') !== -1) {

@@ -23,0 +31,0 @@ requirements.push(`>= ${version}`);

@@ -19,3 +19,3 @@ {

},
"version": "1.1.0"
"version": "1.2.0"
}
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