🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

publish

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

publish - npm Package Compare versions

Comparing version

to
0.2.1

3

index.js

@@ -21,3 +21,2 @@ var npm = require('npm'),

} catch (err) {
console.log(err);
callback(err);

@@ -78,2 +77,4 @@ }

function shouldPublish(options, localVersion, remoteVersion) {
log.info('Local version: ' + localVersion);
log.info('Published version: ' + remoteVersion);
if (semver.eq(remoteVersion, localVersion)) {

@@ -80,0 +81,0 @@ log.info('Your local version is the same as your published version: publish will do nothing');

{
"name": "publish",
"version": "0.2.0",
"version": "0.2.1",
"description": "npm auto publishing of your modules",

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