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 dependency @biomejs/biome to v2.5.5 (#20959)
renovate[bot]535943ce0cc8
diff --git a/frontend/biome.json b/frontend/biome.jsonindex 829ff5596a..0b32e0e436 100644--- a/frontend/biome.json+++ b/frontend/biome.json@@ -1,5 +1,5 @@{- "$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",+ "$schema": "https://biomejs.dev/schemas/2.5.5/schema.json","vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },"files": {"ignoreUnknown": true,diff --git a/frontend/package.json b/frontend/package.jsonindex 18a9ba8b8f..d90c85df96 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -99,7 +99,7 @@"zustand": "^5.0.13"},"devDependencies": {- "@biomejs/biome": "2.5.3",+ "@biomejs/biome": "2.5.5","@playwright/test": "^1.59.1","@rollup/plugin-yaml": "5.0.0","@stylexjs/unplugin": "^0.19.0",diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yamlindex 543e3a96d8..56b7fc1069 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -228,8 +228,8 @@ importers:version: 5.0.14(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))devDependencies:'@biomejs/biome':- specifier: 2.5.3- version: 2.5.3+ specifier: 2.5.5+ version: 2.5.5'@playwright/test':specifier: ^1.59.1version: 1.61.1@@ -947,59 +947,59 @@ packages:'@types/react':optional: true- '@biomejs/[email protected]':- resolution: {integrity: sha512-MrJswFdei9EfDwwUy2tQrPDpK0AO+RmMFvBoaaJ6ayBc3sUbHdCE+XG5N8vp+5So41ZupZJQm0roHFFhMGVD7A==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-r1S8nFsAG1MY+vJFZALzIvwXAJv6ejDQ0mxP21Tgr9YK3ZFtjrvbBwDdNhx1rUqvccEIeNg20cYCNzl6Cr69pQ==}engines: {node: '>=14.21.3'}hasBin: true- '@biomejs/[email protected]':- resolution: {integrity: sha512-QhYP9muVQ0nUO5zztFuPbEwi4+94sJWVjaZds9aMi1l/KNZBiUjdiSUrGHsTaMGDXrYl+r4AS2sUKfgH3w+V3g==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-kUrAhXVWUrwmAUnV2iXSK7umxKFysTwvqK+Ty6ptUcLY/7T3SnCAjUowE4uvwaEej6nXZ7hu/dTtbokKdsPeag==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [darwin]- '@biomejs/[email protected]':- resolution: {integrity: sha512-NC1Ss13UaW7QZX+y8j44bF7AP0jSJdBl6iRhe0MAkvaSqZy+mWg3GaXsrb+eSoHoGDBtaXWEbMVV0iVN2cZ7cQ==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-DamiYc5bUYZ2uxlfc+RLEPtz1Abb6PO5eTbOkufLpSGwd/7AMQAdxhFYiXmwwkJL8IsT8S7GvdgwDHqaMFAvKw==}engines: {node: '>=14.21.3'}cpu: [x64]os: [darwin]- '@biomejs/[email protected]':- resolution: {integrity: sha512-fccix0w6xp6csCXgxeC0dU/3ecgRQal0y+cv2SP9ajNlhe7Yrk2Ug7UDe2j9AT9ZDYitkXpvUKgZjjuoYeP4Vg==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-U4WMl/sy/E/Q73vf15VspakLRRs2LDFcCeBxJnQfXzssb88zpV6PJPaQ3ezhQ7H6Ht2/8bvuZeHgJWzmoxllZg==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]libc: [musl]- '@biomejs/[email protected]':- resolution: {integrity: sha512-ksx1KWeyYW18ILL04msF/J4ZBtBDN33znYK8Z/aNv/vlBVxL9/g3mGP+omgHJKy4+KWbK87vcmmpmurfNjSgiA==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-lRKF/pH/1RiYiBKExi3TCZVAtvzEm77aifrvcNiDFrR9WxeAnDUjDnseb6y2XV85mjitLs6SILGm2XG77cHtSQ==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]libc: [glibc]- '@biomejs/[email protected]':- resolution: {integrity: sha512-O/yU9YKRUiHhmcjF2f38PSjseVk3G4VLWYc0G2HWpzdBVREV6G8IGWIVEFf7MFPfWIzNUIvPsEjeAZQIOgnLcQ==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-m7wC7tjX5Lrmo69dc4md8FeKpPU1NTCY1v7xUoQQ2vadWwNnBS0KZOG8471otFPHrTHihQJAjQPgMObpLvDe6A==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]libc: [musl]- '@biomejs/[email protected]':- resolution: {integrity: sha512-yMkJtilsgvILDcVkh187aVLTb64xYsrxYajx5kym+r1ULkO5HUOfu9AYKLGQbOVLwJtT2utNw7hhFNg+17mUYA==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-H/O39nJEw/2Zm/fm7hrmxxoF8kK/aU1uCoPp70ruXVbomaAdLpJJnCmL11Q2JotT8QVHH06So04Oq53lCSwSwQ==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]libc: [glibc]- '@biomejs/[email protected]':- resolution: {integrity: sha512-cX5z+GYwRcqEok0AH3KSfQGgqYd0Nomfp6Fbe1uiTtELE38hdH2k842wQ9wLNaF/JJ7r4rjJQ4VR+ce+fRmQbw==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-7BryINPuYypLUAH3o/o5ZdgomJ4zn3EDR0ChZJst7n32S6ZhKbgHXuYydLu+YAnx59ehGFR0z/MG6qnzQi3Yyw==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [win32]- '@biomejs/[email protected]':- resolution: {integrity: sha512-ExSaJWi4/u6+GXCszlSKpWSjKNbDseAYqqkCznsCsZ/4uidZ/BEqsCc5/3ctlq6dfIubdIIRSVLC/PG9xPl70Q==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-bIBFo+n6MIxdNcVFy5CrurbKiZQiUciK3bt8+O9I4wjFZNTfXLpi+giq47522eXqW5NBc9ulx7dR1SlZKi2J5g==}engines: {node: '>=14.21.3'}cpu: [x64]os: [win32]@@ -5121,39 +5121,39 @@ snapshots:optionalDependencies:'@types/react': 19.2.17- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optionalDependencies:- '@biomejs/cli-darwin-arm64': 2.5.3- '@biomejs/cli-darwin-x64': 2.5.3- '@biomejs/cli-linux-arm64': 2.5.3- '@biomejs/cli-linux-arm64-musl': 2.5.3- '@biomejs/cli-linux-x64': 2.5.3- '@biomejs/cli-linux-x64-musl': 2.5.3- '@biomejs/cli-win32-arm64': 2.5.3- '@biomejs/cli-win32-x64': 2.5.3-- '@biomejs/[email protected]':+ '@biomejs/cli-darwin-arm64': 2.5.5+ '@biomejs/cli-darwin-x64': 2.5.5+ '@biomejs/cli-linux-arm64': 2.5.5+ '@biomejs/cli-linux-arm64-musl': 2.5.5+ '@biomejs/cli-linux-x64': 2.5.5+ '@biomejs/cli-linux-x64-musl': 2.5.5+ '@biomejs/cli-win32-arm64': 2.5.5+ '@biomejs/cli-win32-x64': 2.5.5++ '@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'@bramus/[email protected]':diff --git a/frontend/src/components/ProjectTable.tsx b/frontend/src/components/ProjectTable.tsxindex e95d0d3d4f..bfb883d8be 100644--- a/frontend/src/components/ProjectTable.tsx+++ b/frontend/src/components/ProjectTable.tsx@@ -340,9 +340,7 @@ const ProjectRowView = memo(function ProjectRowView({{isCurrent ? <Check className="size-4 text-accent" /> : null}</TableCell>) : null}- <TableCell>- {resourceIdContent}- </TableCell>+ <TableCell>{resourceIdContent}</TableCell><TableCell><div className="flex items-center gap-x-2 min-w-0"><ProjectLabeldiff --git a/frontend/src/components/instance/InstanceFormBody.i18n.test.ts b/frontend/src/components/instance/InstanceFormBody.i18n.test.tsindex 163fbfcf29..f5a0646b61 100644--- a/frontend/src/components/instance/InstanceFormBody.i18n.test.ts+++ b/frontend/src/components/instance/InstanceFormBody.i18n.test.ts@@ -15,25 +15,28 @@ const LOCALES = {} as const;describe("Instance form locale interpolation", () => {- test.each(- Object.entries(LOCALES)- )("renders host and proxy placeholders literally in %s", (locale, translation) => {- const i18n = i18next.createInstance();+ test.each(Object.entries(LOCALES))(+ "renders host and proxy placeholders literally in %s",+ (locale, translation) => {+ const i18n = i18next.createInstance();- void i18n.init({- resources: {- [locale]: { translation },- },- lng: locale,- interpolation: {- escapeValue: false,- },- initAsync: false,- });+ void i18n.init({+ resources: {+ [locale]: { translation },+ },+ lng: locale,+ interpolation: {+ escapeValue: false,+ },+ initAsync: false,+ });- expect(i18n.t("instance.sentence.host.none-snowflake")).toContain(" | ");- expect(i18n.t("instance.sentence.host.none-snowflake")).not.toContain("{");- expect(i18n.t("instance.sentence.proxy.snowflake")).toContain("@");- expect(i18n.t("instance.sentence.proxy.snowflake")).not.toContain("{");- });+ expect(i18n.t("instance.sentence.host.none-snowflake")).toContain(" | ");+ expect(i18n.t("instance.sentence.host.none-snowflake")).not.toContain(+ "{"+ );+ expect(i18n.t("instance.sentence.proxy.snowflake")).toContain("@");+ expect(i18n.t("instance.sentence.proxy.snowflake")).not.toContain("{");+ }+ );});diff --git a/frontend/src/components/role-grant/DDLWarningCallout.locale.test.ts b/frontend/src/components/role-grant/DDLWarningCallout.locale.test.tsindex 3c39c2c660..e26d953969 100644--- a/frontend/src/components/role-grant/DDLWarningCallout.locale.test.ts+++ b/frontend/src/components/role-grant/DDLWarningCallout.locale.test.ts@@ -31,15 +31,16 @@ const projectMembersKindKeys = [describe("DDLWarningCallout locale strings", () => {for (const [locale, data] of Object.entries(locales)) {describe(locale, () => {- test.each(- projectMembersKindKeys- )("project.members.%s contains {{kind}} placeholder", (key) => {- const value = (- data.project.members as unknown as Record<string, string>- )[key];- expect(value).toBeDefined();- expect(value).toContain("{{kind}}");- });+ test.each(projectMembersKindKeys)(+ "project.members.%s contains {{kind}} placeholder",+ (key) => {+ const value = (+ data.project.members as unknown as Record<string, string>+ )[key];+ expect(value).toBeDefined();+ expect(value).toContain("{{kind}}");+ }+ );});}});diff --git a/frontend/src/components/task-run-log/TaskRunLogViewer.i18n.test.ts b/frontend/src/components/task-run-log/TaskRunLogViewer.i18n.test.tsindex 261e75c971..30ed0d350c 100644--- a/frontend/src/components/task-run-log/TaskRunLogViewer.i18n.test.ts+++ b/frontend/src/components/task-run-log/TaskRunLogViewer.i18n.test.ts@@ -15,27 +15,28 @@ const LOCALES = {} as const;describe("TaskRunLogViewer locale interpolation", () => {- test.each(- Object.entries(LOCALES)- )("interpolates summary and replica labels in %s", (locale, translation) => {- const i18n = i18next.createInstance();+ test.each(Object.entries(LOCALES))(+ "interpolates summary and replica labels in %s",+ (locale, translation) => {+ const i18n = i18next.createInstance();- void i18n.init({- resources: {- [locale]: { translation },- },- lng: locale,- interpolation: {- escapeValue: false,- },- initAsync: false,- });+ void i18n.init({+ resources: {+ [locale]: { translation },+ },+ lng: locale,+ interpolation: {+ escapeValue: false,+ },+ initAsync: false,+ });- expect(- i18n.t("task-run.log-viewer.summary", { sections: 2, entries: 3 })- ).not.toContain("{");- expect(i18n.t("task-run.log-viewer.replica-n", { n: 2 })).not.toContain(- "{"- );- });+ expect(+ i18n.t("task-run.log-viewer.summary", { sections: 2, entries: 3 })+ ).not.toContain("{");+ expect(i18n.t("task-run.log-viewer.replica-n", { n: 2 })).not.toContain(+ "{"+ );+ }+ );});diff --git a/frontend/src/modules/agent/components/window-resize.test.ts b/frontend/src/modules/agent/components/window-resize.test.tsindex a1bc0d6244..3f3fc6310b 100644--- a/frontend/src/modules/agent/components/window-resize.test.ts+++ b/frontend/src/modules/agent/components/window-resize.test.ts@@ -31,17 +31,20 @@ describe("resizeWindowBounds", () => {["nw", { x: 40, y: 20 }, { x: 140, y: 140, width: 460, height: 430 }],["se", { x: 50, y: 50 }, { x: 100, y: 120, width: 550, height: 500 }],["sw", { x: -40, y: 50 }, { x: 60, y: 120, width: 540, height: 500 }],- ])("resizes %s while anchoring the opposite edges", (direction, delta, expected) => {- expect(- resizeWindowBounds({- direction,- startBounds,- deltaX: delta.x,- deltaY: delta.y,- constraints,- })- ).toEqual(expected);- });+ ])(+ "resizes %s while anchoring the opposite edges",+ (direction, delta, expected) => {+ expect(+ resizeWindowBounds({+ direction,+ startBounds,+ deltaX: delta.x,+ deltaY: delta.y,+ constraints,+ })+ ).toEqual(expected);+ }+ );test("stops west resizing at the minimum width while keeping the right edge fixed", () => {expect(diff --git a/frontend/src/modules/sql-editor/components/HistoryPane.tsx b/frontend/src/modules/sql-editor/components/HistoryPane.tsxindex 5a24537c35..d96a978112 100644--- a/frontend/src/modules/sql-editor/components/HistoryPane.tsx+++ b/frontend/src/modules/sql-editor/components/HistoryPane.tsx@@ -9,13 +9,13 @@ import {useState,} from "react";import { useTranslation } from "react-i18next";+import { router } from "@/app/router";+import { SQL_EDITOR_QUERY_HISTORY_MODULE } from "@/app/router/handles";import { HighlightLabelText } from "@/components/HighlightLabelText";import { Button } from "@/components/ui/button";import { writeTextToClipboard } from "@/lib/clipboard";import { cn } from "@/lib/utils";-import { router } from "@/app/router";-import { SQL_EDITOR_QUERY_HISTORY_MODULE } from "@/app/router/handles";-import { useAppStore } from "@/stores/app";+import { sqlEditorEvents } from "@/modules/sql-editor/model/events";import type { QueryHistoryFilter } from "@/modules/sql-editor/store";import {selectQueryHistoryEntry,@@ -26,10 +26,10 @@ import {getSQLEditorTabsState,useSQLEditorTabState,} from "@/modules/sql-editor/store/tab";+import { useAppStore } from "@/stores/app";import { DEBOUNCE_SEARCH_DELAY, getDateForPbTimestampProtoEs } from "@/types";import type { QueryHistory } from "@/types/proto-es/v1/sql_service_pb";import { extractProjectResourceName, extractQueryHistoryUID } from "@/utils";-import { sqlEditorEvents } from "@/modules/sql-editor/model/events";import { HistorySearchInput } from "./HistorySearchInput";/**diff --git a/frontend/src/routes/project/utils/reviewBadge.test.ts b/frontend/src/routes/project/utils/reviewBadge.test.tsindex cf4e30adaa..da7cdc7f86 100644--- a/frontend/src/routes/project/utils/reviewBadge.test.ts+++ b/frontend/src/routes/project/utils/reviewBadge.test.ts@@ -125,20 +125,24 @@ describe("getReviewBadge", () => {[IssueStatus.DONE, true, true],[IssueStatus.ISSUE_STATUS_UNSPECIFIED, false, false],[IssueStatus.ISSUE_STATUS_UNSPECIFIED, true, true],- ])("issueStatus=%s, hasRollout=%s (completed=%s)", (issueStatus, hasRollout, completed) => {- it.each(- approvalCases(completed)- )("approval=%s → %j", (approvalStatus, expected) => {- expect(- getReviewBadge({- hasIssue: true,- issueStatus,- hasRollout,- approvalStatus,- })- ).toEqual(expected);- });- });+ ])(+ "issueStatus=%s, hasRollout=%s (completed=%s)",+ (issueStatus, hasRollout, completed) => {+ it.each(approvalCases(completed))(+ "approval=%s → %j",+ (approvalStatus, expected) => {+ expect(+ getReviewBadge({+ hasIssue: true,+ issueStatus,+ hasRollout,+ approvalStatus,+ })+ ).toEqual(expected);+ }+ );+ }+ );});});@@ -230,16 +234,19 @@ describe("getReviewBadge", () => {ApprovalStatus.PENDING,{ labelKey: "common.under-review", variant: "secondary" },],- ])("would-be-canceled, approval=%s → approval badge (not 'closed')", (approvalStatus, expected) => {- expect(- getReviewBadge({- hasIssue: true,- issueStatus: undefined,- hasRollout: false,- approvalStatus,- })- ).toEqual(expected);- });+ ])(+ "would-be-canceled, approval=%s → approval badge (not 'closed')",+ (approvalStatus, expected) => {+ expect(+ getReviewBadge({+ hasIssue: true,+ issueStatus: undefined,+ hasRollout: false,+ approvalStatus,+ })+ ).toEqual(expected);+ }+ );});it("residual divergence — Category C₂ (would-be-bypassed without rollout) renders 'under-review'", () => {diff --git a/frontend/src/types/sqlReview.test.ts b/frontend/src/types/sqlReview.test.tsindex 0bc2a159cb..ecf308ca22 100644--- a/frontend/src/types/sqlReview.test.ts+++ b/frontend/src/types/sqlReview.test.ts@@ -248,18 +248,19 @@ describe("convertRuleMapToPolicyRuleList", () => {SQLReviewRule_Type.TABLE_DISALLOW_DML,];- test.each(- requiredStringArrayRuleTypes- )("reports empty string-array rule %s", (type) => {- const ruleMap = new Map([- [Engine.MYSQL, new Map([[type, stringArrayRule(type, [])]])],- ]);-- expect(validateRuleMapByEngine(ruleMap)).toMatchObject({- type: "EMPTY_STRING_ARRAY",- rule: { type },- });- });+ test.each(requiredStringArrayRuleTypes)(+ "reports empty string-array rule %s",+ (type) => {+ const ruleMap = new Map([+ [Engine.MYSQL, new Map([[type, stringArrayRule(type, [])]])],+ ]);++ expect(validateRuleMapByEngine(ruleMap)).toMatchObject({+ type: "EMPTY_STRING_ARRAY",+ rule: { type },+ });+ }+ );test("reports empty rule maps", () => {expect(validateRuleMapByEngine(new Map())).toEqual({