Skip to content

Commit 5b60a95

Browse files
authored
feat!: Support Node 18, 20, and 22 (#1928)
* feat: Support Node 18, 20, & 22 * chore: dep clean-up
1 parent 974d67a commit 5b60a95

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.github/sync-repo-settings.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ branchProtectionRules:
88
- "ci/kokoro: Samples test"
99
- "ci/kokoro: System test"
1010
- lint
11-
- test (14)
12-
- test (16)
1311
- test (18)
12+
- test (20)
13+
- test (22)
1414
- cla/google
1515
- windows
1616
- OwlBot Post Processor

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [14, 16, 18, 20]
12+
node: [18, 20, 22]
1313
steps:
1414
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1515
- uses: actions/setup-node@v4
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3333
- uses: actions/setup-node@v4
3434
with:
35-
node-version: 14
35+
node-version: 18
3636
- run: npm install
3737
- run: npm test
3838
env:
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4444
- uses: actions/setup-node@v4
4545
with:
46-
node-version: 14
46+
node-version: 18
4747
- run: npm install
4848
- run: npm run lint
4949
docs:

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Google Inc.",
55
"description": "Google APIs Authentication Client Library for Node.js",
66
"engines": {
7-
"node": ">=14"
7+
"node": ">=18"
88
},
99
"main": "./build/src/index.js",
1010
"types": "./build/src/index.d.ts",
@@ -36,9 +36,7 @@
3636
"assert-rejects": "^1.0.0",
3737
"c8": "^8.0.0",
3838
"chai": "^4.2.0",
39-
"cheerio": "1.0.0-rc.12",
4039
"codecov": "^3.0.2",
41-
"engine.io": "6.6.2",
4240
"gts": "^5.0.0",
4341
"is-docker": "^2.0.0",
4442
"jsdoc": "^4.0.0",
@@ -52,13 +50,12 @@
5250
"karma-sourcemap-loader": "^0.4.0",
5351
"karma-webpack": "5.0.0",
5452
"keypair": "^1.0.4",
55-
"linkinator": "^4.0.0",
53+
"linkinator": "^6.1.2",
5654
"mocha": "^9.2.2",
5755
"mv": "^2.1.1",
5856
"ncp": "^2.0.0",
5957
"nock": "^13.0.0",
6058
"null-loader": "^4.0.0",
61-
"pdfmake": "0.2.12",
6259
"puppeteer": "^21.0.0",
6360
"sinon": "^18.0.0",
6461
"ts-loader": "^8.0.0",

samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "mocha --timeout 60000"
1010
},
1111
"engines": {
12-
"node": ">=14"
12+
"node": ">=18"
1313
},
1414
"license": "Apache-2.0",
1515
"dependencies": {

0 commit comments

Comments
 (0)