Skip to content

Commit e4564b5

Browse files
committed
chore(deps): update node.js to v22
1 parent f3fbbab commit e4564b5

File tree

95 files changed

+774
-352
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+774
-352
lines changed

packages/auto-approve/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Use the official lightweight Node.js 14 image.
1818
# https://hub.docker.com/_/node
19-
FROM node:18.20.5-slim AS BUILD
19+
FROM node:22.12.0-slim AS BUILD
2020

2121
# Create and change to the app directory.
2222
WORKDIR /usr/src/app
@@ -34,7 +34,7 @@ COPY . ./
3434

3535
RUN npm run compile
3636

37-
FROM node:18.20.5-slim
37+
FROM node:22.12.0-slim
3838

3939
# Remove unnecessary cross-spawn from npm to resolve CVE-2024-21538
4040
RUN rm -r /usr/local/lib/node_modules/npm/node_modules/cross-spawn/

packages/auto-approve/package-lock.json

+23-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/auto-approve/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@octokit/webhooks-definitions": "^3.67.3",
4141
"@probot/octokit-plugin-config": "^1.1.6",
4242
"@types/mocha": "^10.0.0",
43-
"@types/node": "^18.7.15",
43+
"@types/node": "^22.0.0",
4444
"@types/sinon": "^10.0.13",
4545
"c8": "^7.12.0",
4646
"cross-env": "^7.0.3",

packages/auto-label/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Use the official lightweight Node.js 14 image.
1818
# https://hub.docker.com/_/node
19-
FROM node:18.20.5-slim AS BUILD
19+
FROM node:22.12.0-slim AS BUILD
2020

2121
# Create and change to the app directory.
2222
WORKDIR /usr/src/app
@@ -34,7 +34,7 @@ COPY . ./
3434

3535
RUN npm run compile
3636

37-
FROM node:18.20.5-slim
37+
FROM node:22.12.0-slim
3838

3939
# Remove unnecessary cross-spawn from npm to resolve CVE-2024-21538
4040
RUN rm -r /usr/local/lib/node_modules/npm/node_modules/cross-spawn/

packages/auto-label/package-lock.json

+23-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/auto-label/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"devDependencies": {
3838
"@octokit/types": "^8.0.0",
3939
"@types/mocha": "^10.0.0",
40-
"@types/node": "^18.7.15",
40+
"@types/node": "^22.0.0",
4141
"@types/sinon": "^10.0.13",
4242
"c8": "^7.12.0",
4343
"cross-env": "^7.0.3",

packages/blunderbuss/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Use the official lightweight Node.js 14 image.
1818
# https://hub.docker.com/_/node
19-
FROM node:18.20.5-slim AS BUILD
19+
FROM node:22.12.0-slim AS BUILD
2020

2121
# Create and change to the app directory.
2222
WORKDIR /usr/src/app
@@ -34,7 +34,7 @@ COPY . ./
3434

3535
RUN npm run compile
3636

37-
FROM node:18.20.5-slim
37+
FROM node:22.12.0-slim
3838

3939
# Remove unnecessary cross-spawn from npm to resolve CVE-2024-21538
4040
RUN rm -r /usr/local/lib/node_modules/npm/node_modules/cross-spawn/

packages/blunderbuss/package-lock.json

+23-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/blunderbuss/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@octokit/types": "^8.0.0",
3939
"@octokit/webhooks": "^10.1.5",
4040
"@types/mocha": "^10.0.0",
41-
"@types/node": "^18.7.13",
41+
"@types/node": "^22.0.0",
4242
"@types/sinon": "^10.0.13",
4343
"c8": "^7.12.0",
4444
"cross-env": "^7.0.3",

packages/bot-config-utils/package-lock.json

+23-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bot-config-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"devDependencies": {
2727
"@octokit/types": "^8.0.0",
2828
"@types/mocha": "^10.0.0",
29-
"@types/node": "^18.7.15",
29+
"@types/node": "^22.0.0",
3030
"@types/sinon": "^10.0.13",
3131
"c8": "^7.12.0",
3232
"cross-env": "^7.0.3",

packages/canary-bot/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Use the official lightweight Node.js 14 image.
1818
# https://hub.docker.com/_/node
19-
FROM node:18.20.5-slim AS BUILD
19+
FROM node:22.12.0-slim AS BUILD
2020

2121
# Create and change to the app directory.
2222
WORKDIR /usr/src/app
@@ -34,7 +34,7 @@ COPY . ./
3434

3535
RUN npm run compile
3636

37-
FROM node:18.20.5-slim
37+
FROM node:22.12.0-slim
3838

3939
# Remove unnecessary cross-spawn from npm to resolve CVE-2024-21538
4040
RUN rm -r /usr/local/lib/node_modules/npm/node_modules/cross-spawn/

0 commit comments

Comments
 (0)