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

semver-closest

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semver-closest - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

index.js

@@ -15,3 +15,3 @@ const semver = require('semver')

(parsedSemverA.major * 100 + parsedSemverA.minor * 10 + parsedSemverA.patch) -
(parsedSemverB.major * 100 + parsedSemverB.minor * 10 + parsedSemverB.patch),
(parsedSemverB.major * 100 + parsedSemverB.minor * 10 + parsedSemverB.patch)
)

@@ -18,0 +18,0 @@ })

{
"name": "semver-closest",
"version": "0.1.1",
"version": "0.1.2",
"description": "Find the closest matching semver from an array of semver versions",

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

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