Skip to content

Commit 18843c1

Browse files
committed
Drop support for Node less than 20.9.0 (#676)
* Drop support for Node less than 20.9.0 * Update breaking change node.js release version
1 parent 8755634 commit 18843c1

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,20 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node:
13-
- version: 16.x
14-
# - version: 18.x
15-
# env: NODE_OPTIONS=--openssl-legacy-provider
1613
- version: 20.x
1714
env: NODE_OPTIONS=--openssl-legacy-provider
1815
- version: 22.x
1916
env: NODE_OPTIONS=--openssl-legacy-provider
17+
- version: 24.x
18+
env: NODE_OPTIONS=--openssl-legacy-provider
2019
runs-on: ubuntu-22.04
2120
name: Tests on Node.js v${{ matrix.node.version }}
2221
steps:
2322
- name: Checkout repo
24-
uses: actions/checkout@v3
23+
uses: actions/checkout@v5
2524

2625
- name: Setup node
27-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v6
2827
with:
2928
node-version: ${{ matrix.node.version }}
3029

@@ -41,10 +40,10 @@ jobs:
4140
runs-on: ubuntu-latest
4241
steps:
4342
- name: Checkout repo
44-
uses: actions/checkout@v3
43+
uses: actions/checkout@v5
4544

4645
- name: Setup node
47-
uses: actions/setup-node@v3
46+
uses: actions/setup-node@v6
4847
with:
4948
node-version: "22.x"
5049

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
1313
## UNRELEASED
1414

1515
* **Breaking Change**
16-
* Remove explicit support for Node versions below 16.20.2 ([#650](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/650) by [@valscion](https://github.com/valscion))
17-
* **NOTE:** `webpack-bundle-analyzer` might still support older Node versions but they are no longer tested against.
16+
* Remove explicit support for Node versions below 20.9.0 ([#676](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/676) by [@valscion](https://github.com/valscion))
1817

1918
* **Improvement**
2019
* Parse bundles as ES modules based on stats JSON information ([#649](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/649) by [@eamodio](https://github.com/eamodio))

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
@@ -16,7 +16,7 @@
1616
"main": "lib/index.js",
1717
"bin": "lib/bin/analyzer.js",
1818
"engines": {
19-
"node": ">= 16.20.2"
19+
"node": ">= 20.9.0"
2020
},
2121
"packageManager": "npm@6.14.8",
2222
"scripts": {

0 commit comments

Comments
 (0)