From 098b344e16dab68cc2cfb9bd8014f2d56acfcd50 Mon Sep 17 00:00:00 2001 From: Unitech Date: Thu, 23 May 2024 19:49:59 +0200 Subject: [PATCH] pm2@5.4.0 --- .github/workflows/node.js.yml | 2 +- CHANGELOG.md | 6 ++++++ package.json | 4 ++-- test/e2e/logs/log-json.sh | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7bbd16306..fadf0dd18 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: [20.x, 18.x] + node-version: [22.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 974f3aa15..6fa2fc85c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 5.4.0 + +- #5782 add autostart true||false feature by @ultimate-tester +- fix UUID deprecation +- updates modules + ## 5.3.1 - #5686 Switch from Travis CI to Github Actions diff --git a/package.json b/package.json index 20e517c4a..57868f533 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "pm2", "preferGlobal": true, - "version": "5.3.1", + "version": "5.4.0", "engines": { - "node": ">=10.0.0" + "node": ">=12.0.0" }, "directories": { "bin": "./bin", diff --git a/test/e2e/logs/log-json.sh b/test/e2e/logs/log-json.sh index 14cf9af75..47d904c05 100644 --- a/test/e2e/logs/log-json.sh +++ b/test/e2e/logs/log-json.sh @@ -47,7 +47,7 @@ node -pe 'JSON.parse(process.argv[1])' `cat output.log` spec 'should have parsed valid json' OUT=`cat output.log | grep -o "$CURRENT_YEAR" | wc -l` -[ $OUT -eq 1 ] || fail "should contains custom timestamp" +[ $OUT -ge 1 ] || fail "should contains custom timestamp" success "should contains custom timestamp" $pm2 delete all