Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(deps): update node.js to v20.12.0 (#11454)
renovate[bot]464cf778b9ec
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.ymlindex 54df1054ef..46cac6e072 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: 8.12.1- uses: actions/setup-node@v4with:- node-version: "20.11.1"+ node-version: "20.12.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/.github/workflows/build-push-ci-image-depot.yml b/.github/workflows/build-push-ci-image-depot.ymlindex 710320238d..3a9423c18e 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: 8.12.1- uses: actions/setup-node@v4with:- node-version: "20.11.1"+ node-version: "20.12.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/.github/workflows/build-push-release-image.yml b/.github/workflows/build-push-release-image.ymlindex 38d991c90f..7aa3fe242c 100644--- a/.github/workflows/build-push-release-image.yml+++ b/.github/workflows/build-push-release-image.yml@@ -28,7 +28,7 @@ jobs:version: 8.12.1- uses: actions/setup-node@v4with:- node-version: "20.11.1"+ node-version: "20.12.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.ymlindex 7345c2082c..53010bf3bb 100644--- a/.github/workflows/frontend-tests.yml+++ b/.github/workflows/frontend-tests.yml@@ -22,7 +22,7 @@ jobs:version: 8.12.1- uses: actions/setup-node@v4with:- node-version: "20.11.1"+ node-version: "20.12.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfile@@ -43,7 +43,7 @@ jobs:version: 8.12.1- uses: actions/setup-node@v4with:- node-version: "20.11.1"+ node-version: "20.12.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/frontend/package.json b/frontend/package.jsonindex a080b64c62..1918179cbb 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -105,7 +105,7 @@"@types/jsdom": "21.1.6","@types/lodash-es": "4.17.12","@types/markdown-it": "^13.0.7",- "@types/node": "20.11.29",+ "@types/node": "20.12.2","@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.yamlindex f8aebf5d86..e2224b530b 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -260,8 +260,8 @@ devDependencies:specifier: ^13.0.7version: 13.0.7'@types/node':- specifier: 20.11.29- version: 20.11.29+ specifier: 20.12.2+ version: 20.12.2'@types/normalize-wheel':specifier: ^1.0.4version: 1.0.4@@ -393,13 +393,13 @@ devDependencies:version: 0.26.0([email protected])([email protected])vite:specifier: 5.2.7- version: 5.2.7(@types/[email protected])+ version: 5.2.7(@types/[email protected])vite-bundle-visualizer:specifier: ^1.0.1version: 1.1.0([email protected])vitest:specifier: 1.4.0- version: 1.4.0(@types/[email protected])([email protected])+ version: 1.4.0(@types/[email protected])([email protected])vue-i18n:specifier: 9.10.2version: 9.10.2([email protected])@@ -1795,7 +1795,7 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-/7kkMsC+/kMs7gAYmmBR9P0vGTnOoLhQhyhQJSlXGI5bzTHp6xdo0TtKWQAsz6pmSAeVqKSbqeyP6hytqr9FDw==}dependencies:- '@types/node': 20.11.29+ '@types/node': 20.12.2'@types/tough-cookie': 4.0.5parse5: 7.1.2dev: true@@ -1842,8 +1842,8 @@ packages:resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}dev: true- /@types/[email protected]:- resolution: {integrity: sha512-P99thMkD/1YkCvAtOd6/zGedKNA0p2fj4ZpjCzcNiSCBWgm3cNRTBfa/qjFnsKkkojxu4vVLtWpesnZ9+ap+gA==}+ /@types/[email protected]:+ resolution: {integrity: sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==}dependencies:undici-types: 5.26.5@@ -1854,7 +1854,7 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-LxJ4iEFcpqc6METwp9f6BV6VVc43m6MfH0VqFosHvrUgfXiFe6ww7R3itkOQ+TCK6Y+Iv/+RnnvtRZnkc5Kc9g==}dependencies:- '@types/node': 20.11.29+ '@types/node': 20.12.2dev: true/@types/[email protected]:@@ -1996,7 +1996,7 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-CdfBi/e3Qk+3Z/fXYShipBT13OJ2fDO2Q2w5CIP5anLTLIndQG9z6P1cnm+8zCWSpm5dnxMFd/uREtb0EXuQzg==}dependencies:- '@types/node': 20.11.29+ '@types/node': 20.12.2dev: true/@types/[email protected]:@@ -2191,7 +2191,7 @@ packages:'@babel/core': 7.24.0'@babel/plugin-transform-typescript': 7.23.6(@babel/[email protected])'@vue/babel-plugin-jsx': 1.2.1(@babel/[email protected])- vite: 5.2.7(@types/[email protected])+ vite: 5.2.7(@types/[email protected])vue: 3.4.21([email protected])transitivePeerDependencies:- supports-color@@ -2204,7 +2204,7 @@ packages:vite: ^5.0.0vue: ^3.2.25dependencies:- vite: 5.2.7(@types/[email protected])+ vite: 5.2.7(@types/[email protected])vue: 3.4.21([email protected])dev: true@@ -5732,7 +5732,7 @@ packages:'@protobufjs/path': 1.1.2'@protobufjs/pool': 1.1.0'@protobufjs/utf8': 1.1.0- '@types/node': 20.11.29+ '@types/node': 20.12.2long: 5.2.3@@ -6633,7 +6633,7 @@ packages:- supports-colordev: true- /[email protected](@types/[email protected]):+ /[email protected](@types/[email protected]):resolution: {integrity: sha512-VZDAseqjrHgNd4Kh8icYHWzTKSCZMhia7GyHfhtzLW33fZlG9SwsB6CEhgyVOWkJfJ2pFLrp/Gj1FSfAiqH9Lw==}engines: {node: ^18.0.0 || >=20.0.0}hasBin: true@@ -6642,7 +6642,7 @@ packages:debug: 4.3.4pathe: 1.1.2picocolors: 1.0.0- vite: 5.2.7(@types/[email protected])+ vite: 5.2.7(@types/[email protected])transitivePeerDependencies:- '@types/node'- less@@ -6654,7 +6654,7 @@ packages:- terserdev: true- /[email protected](@types/[email protected]):+ /[email protected](@types/[email protected]):resolution: {integrity: sha512-k14PWOKLI6pMaSzAuGtT+Cf0YmIx12z9YGon39onaJNy8DLBfBJrzg9FQEmkAM5lpHBZs9wksWAsyF/HkpEwJA==}engines: {node: ^18.0.0 || >=20.0.0}hasBin: true@@ -6682,7 +6682,7 @@ packages:terser:optional: truedependencies:- '@types/node': 20.11.29+ '@types/node': 20.12.2esbuild: 0.20.2postcss: 8.4.38rollup: 4.13.2@@ -6690,7 +6690,7 @@ packages:fsevents: 2.3.3dev: trueresolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==}engines: {node: ^18.0.0 || >=20.0.0}hasBin: true@@ -6715,7 +6715,7 @@ packages:jsdom:optional: truedependencies:- '@types/node': 20.11.29+ '@types/node': 20.12.2'@vitest/expect': 1.4.0'@vitest/runner': 1.4.0'@vitest/snapshot': 1.4.0@@ -6734,8 +6734,8 @@ packages:strip-literal: 2.0.0tinybench: 2.6.0tinypool: 0.8.2- vite: 5.2.7(@types/[email protected])- vite-node: 1.4.0(@types/[email protected])+ vite: 5.2.7(@types/[email protected])+ vite-node: 1.4.0(@types/[email protected])why-is-node-running: 2.2.2transitivePeerDependencies:- lessdiff --git a/scripts/Dockerfile b/scripts/Dockerfileindex 898cc0ec21..593dd1bea4 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.11.1 as frontend+FROM node:20.12.0 as frontendARG RELEASE="release"diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.awsindex 0f9faa5670..537abeeb3e 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.11.1 as frontend+FROM node:20.12.0 as frontendARG TARGETARCHARG RELEASE="release"diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demoindex c36e8c67a2..a0b18bde86 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.11.1 as frontend+FROM node:20.12.0 as frontend# RENDER_GIT_COMMIT is a render.com provided env var during build.# https://render.com/docs/environment-variablesdiff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex dc0a1d8233..590cf58ee0 100755--- a/scripts/build_bytebase.sh+++ b/scripts/build_bytebase.sh@@ -20,9 +20,9 @@ thenfiNODE_VERSION=`node -v | { read v; echo ${v#v}; }`-if [ "$(version ${NODE_VERSION})" -lt "$(version 20.11.1)" ];+if [ "$(version ${NODE_VERSION})" -lt "$(version 20.12.0)" ];then- echo "${RED}Precheck failed.${NC} Require node.js version >= 20.11.1. Current version ${NODE_VERSION}."; exit 1;+ echo "${RED}Precheck failed.${NC} Require node.js version >= 20.12.0. Current version ${NODE_VERSION}."; exit 1;fiif ! command -v npm > /dev/null