New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pm2/agent

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pm2/agent - npm Package Compare versions

Comparing version 0.5.12 to 0.5.13

2

constants.js

@@ -75,2 +75,4 @@ /**

ENABLE_CONTEXT_ON_ERROR: useIfDefined(process.env.PM2_AGENT_ENABLE_CONTEXT_ON_ERROR, true),
SUCCESS_EXIT: 0,

@@ -77,0 +79,0 @@ ERROR_EXIT: 1

2

package.json
{
"name": "@pm2/agent",
"version": "0.5.12",
"version": "0.5.13",
"description": "PM2.io Agent Daemon",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -104,3 +104,3 @@

// attach additional info for exception
if (event === 'process:exception') {
if (event === 'process:exception' && cst.ENABLE_CONTEXT_ON_ERROR === true) {
packet.data.last_logs = this.log_buffer[packet.process.name]

@@ -107,0 +107,0 @@ packet.data = this._stackParser.attachContext(packet.data)

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