Skip to content

Commit a00ac50

Browse files
committed
fix(security): upgrade Node.js to 22.22.0 for security vulnerability fix
Addresses Node.js security release CVE-2025-xxx affecting RSC and APM tools.
1 parent 0245155 commit a00ac50

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.circleci/config.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2.1
77
# Base configurations
88
default_image: &default_image
99
docker:
10-
- image: cimg/node:22.14.0
10+
- image: cimg/node:22.22.0
1111

1212
default_resource_class: &default_resource_class
1313
resource_class: medium
@@ -244,13 +244,13 @@ commands:
244244
windows_set_node_version:
245245
parameters:
246246
version:
247-
default: 22.14.0
247+
default: 22.22.0
248248
type: string
249249
steps:
250250
- run: choco upgrade nvm -y
251251
- run: nvm -v
252-
- run: nvm install 22.14.0
253-
- run: nvm use 22.14.0
252+
- run: nvm install 22.22.0
253+
- run: nvm use 22.22.0
254254
- run: node -v
255255

256256
windows_add_bvm_to_path:
@@ -290,7 +290,7 @@ commands:
290290
default: 'BASE_IMAGE'
291291
type: string
292292
docker_build_base_image_arg_value:
293-
default: 'node:22.14.0'
293+
default: 'node:22.22.0'
294294
type: string
295295
image_name:
296296
default: 'bitcli/bit'
@@ -323,7 +323,7 @@ commands:
323323
default: 'BASE_IMAGE'
324324
type: string
325325
docker_build_base_image_arg_value:
326-
default: 'node:22.14.0'
326+
default: 'node:22.22.0'
327327
type: string
328328
image_name:
329329
default: 'bitcli/bit'
@@ -975,8 +975,8 @@ jobs:
975975
- attach_workspace:
976976
at: ./
977977
- docker_build_and_push:
978-
docker_build_base_image_arg_value: "node:22.14.0"
979-
docker_tag_suffix: "-node-22.14.0"
978+
docker_build_base_image_arg_value: "node:22.22.0"
979+
docker_tag_suffix: "-node-22.22.0"
980980

981981
docker_non_root_build_node_22:
982982
machine:
@@ -985,10 +985,10 @@ jobs:
985985
- attach_workspace:
986986
at: ./
987987
- docker_build_and_push:
988-
docker_build_base_image_arg_value: "node:22.14.0"
988+
docker_build_base_image_arg_value: "node:22.22.0"
989989
image_name: "bitcli/bit-non-root"
990990
docker_file_name: "Dockerfile-bit-non-root"
991-
docker_tag_suffix: "-node-22.14.0"
991+
docker_tag_suffix: "-node-22.22.0"
992992

993993
docker_build_alpine:
994994
machine:
@@ -997,10 +997,10 @@ jobs:
997997
- attach_workspace:
998998
at: ./
999999
- docker_build_and_push:
1000-
docker_build_base_image_arg_value: "node:22.14.0-alpine"
1000+
docker_build_base_image_arg_value: "node:22.22.0-alpine"
10011001
# image_name: "bitcli/bit-alpine"
10021002
docker_file_name: "Dockerfile-bit-alpine"
1003-
docker_tag_suffix: "-alpine-node-22.14.0"
1003+
docker_tag_suffix: "-alpine-node-22.22.0"
10041004

10051005
server_docker_build_node_22:
10061006
machine:
@@ -1009,10 +1009,10 @@ jobs:
10091009
- attach_workspace:
10101010
at: ./
10111011
- docker_build_and_push:
1012-
docker_build_base_image_arg_value: "`npm show @teambit/bit version`-node-22.14.0"
1012+
docker_build_base_image_arg_value: "`npm show @teambit/bit version`-node-22.22.0"
10131013
image_name: "bitcli/bit-server"
10141014
docker_file_name: "Dockerfile-bit-server"
1015-
docker_tag_suffix: "-node-22.14.0"
1015+
docker_tag_suffix: "-node-22.22.0"
10161016

10171017
# ========== Windows Jobs ==========
10181018
windows_checkout_code:
@@ -1159,9 +1159,9 @@ jobs:
11591159
# - run: node -v
11601160
# - run: npm -v
11611161
# - run: yarn -v
1162-
# # - run: choco install nodejs --version 22.14.0
1162+
# # - run: choco install nodejs --version 22.22.0
11631163
# # - run: node -v
1164-
# - run: cinst nodejs --version 22.14.0
1164+
# - run: cinst nodejs --version 22.22.0
11651165
# - run: node -v
11661166

11671167
# ========================================

workspace.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@
700700
"uri-js": "npm:uri-js-replace",
701701
"encoding": "-"
702702
},
703-
"nodeVersion": "22.14.0",
703+
"nodeVersion": "22.22.0",
704704
"engineStrict": true,
705705
// This is a temporary workaround to fix "bit compile" on macOS and Windows.
706706
// "bit compile" breaks node_modules when hard links are used.
@@ -779,7 +779,7 @@
779779
"packageJson": {
780780
"name": "@teambit/{name}", // @teambit/discovery.ui.sidebar
781781
"bvm": {
782-
"node": "22.14.0"
782+
"node": "22.22.0"
783783
},
784784
"engines": {
785785
"node": ">=18.12.0"

0 commit comments

Comments
 (0)