Skip to content

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

chore(frontend): upgrade Biome from 2.3.14 to 2.4.4 (#19386)

boojack39a4339ef5fe
diff --git a/frontend/biome.json b/frontend/biome.json
index 943767407c..3361e3325d 100644
--- a/frontend/biome.json
+++ b/frontend/biome.json
@@ -1,5 +1,5 @@
{
- "$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
+ "$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": {
"ignoreUnknown": true,
@@ -22,12 +22,16 @@
"rules": {
"recommended": false,
"complexity": {
+ "noUselessCatchBinding": "error",
"noUselessEscapeInRegex": "error",
"noUselessTypeConstraint": "error"
},
"correctness": {
"noEmptyPattern": "error",
- "noUnusedVariables": "error"
+ "noUnusedVariables": "error",
+ "noVueReservedKeys": "error",
+ "noVueReservedProps": "error",
+ "noVueSetupPropsReactivityLoss": "error"
},
"nursery": {
"noForIn": "error",
@@ -62,6 +66,7 @@
"options": { "allow": ["warn", "error", "debug", "assert", "log"] }
},
"noDebugger": "error",
+ "noDeprecatedImports": "error",
"noExplicitAny": "error",
"noExtraNonNullAssertion": "error",
"noMisleadingInstantiator": "error",
diff --git a/frontend/package.json b/frontend/package.json
index c62064c567..f3f8e67158 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -78,7 +78,7 @@
"vueuc": "0.4.65"
},
"devDependencies": {
- "@biomejs/biome": "2.3.14",
+ "@biomejs/biome": "2.4.4",
"@codingame/esbuild-import-meta-url-plugin": "^1.0.3",
"@iconify/json": "2.2.437",
"@intlify/eslint-plugin-vue-i18n": "^4.0.0",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 9dcc46fcdd..e33ed61956 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -194,8 +194,8 @@ importers:
devDependencies:
'@biomejs/biome':
- specifier: 2.3.14
- version: 2.3.14
+ specifier: 2.4.4
+ version: 2.4.4
'@codingame/esbuild-import-meta-url-plugin':
specifier: ^1.0.3
version: 1.0.3
@@ -910,55 +910,55 @@ packages:
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
engines: {node: '>=6.9.0'}
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-QMT6QviX0WqXJCaiqVMiBUCr5WRQ1iFSjvOLoTk6auKukJMvnMzWucXpwZB0e8F00/1/BsS9DzcKgWH+CLqVuA==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-tigwWS5KfJf0cABVd52NVaXyAVv4qpUXOWJ1rxFL8xF1RVoeS2q/LK+FHgYoKMclJCuRoCWAPy1IXaN9/mS61Q==}
engines: {node: '>=14.21.3'}
hasBin: true
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-UJGPpvWJMkLxSRtpCAKfKh41Q4JJXisvxZL8ChN1eNW3m/WlPFJ6EFDCE7YfUb4XS8ZFi3C1dFpxUJ0Ety5n+A==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-jZ+Xc6qvD6tTH5jM6eKX44dcbyNqJHssfl2nnwT6vma6B1sj7ZLTGIk6N5QwVBs5xGN52r3trk5fgd3sQ9We9A==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-PNkLNQG6RLo8lG7QoWe/hhnMxJIt1tEimoXpGQjwS/dkdNiKBLPv4RpeQl8o3s1OKI3ZOR5XPiYtmbGGHAOnLA==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-Dh1a/+W+SUCXhEdL7TiX3ArPTFCQKJTI1mGncZNWfO+6suk+gYA4lNyJcBB+pwvF49uw0pEbUS49BgYOY4hzUg==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-LInRbXhYujtL3sH2TMCH/UBwJZsoGwfQjBrMfl84CD4hL/41C/EU5mldqf1yoFpsI0iPWuU83U+nB2TUUypWeg==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-+sPAXq3bxmFwhVFJnSwkSF5Rw2ZAJMH3MF6C9IveAEOdSpgajPhoQhbbAK12SehN9j2QrHpk4J/cHsa/HqWaYQ==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-KT67FKfzIw6DNnUNdYlBg+eU24Go3n75GWK6NwU4+yJmDYFe9i/MjiI+U/iEzKvo0g7G7MZqoyrhIYuND2w8QQ==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-V/NFfbWhsUU6w+m5WYbBenlEAz8eYnSqRMDMAW3K+3v0tYVkNyZn8VU0XPxk/lOqNXLSCCrV7FmV/u3SjCBShg==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-KQU7EkbBBuHPW3/rAcoiVmhlPtDSGOGRPv9js7qJVpYTzjQmVR+C9Rfcz+ti8YCH+zT1J52tuBybtP4IodjxZQ==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-gGvFTGpOIQDb5CQ2VC0n9Z2UEqlP46c4aNgHmAMytYieTGEcfqhfCFnhs6xjt0S3igE6q5GLuIXtdQt3Izok+g==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-ZsZzQsl9U+wxFrGGS4f6UxREUlgHwmEfu1IrXlgNFrNnd5Th6lIJr8KmSzu/+meSa9f4rzFrbEW9LBBA6ScoMA==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-R4+ZCDtG9kHArasyBO+UBD6jr/FcFCTH8QkNTOCu0pRJzCWyWC4EtZa2AmUZB5h3e0jD7bRV2KvrENcf8rndBg==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-+IKYkj/pUBbnRf1G1+RlyA3LWiDgra1xpS7H2g4BuOzzRbRB+hmlw0yFsLprHhbbt7jUzbzAbAjK/Pn0FDnh1A==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-trzCqM7x+Gn832zZHgr28JoYagQNX4CZkUZhMUac2YxvvyDRLJDrb5m9IA7CaZLlX6lTQmADVfLEKP1et1Ma4Q==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-oizCjdyQ3WJEswpb3Chdngeat56rIdSYK12JI3iI11Mt5T5EXcZ7WLuowzEaFPNJ3zmOQFliMN8QY1Pi+qsfdQ==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-gnOHKVPFAAPrpoPt2t+Q6FZ7RPry/FDV3GcpU53P3PtLNnQjBmKyN2Vh/JtqXet+H4pme8CC76rScwdjDcT1/A==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
@@ -5550,39 +5550,39 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optionalDependencies:
- '@biomejs/cli-darwin-arm64': 2.3.14
- '@biomejs/cli-darwin-x64': 2.3.14
- '@biomejs/cli-linux-arm64': 2.3.14
- '@biomejs/cli-linux-arm64-musl': 2.3.14
- '@biomejs/cli-linux-x64': 2.3.14
- '@biomejs/cli-linux-x64-musl': 2.3.14
- '@biomejs/cli-win32-arm64': 2.3.14
- '@biomejs/cli-win32-x64': 2.3.14
-
- '@biomejs/[email protected]':
+ '@biomejs/cli-darwin-arm64': 2.4.4
+ '@biomejs/cli-darwin-x64': 2.4.4
+ '@biomejs/cli-linux-arm64': 2.4.4
+ '@biomejs/cli-linux-arm64-musl': 2.4.4
+ '@biomejs/cli-linux-x64': 2.4.4
+ '@biomejs/cli-linux-x64-musl': 2.4.4
+ '@biomejs/cli-win32-arm64': 2.4.4
+ '@biomejs/cli-win32-x64': 2.4.4
+
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optional: true
'@buf/googleapis_googleapis.bufbuild_es@2.10.2-20251126203132-004180b77378.1(@bufbuild/[email protected])':
diff --git a/frontend/src/store/modules/sqlEditor/webTerminal.ts b/frontend/src/store/modules/sqlEditor/webTerminal.ts
index 8575a0fbba..b6ce96bdf8 100644
--- a/frontend/src/store/modules/sqlEditor/webTerminal.ts
+++ b/frontend/src/store/modules/sqlEditor/webTerminal.ts
@@ -4,7 +4,7 @@ import Emittery from "emittery";
import { cloneDeep, uniqueId } from "lodash-es";
import { defineStore } from "pinia";
import type { Subscription } from "rxjs";
-import { fromEventPattern, map, Observable } from "rxjs";
+import { fromEventPattern, Observable } from "rxjs";
import { markRaw, ref, shallowRef } from "vue";
import { useCancelableTimeout } from "@/composables/useCancelableTimeout";
import { refreshTokens } from "@/connect/refreshToken";
@@ -115,7 +115,6 @@ const createStreamingQueryController = () => {
const connect = (
initialRequest: AdminExecuteRequest | undefined = undefined
) => {
- const request$ = input$.pipe(map((params) => mapRequest(params)));
const abortController = new AbortController();
const url = new URL(`${window.location.origin}${ENDPOINT}`);
@@ -137,9 +136,9 @@ const createStreamingQueryController = () => {
if (initialRequest) {
send(initialRequest);
}
- requestSubscription = request$.subscribe({
- next(request) {
- send(request);
+ requestSubscription = input$.subscribe({
+ next(params) {
+ send(mapRequest(params));
},
});
});