Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.2.0 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",

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