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: node 20 (#9872)
Danny Xu8a4282213554
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.ymlindex 921dd56cbc..a239cf1189 100644--- a/.github/workflows/build-artifacts-and-draft-release.yml+++ b/.github/workflows/build-artifacts-and-draft-release.yml@@ -15,10 +15,10 @@ jobs:go-version: 1.21.5- uses: pnpm/[email protected]with:- version: 8.8.0+ version: 8.12.1- uses: actions/setup-node@v3with:- node-version: "18"+ node-version: "20.10.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 144525fee3..ec57569920 100644--- a/.github/workflows/build-push-ci-image-depot.yml+++ b/.github/workflows/build-push-ci-image-depot.yml@@ -23,10 +23,10 @@ jobs:echo "BUILD_USER=$(id -u -n)" >> $GITHUB_ENV- uses: pnpm/[email protected]with:- version: 8.8.0+ version: 8.12.1- uses: actions/setup-node@v3with:- node-version: "18"+ node-version: "20.10.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 c5e8560970..489d56ab78 100644--- a/.github/workflows/build-push-release-image.yml+++ b/.github/workflows/build-push-release-image.yml@@ -25,10 +25,10 @@ jobs:echo "BUILD_USER=$(id -u -n)" >> $GITHUB_ENV- uses: pnpm/[email protected]with:- version: 8.8.0+ version: 8.12.1- uses: actions/setup-node@v3with:- node-version: "18"+ node-version: "20.10.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 80b469f0a1..41bc108696 100644--- a/.github/workflows/frontend-tests.yml+++ b/.github/workflows/frontend-tests.yml@@ -19,10 +19,10 @@ jobs:- uses: actions/checkout@v4- uses: pnpm/[email protected]with:- version: 8.8.0+ version: 8.12.1- uses: actions/setup-node@v3with:- node-version: "18"+ node-version: "20.10.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfile@@ -37,10 +37,10 @@ jobs:- uses: actions/checkout@v4- uses: pnpm/[email protected]with:- version: 8.8.0+ version: 8.12.1- uses: actions/setup-node@v3with:- node-version: "18"+ node-version: "20.10.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/frontend/package.json b/frontend/package.jsonindex 69bf3b1309..d3246ba410 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -104,7 +104,7 @@"@types/js-yaml": "4.0.9","@types/lodash-es": "4.17.9","@types/markdown-it": "^13.0.2",- "@types/node": "18.17.17",+ "@types/node": "20.10.0","@types/normalize-wheel": "^1.0.2","@types/papaparse": "5.3.8","@types/pouchdb": "^6.4.0",diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yamlindex d684c131ab..1f64553b8a 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -257,8 +257,8 @@ devDependencies:specifier: ^13.0.2version: 13.0.2'@types/node':- specifier: 18.17.17- version: 18.17.17+ specifier: 20.10.0+ version: 20.10.0'@types/normalize-wheel':specifier: ^1.0.2version: 1.0.2@@ -375,7 +375,7 @@ devDependencies:version: 0.25.2([email protected])([email protected])vite:specifier: 4.4.12- version: 4.4.12(@types/[email protected])+ version: 4.4.12(@types/[email protected])vite-bundle-visualizer:specifier: ^0.11.0version: 0.11.0([email protected])@@ -1529,8 +1529,10 @@ packages:resolution: {integrity: sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g==}dev: true- /@types/[email protected]:- resolution: {integrity: sha512-cOxcXsQ2sxiwkykdJqvyFS+MLQPLvIdwh5l6gNg8qF6s+C7XSkEWOZjK+XhUZd+mYvHV/180g2cnCcIl4l06Pw==}+ /@types/[email protected]:+ resolution: {integrity: sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ==}+ dependencies:+ undici-types: 5.26.5/@types/[email protected]:resolution: {integrity: sha512-BSGYjG5gvxXWMnYJlykd4ESHq/BZM+qQl4+6/St8KPudsP8DKl3uABRAgb729D5V6JVy2Jbrqs1VsTJLj1W8Rw==}@@ -1539,7 +1541,7 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-ArKIEOOWULbhi53wkAiRy1ze4wvrTfhpAj7Yfzva+EkmX2sV8PpFB+xqzJfzXNzK4me95FJH9QZt5NXFVGzOoQ==}dependencies:- '@types/node': 18.17.17+ '@types/node': 20.10.0dev: true/@types/[email protected]:@@ -1678,7 +1680,7 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-W4KDz75m7rJjFbyCctzCtRzZUj+PrUHV+YjqDp50sSRezTbrtEAIq2iTzC6lISARl3qw+8IlcCyljdcVJE0Wug==}dependencies:- '@types/node': 18.17.17+ '@types/node': 20.10.0dev: true/@types/[email protected]:@@ -1861,7 +1863,7 @@ packages:vite: ^4.0.0vue: ^3.2.25dependencies:- vite: 4.4.12(@types/[email protected])+ vite: 4.4.12(@types/[email protected])vue: 3.2.47dev: true@@ -4904,7 +4906,7 @@ packages:'@protobufjs/path': 1.1.2'@protobufjs/pool': 1.1.0'@protobufjs/utf8': 1.1.0- '@types/node': 18.17.17+ '@types/node': 20.10.0long: 5.2.3@@ -5538,6 +5540,9 @@ packages:resolution: {integrity: sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==}dev: true+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}+resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==}engines: {node: '>= 4.0.0'}@@ -5678,7 +5683,7 @@ packages:- supports-colordev: true- /[email protected](@types/[email protected]):+ /[email protected](@types/[email protected]):resolution: {integrity: sha512-ho8HtiLc+nsmbwZMw8SlghESEE3KxJNp04F/jPUCLVvaURwt0d+r9LxEqCX5hvrrOQ0GSyxbYr5ZfRYhQ0yVKQ==}engines: {node: '>=v14.18.0'}hasBin: true@@ -5688,7 +5693,7 @@ packages:mlly: 1.4.2pathe: 1.1.1picocolors: 1.0.0- vite: 4.4.12(@types/[email protected])+ vite: 4.4.12(@types/[email protected])transitivePeerDependencies:- '@types/node'- less@@ -5700,7 +5705,7 @@ packages:- terserdev: true- /[email protected](@types/[email protected]):+ /[email protected](@types/[email protected]):resolution: {integrity: sha512-KtPlUbWfxzGVul8Nut8Gw2Qe8sBzWY+8QVc5SL8iRFnpnrcoCaNlzO40c1R6hPmcdTwIPEDkq0Y9+27a5tVbdQ==}engines: {node: ^14.18.0 || >=16.0.0}hasBin: true@@ -5728,7 +5733,7 @@ packages:terser:optional: truedependencies:- '@types/node': 18.17.17+ '@types/node': 20.10.0esbuild: 0.18.20postcss: 8.4.31rollup: 3.29.2@@ -5769,7 +5774,7 @@ packages:dependencies:'@types/chai': 4.3.6'@types/chai-subset': 1.3.3- '@types/node': 18.17.17+ '@types/node': 20.10.0'@vitest/expect': 0.34.4'@vitest/runner': 0.34.4'@vitest/snapshot': 0.34.4@@ -5788,8 +5793,8 @@ packages:strip-literal: 1.3.0tinybench: 2.5.1tinypool: 0.7.0- vite: 4.4.12(@types/[email protected])- vite-node: 0.34.4(@types/[email protected])+ vite: 4.4.12(@types/[email protected])+ vite-node: 0.34.4(@types/[email protected])why-is-node-running: 2.2.2transitivePeerDependencies:- lessdiff --git a/frontend/src/store/modules/branch.ts b/frontend/src/store/modules/branch.tsindex b8e86d78ba..f4f0fc93cc 100644--- a/frontend/src/store/modules/branch.ts+++ b/frontend/src/store/modules/branch.ts@@ -65,7 +65,7 @@ export const useBranchStore = defineStore("schema_design", () => {return cachedEntity;}- // Avoid making duplicated requests concurrently+ // Avoid making duplicated requests concurrently.const cachedRequest = getBranchRequestCacheByName.get(name);if (cachedRequest) {return cachedRequest;diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex 8f6e227d88..6071401231 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 18.11)" ];+if [ "$(version ${NODE_VERSION})" -lt "$(version 20.10.0)" ];then- echo "${RED}Precheck failed.${NC} Require node.js version >= 18.11. Current version ${NODE_VERSION}."; exit 1;+ echo "${RED}Precheck failed.${NC} Require node.js version >= 20.10.0. Current version ${NODE_VERSION}."; exit 1;fiif ! command -v npm > /dev/null