Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(deps): update node.js to v20.12.2 (#11728)

renovate[bot]4aa3585a836a
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.yml
index 4f3a490e09..d35360e62f 100644
--- a/.github/workflows/build-artifacts-and-draft-release.yml
+++ b/.github/workflows/build-artifacts-and-draft-release.yml
@@ -18,7 +18,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.0"
+ node-version: "20.12.2"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/build-push-ci-image-depot.yml b/.github/workflows/build-push-ci-image-depot.yml
index 50d8c34e36..1af3f08e5a 100644
--- a/.github/workflows/build-push-ci-image-depot.yml
+++ b/.github/workflows/build-push-ci-image-depot.yml
@@ -26,7 +26,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.0"
+ node-version: "20.12.2"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/build-push-release-image.yml b/.github/workflows/build-push-release-image.yml
index 72524e4395..15265e6155 100644
--- a/.github/workflows/build-push-release-image.yml
+++ b/.github/workflows/build-push-release-image.yml
@@ -28,7 +28,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.0"
+ node-version: "20.12.2"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml
index 15dc0dec84..f32d5de7a2 100644
--- a/.github/workflows/frontend-tests.yml
+++ b/.github/workflows/frontend-tests.yml
@@ -22,7 +22,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.0"
+ node-version: "20.12.2"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
@@ -43,7 +43,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.0"
+ node-version: "20.12.2"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/frontend/package.json b/frontend/package.json
index 2dcfa668d8..1cab6ac9e8 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -104,7 +104,7 @@
"@types/jsdom": "21.1.6",
"@types/lodash-es": "4.17.12",
"@types/markdown-it": "^14.0.0",
- "@types/node": "20.12.2",
+ "@types/node": "20.12.7",
"@types/normalize-wheel": "^1.0.4",
"@types/papaparse": "5.3.14",
"@types/pouchdb": "^6.4.2",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 80b3b98a85..334eba99dc 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -218,10 +218,10 @@ importers:
version: 1.10.2
'@tailwindcss/forms':
specifier: 0.5.7
'@tailwindcss/typography':
specifier: 0.5.12
'@trivago/prettier-plugin-sort-imports':
specifier: ^4.3.0
version: 4.3.0(@vue/[email protected])([email protected])
@@ -256,8 +256,8 @@ importers:
specifier: ^14.0.0
version: 14.0.1
'@types/node':
- specifier: 20.12.2
- version: 20.12.2
+ specifier: 20.12.7
+ version: 20.12.7
'@types/normalize-wheel':
specifier: ^1.0.4
version: 1.0.4
@@ -308,10 +308,10 @@ importers:
version: 0.12.0
'@vitejs/plugin-vue':
specifier: 5.0.4
'@vitejs/plugin-vue-jsx':
specifier: 3.1.0
'@vue/compiler-sfc':
specifier: 3.4.23
version: 3.4.23
@@ -377,10 +377,10 @@ importers:
version: 4.14.3
tailwindcss:
specifier: 3.4.3
ts-node:
specifier: ^10.9.2
- version: 10.9.2(@types/[email protected])([email protected])
+ version: 10.9.2(@types/[email protected])([email protected])
ts-proto:
specifier: ^1.165.1
version: 1.172.0
@@ -395,13 +395,13 @@ importers:
vite:
specifier: 5.2.9
- version: 5.2.9(@types/[email protected])([email protected])
+ version: 5.2.9(@types/[email protected])([email protected])
vite-bundle-visualizer:
specifier: ^1.0.1
version: 1.1.0([email protected])
vitest:
specifier: 1.5.0
vue-i18n:
specifier: 9.13.0
@@ -1229,8 +1229,8 @@ packages:
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
- '@types/[email protected]':
- resolution: {integrity: sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==}
resolution: {integrity: sha512-iclKEmOclXH2LGVkMkdal0+ffJphB3kbazakec96z1hW/CfJYmsZNFYLAmkpzePxKoKewXp2HSlsN6G4SG0b0g==}
@@ -4853,18 +4853,18 @@ snapshots:
dependencies:
clipboard: 2.0.11
dependencies:
mini-svg-data-uri: 1.4.4
dependencies:
lodash.castarray: 4.4.0
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
postcss-selector-parser: 6.0.10
'@tanstack/[email protected]': {}
@@ -4923,7 +4923,7 @@ snapshots:
dependencies:
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
'@types/tough-cookie': 4.0.5
parse5: 7.1.2
@@ -4954,7 +4954,7 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
undici-types: 5.26.5
@@ -4962,7 +4962,7 @@ snapshots:
dependencies:
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
'@types/[email protected]': {}
@@ -5067,7 +5067,7 @@ snapshots:
dependencies:
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
'@types/[email protected]': {}
@@ -5181,19 +5181,19 @@ snapshots:
'@vicons/[email protected]': {}
dependencies:
'@babel/core': 7.24.4
'@babel/plugin-transform-typescript': 7.24.4(@babel/[email protected])
'@vue/babel-plugin-jsx': 1.2.2(@babel/[email protected])
- vite: 5.2.9(@types/[email protected])([email protected])
+ vite: 5.2.9(@types/[email protected])([email protected])
vue: 3.4.23([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
- vite: 5.2.9(@types/[email protected])([email protected])
+ vite: 5.2.9(@types/[email protected])([email protected])
vue: 3.4.23([email protected])
'@vitest/[email protected]':
@@ -7075,13 +7075,13 @@ snapshots:
camelcase-css: 2.0.1
postcss: 8.4.38
dependencies:
lilconfig: 3.1.1
yaml: 2.4.1
optionalDependencies:
postcss: 8.4.38
- ts-node: 10.9.2(@types/[email protected])([email protected])
+ ts-node: 10.9.2(@types/[email protected])([email protected])
dependencies:
@@ -7229,7 +7229,7 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
long: 5.2.3
@@ -7542,7 +7542,7 @@ snapshots:
'@pkgr/core': 0.1.1
tslib: 2.6.2
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -7561,7 +7561,7 @@ snapshots:
postcss: 8.4.38
postcss-import: 15.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.1([email protected])
postcss-selector-parser: 6.0.16
resolve: 1.22.8
@@ -7631,14 +7631,14 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
acorn: 8.11.3
acorn-walk: 8.3.2
arg: 4.1.3
@@ -7770,13 +7770,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
cac: 6.7.14
debug: 4.3.4
pathe: 1.1.2
picocolors: 1.0.0
- vite: 5.2.9(@types/[email protected])([email protected])
+ vite: 5.2.9(@types/[email protected])([email protected])
transitivePeerDependencies:
- '@types/node'
- less
@@ -7787,17 +7787,17 @@ snapshots:
- supports-color
- terser
dependencies:
esbuild: 0.20.2
postcss: 8.4.38
rollup: 4.14.3
optionalDependencies:
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
fsevents: 2.3.3
sass: 1.75.0
dependencies:
'@vitest/expect': 1.5.0
'@vitest/runner': 1.5.0
@@ -7816,11 +7816,11 @@ snapshots:
strip-literal: 2.1.0
tinybench: 2.7.0
tinypool: 0.8.4
- vite: 5.2.9(@types/[email protected])([email protected])
- vite-node: 1.5.0(@types/[email protected])([email protected])
+ vite: 5.2.9(@types/[email protected])([email protected])
+ vite-node: 1.5.0(@types/[email protected])([email protected])
why-is-node-running: 2.2.2
optionalDependencies:
- '@types/node': 20.12.2
+ '@types/node': 20.12.7
jsdom: 24.0.0
transitivePeerDependencies:
- less
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 593dd1bea4..171b9686ec 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -5,7 +5,7 @@
# $ docker run --init --rm --name bytebase --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase
-FROM node:20.12.0 as frontend
+FROM node:20.12.2 as frontend
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.aws
index 537abeeb3e..e18833b729 100644
--- a/scripts/Dockerfile.aws
+++ b/scripts/Dockerfile.aws
@@ -5,7 +5,7 @@
# $ docker run --init --rm --name bytebase --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase
-FROM node:20.12.0 as frontend
+FROM node:20.12.2 as frontend
ARG TARGETARCH
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demo
index a0b18bde86..e6834fd305 100644
--- a/scripts/Dockerfile.render-demo
+++ b/scripts/Dockerfile.render-demo
@@ -1,6 +1,6 @@
# This script is for PR preview and demo.bytebase.com on Render ONLY.
-FROM node:20.12.0 as frontend
+FROM node:20.12.2 as frontend
# RENDER_GIT_COMMIT is a render.com provided env var during build.
# https://render.com/docs/environment-variables
diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.sh
index 590cf58ee0..fd388c5f08 100755
--- a/scripts/build_bytebase.sh
+++ b/scripts/build_bytebase.sh
@@ -20,9 +20,9 @@ then
fi
NODE_VERSION=`node -v | { read v; echo ${v#v}; }`
-if [ "$(version ${NODE_VERSION})" -lt "$(version 20.12.0)" ];
+if [ "$(version ${NODE_VERSION})" -lt "$(version 20.12.2)" ];
then
- echo "${RED}Precheck failed.${NC} Require node.js version >= 20.12.0. Current version ${NODE_VERSION}."; exit 1;
+ echo "${RED}Precheck failed.${NC} Require node.js version >= 20.12.2. Current version ${NODE_VERSION}."; exit 1;
fi
if ! command -v npm > /dev/null