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.3.1 to 0.3.2

10

index.js

@@ -59,5 +59,5 @@ var npm = require('npm'),

log.info('running in travis');
var npmUserCredentials = npmUserCredentials();
if (npmUserCredentials) {
npmAddUser(npmUserCredentials, function(err) {
var npmUser = npmUserCredentials();
if (npmUser) {
npmAddUser(npmUser, function(err) {
if (err) {

@@ -104,4 +104,4 @@ callback('error while trying to add npm user in travis: ' + err);

function npmAddUser(username, password, email, callback) {
npm.registry.adduser(username, password, email, function(err) {
function npmAddUser(npmUser, callback) {
npm.registry.adduser(npmUser.username, npmUser.password, npmUser.email, function(err) {
callback(err);

@@ -108,0 +108,0 @@ });

{
"name": "publish",
"version": "0.3.1",
"version": "0.3.2",
"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