Socket
Socket
Sign inDemoInstall

pm2

Package Overview
Dependencies
Maintainers
1
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2 - npm Package Compare versions

Comparing version 0.6.9 to 0.6.10

6

lib/God.js

@@ -346,4 +346,4 @@ /**

for (var id in God.clusters_db) {
workerAmount++;
if (God.clusters_db[id].pm2_env.exec_mode == 'cluster_mode') {
workerAmount++;
(function (oldWorker, currentWorkerIndex) {

@@ -359,5 +359,6 @@ executeApp(oldWorker.pm2_env, function(err, newWorker) {

oldWorker.pm2_env.pm_id);
God.stopProcessId(oldWorker.pm2_env.pm_id, function(){
if(currentWorkerIndex === workerAmount){
cb();
setTimeout(cb, 1000);
}

@@ -388,2 +389,3 @@ });

pro.pm2_env.status != cst.ERRORED_STATUS) {
console.log(pro.pid);
usage.lookup(pro.pid, { keepHistory : true }, function(err, res) {

@@ -390,0 +392,0 @@ if (err)

{
"name": "pm2",
"preferGlobal": "true",
"version": "0.6.9",
"version": "0.6.10",
"engines" : {

@@ -6,0 +6,0 @@ "node" : ">=0.8"

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