Skip to content

Commit 176e871

Browse files
Merge pull request #196 from frontegg/node-upgrade
upgrade Node support to 22+ and fixed errors/warnings
2 parents 87268f1 + eeb082c commit 176e871

11 files changed

Lines changed: 13116 additions & 9246 deletions

File tree

.github/workflows/_build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [14.x, 16.x, 17.x, 18.x]
11+
node-version: [22.x, 24.x]
1212

1313
steps:
1414
- uses: actions/checkout@v3

.github/workflows/_lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v3
1010
- uses: actions/setup-node@v3
1111
with:
12-
node-version: 16
12+
node-version: 22
1313
cache: 'npm'
1414

1515
- name: Install Dependencies

.github/workflows/_pre-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
- uses: actions/setup-node@v3
1212
with:
13-
node-version: 18
13+
node-version: 22
1414

1515
- name: Install Dependencies
1616
env:

.github/workflows/on-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Vulnerabilities check
2020
uses: frontegg/workflows/.github/shared-actions/vulnerabilities-check@master
2121
with:
22-
node_version: '18'
22+
node_version: '22'
2323

2424
call-lint:
2525
uses: ./.github/workflows/_lint.yaml

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
git config --global user.email "${{ github.event.pusher.email }}"
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_REPO_TOKEN }}
25-
- name: Use Node.js 18
25+
- name: Use Node.js 22
2626
uses: actions/setup-node@v3
2727
with:
28-
node-version: '18'
28+
node-version: '22'
2929
cache: 'npm'
3030

3131
- name: Install

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
* ### As of version 3.0.0 and 4.0.0, we will no longer provide proxy middlewares
2929
* ### As of version 5.0.0, node 12 is no longer supported.
30+
* ### As of version 2.0.17, node 22+ is required.
3031

3132
To see an example implementation, head over to our
3233
<a href="https://github.com/frontegg-samples/nodejs-proxy-sample">sample proxy project</a>
@@ -38,7 +39,7 @@ To see an example implementation, head over to our
3839
Install the package using [npm](https://www.npmjs.com/)
3940

4041
```bash
41-
# node 14+
42+
# node 22+
4243
npm install @frontegg/client
4344
```
4445

0 commit comments

Comments
 (0)