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

pm2-deploy

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2-deploy - npm Package Compare versions

Comparing version 0.3.9 to 0.3.10

11

deploy.js
var fs = require('fs');
var tv4 = require('tv4');
var async = require('async');
var series = require('async/series');
var childProcess = require('child_process');

@@ -17,5 +17,6 @@ var path = require('path');

var proc = childProcess.spawn('sh', ['-c', shellSyntaxCommand], { stdio: 'inherit' });
var error;
proc.on('error', function (e) {
return cb(e.stack || e);
error = e;
});

@@ -25,3 +26,3 @@

if (code == 0) return cb(null, args);
else return cb(code);
else return cb(error || code);
});

@@ -90,3 +91,3 @@ }

if (Array.isArray(target_conf.host)) {
async.series(target_conf.host.reduce(function (jobs, host) {
series(target_conf.host.reduce(function (jobs, host) {
jobs.push(function (done) {

@@ -136,3 +137,3 @@

Deploy.deployForEnv(conf.deploy, env, args, function (err, data) {
deployForEnv(conf.deploy, env, args, function (err, data) {
console.log(arguments);

@@ -139,0 +140,0 @@ });

{
"name": "pm2-deploy",
"version": "0.3.9",
"version": "0.3.10",
"description": "Deployment system for PM2",

@@ -14,3 +14,3 @@ "main": "deploy.js",

"dependencies": {
"async": "^1.5",
"async": "^2.6",
"tv4": "^1.3"

@@ -21,3 +21,3 @@ },

"mocha": "^3.5",
"should": "^11"
"should": "^13"
},

@@ -24,0 +24,0 @@ "author": "Alexandre Strzelewicz",

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