Skip to content

Commit 0887faf

Browse files
committed
Node 18.x
1 parent a6a2df6 commit 0887faf

8 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
node-version: [20, 24]
13+
node-version: [18, 20, 24]
1414

1515
steps:
1616
- uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
3232

3333
strategy:
3434
matrix:
35-
node-version: [20, latest]
35+
node-version: [18, 20, latest]
3636

3737
steps:
3838
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
### Breaking Changes
55

6-
- Require Node.js >= 20.0.0 (dropped Node.js 16/18 support)
6+
- Require Node.js >= 18.0.0 (dropped Node.js 16 support)
77

88
### Core Refactor
99

@@ -60,7 +60,7 @@
6060
- Add TreeKill unit tests
6161
- Add test scripts for internalized modules (bpm, axon, axon-rpc, io-agent)
6262
- Fix test compatibility for Node.js 22+ and Bun
63-
- CI matrix: Node.js 20 + latest
63+
- CI matrix: Node.js 18, 20 + latest
6464

6565
## 6.0.14
6666

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PM2 is constantly assailed by [more than 1800 tests](https://github.com/Unitech/
3838

3939
Official website: [https://pm2.keymetrics.io/](https://pm2.keymetrics.io/)
4040

41-
Works on Linux (stable) & macOS (stable) & Windows (stable). All Node.js versions are supported starting Node.js 20.X and Bun since v1
41+
Works on Linux (stable) & macOS (stable) & Windows (stable). All Node.js versions are supported starting Node.js 18.X and Bun since v1
4242

4343

4444
## Installing PM2

modules/pm2-io-bpm/features/notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class NotifyFeature {
107107
}
108108

109109
onUncaughtException (error) {
110-
// Node 20+ always supports console.error(error) directly
110+
// Node 18+ always supports console.error(error) directly
111111
console.error(error)
112112

113113
const safeError = this.getSafeError(error)

modules/pm2-io-bpm/profilers/inspectorProfiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class InspectorProfiler {
2020
this.transport = undefined
2121
this.currentProfile = null
2222
this.logger = Debug('axm:features:profiling:inspector')
23-
this.isNode11 = true // Always true on Node 20+
23+
this.isNode11 = true // Always true on Node 18+
2424
}
2525

2626
init () {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"preferGlobal": true,
44
"version": "7.0.0",
55
"engines": {
6-
"node": ">=20.0.0"
6+
"node": ">=18.0.0"
77
},
88
"directories": {
99
"bin": "./bin",

test/docker-parallel.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Usage:
77
# ./test/docker-parallel.sh # Default (Node 20)
8-
# NODE_VERSION=18 ./test/docker-parallel.sh # Specify Node version
8+
# NODE_VERSION=18 ./test/docker-parallel.sh # Specify Node version (min supported: 18)
99
# RUNTIME=bun ./test/docker-parallel.sh # Test with Bun
1010
# MAX_JOBS=8 ./test/docker-parallel.sh # Override parallelism
1111
#
@@ -15,7 +15,7 @@ cd "$(dirname "$0")/.."
1515
# Runtime: "node" (default) or "bun"
1616
RUNTIME=${RUNTIME:-node}
1717

18-
# Node.js version (default: 20, ignored if RUNTIME=bun)
18+
# Node.js version (default: 20 LTS, min supported: 18, ignored if RUNTIME=bun)
1919
NODE_VERSION=${NODE_VERSION:-20}
2020

2121
# Auto-detect parallelism

0 commit comments

Comments
 (0)