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

parse-version

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-version - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

4

index.js

@@ -1,3 +0,3 @@

module.exports = function(cb) {
var vparts = version.split('.');
module.exports = function(versionString, cb) {
var vparts = versionString.split('.');
if (vparts.length != 4) return cb(new Error("version format isn't valid (must be `*.*.*.*`)"));

@@ -4,0 +4,0 @@ else {

{
"name": "parse-version",
"version": "0.5.0",
"version": "0.6.0",
"description": "Parsing four number versions.",

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

Sorry, the diff of this file is not supported yet

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