Skip to content

Commit 28f414f

Browse files
committed
ipdate
2 parents c9e8b0a + ff1ca97 commit 28f414f

File tree

5 files changed

+42
-37
lines changed

5 files changed

+42
-37
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11

2+
## 6.0.14
3+
4+
- Fixed version of @pm2/pm2-version-check #6055
5+
- CVE-2025-64718 Update js-yaml
6+
- replace fs.R_OK with fs.constants.T_OK #6012 #6019
7+
28
## 6.0.13
39

410
- Fix blessed package import

lib/API.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class API {
209209
if (that.pm2_home.indexOf('.pm2') > -1)
210210
return cb(new Error('Destroy is not a allowed method on .pm2'));
211211

212-
fs.access(test_path, fs.R_OK, function(err) {
212+
fs.access(test_path, fs.constants.R_OK, function(err) {
213213
if (err) return cb(err);
214214
debug('Deleting temporary folder %s', that.pm2_home);
215215
sexec(cmd, cb);

lib/Common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Common.prepareAppConf = function(opts, app) {
167167
*/
168168
if (app.disable_source_map_support != true) {
169169
try {
170-
fs.accessSync(app.pm_exec_path + '.map', fs.R_OK);
170+
fs.accessSync(app.pm_exec_path + '.map', fs.constants.R_OK);
171171
app.source_map_support = true;
172172
} catch(e) {}
173173
delete app.disable_source_map_support;

package-lock.json

Lines changed: 31 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pm2",
33
"preferGlobal": true,
4-
"version": "6.0.13",
4+
"version": "6.0.14",
55
"engines": {
66
"node": ">=16.0.0"
77
},
@@ -171,7 +171,7 @@
171171
"@pm2/agent": "~2.1.1",
172172
"@pm2/js-api": "~0.8.0",
173173
"@pm2/io": "Unitech/pm2-io-apm-otel",
174-
"@pm2/pm2-version-check": "latest",
174+
"@pm2/pm2-version-check": "^1.0.4",
175175
"ansis": "4.0.0-node10",
176176
"async": "3.2.6",
177177
"@pm2/blessed": "0.1.81",
@@ -196,7 +196,7 @@
196196
"source-map-support": "0.5.21",
197197
"sprintf-js": "1.1.2",
198198
"vizion": "~2.2.1",
199-
"js-yaml": "4.1.0"
199+
"js-yaml": "4.1.1"
200200
},
201201
"overrides": {
202202
"debug": "4.4.3"

0 commit comments

Comments
 (0)