@pm2/agent
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "@pm2/agent", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "PM2.io Agent Daemon", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"eventemitter2": "~5.0.1", | ||
"fast-json-patch": "^3.0.0-1", | ||
"fast-json-patch": "^3.1.0", | ||
"fclone": "~1.0.11", | ||
@@ -28,0 +28,0 @@ "pm2-axon": "~4.0.1", |
@@ -193,2 +193,3 @@ 'use strict' | ||
detached: true, | ||
windowsHide: true, | ||
cwd: process.cwd(), | ||
@@ -237,2 +238,6 @@ env: Object.assign({ | ||
if (cst.IS_BUN === true) { | ||
return cb(null, {}, child) | ||
} | ||
child.unref() | ||
@@ -239,0 +244,0 @@ |
@@ -49,3 +49,4 @@ 'use strict' | ||
sendToParent (data) { | ||
if (!process.connected || !process.send) return console.log('Could not send data to parent') | ||
if (!process.connected || !process.send || cst.IS_BUN == true) | ||
return console.log('Could not send data to parent') | ||
@@ -52,0 +53,0 @@ try { |
Sorry, the diff of this file is not supported yet
3397
201663
Updatedfast-json-patch@^3.1.0