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 5.2.0 to 5.2.1

6

lib/God.js

@@ -247,3 +247,2 @@ /**

console.error(err.stack || err);
clu.pm2_env.status = cst.ERRORED_STATUS;
try {

@@ -306,3 +305,2 @@ clu.destroy && clu.destroy();

console.error(err.stack || err);
clu.pm2_env.status = cst.ERRORED_STATUS;
try {

@@ -565,3 +563,3 @@ clu.kill && clu.kill();

}).map(function (proc) {
return proc.pm2_env[env.increment_var];
return Number(proc.pm2_env[env.increment_var]);
}).sort(function (a, b) {

@@ -571,3 +569,3 @@ return b - a;

// inject a incremental variable
var defaut = env.env[env.increment_var] || 0;
var defaut = Number(env.env[env.increment_var]) || 0;
env[env.increment_var] = typeof lastIncrement === 'undefined' ? defaut : lastIncrement + 1;

@@ -574,0 +572,0 @@ env.env[env.increment_var] = env[env.increment_var];

{
"name": "pm2",
"preferGlobal": true,
"version": "5.2.0",
"version": "5.2.1",
"engines": {

@@ -176,11 +176,11 @@ "node": ">=10.0.0"

"chalk": "3.0.0",
"chokidar": "^3.5.1",
"chokidar": "^3.5.3",
"cli-tableau": "^2.0.0",
"coffee-script": "^1.12.7",
"commander": "2.15.1",
"croner": "~4.1.92",
"dayjs": "~1.8.25",
"dayjs": "~1.11.5",
"debug": "^4.3.1",
"enquirer": "2.3.6",
"eventemitter2": "5.0.1",
"sprintf-js": "1.1.2",
"fclone": "1.0.11",

@@ -196,3 +196,4 @@ "mkdirp": "1.0.4",

"semver": "^7.2",
"source-map-support": "0.5.19",
"source-map-support": "0.5.21",
"sprintf-js": "1.1.2",
"vizion": "~2.2.1",

@@ -199,0 +200,0 @@ "yamljs": "0.3.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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