Skip to content

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

chore(deps): update dependency @biomejs/biome to v2.5.2 (#20828)

renovate[bot]30e5b150c825
diff --git a/frontend/biome.json b/frontend/biome.json
index 21a80ff775..c603e1e8fc 100644
--- a/frontend/biome.json
+++ b/frontend/biome.json
@@ -1,9 +1,14 @@
{
- "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
+ "$schema": "https://biomejs.dev/schemas/2.5.2/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": {
"ignoreUnknown": true,
- "includes": ["src/**/*", "!!src/bbkit/BBUtil.ts", "!!src/types/proto-es/**"]
+ "includes": [
+ "src/**/*",
+ "!**/*.svg",
+ "!!src/bbkit/BBUtil.ts",
+ "!!src/types/proto-es/**"
+ ]
},
"formatter": {
"enabled": true,
@@ -20,11 +25,12 @@
"linter": {
"enabled": true,
"rules": {
- "recommended": false,
+ "preset": "none",
"complexity": {
"noUselessCatchBinding": "error",
"noUselessEscapeInRegex": "error",
- "noUselessTypeConstraint": "error"
+ "noUselessTypeConstraint": "error",
+ "useArrayFind": "error"
},
"correctness": {
"noConstantCondition": "error",
@@ -36,12 +42,6 @@
"useIsNan": "error",
"useValidForDirection": "error"
},
- "nursery": {
- "noForIn": "error",
- "useArraySortCompare": "error",
- "useFind": "error",
- "useSpread": "error"
- },
"style": {
"noCommonJs": "error",
"noNamespace": "error",
@@ -49,7 +49,8 @@
"useAsConstAssertion": "error",
"useBlockStatements": "off",
"useExportType": "error",
- "useSelfClosingElements": "error"
+ "useSelfClosingElements": "error",
+ "useSpreadOverApply": "error"
},
"suspicious": {
"noAsyncPromiseExecutor": "error",
@@ -69,7 +70,9 @@
"noNonNullAssertedOptionalChain": "error",
"noSparseArray": "error",
"noUnsafeDeclarationMerging": "error",
- "useNamespaceKeyword": "error"
+ "useNamespaceKeyword": "error",
+ "noForIn": "error",
+ "useArraySortCompare": "error"
}
}
},
diff --git a/frontend/package.json b/frontend/package.json
index 1d20e6deaf..3b51a49602 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -98,7 +98,7 @@
"zustand": "^5.0.13"
},
"devDependencies": {
- "@biomejs/biome": "2.4.14",
+ "@biomejs/biome": "2.5.2",
"@playwright/test": "^1.59.1",
"@rollup/plugin-yaml": "4.1.2",
"@stylexjs/unplugin": "^0.19.0",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 92ccad8acc..788ad59b2b 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -228,8 +228,8 @@ importers:
devDependencies:
'@biomejs/biome':
- specifier: 2.4.14
- version: 2.4.14
+ specifier: 2.5.2
+ version: 2.5.2
'@playwright/test':
specifier: ^1.59.1
version: 1.59.1
@@ -938,59 +938,59 @@ packages:
'@types/react':
optional: true
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-TmAvxOEgrpLypzVGJ8FulIZnlyA9TxrO1hyqYrCz9r+bwma9xXxuLA5IuYnj55XQneFx460KjRbx6SWGLkg3bQ==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-VQ3RCqr7JmDIX+w6stWYl+g/3bYofN3q2wDBHUKKc/c7i5QWrFKFBZYCYPWTE6agsUPMIZZe6/CMmVUfUAhkKA==}
engines: {node: '>=14.21.3'}
hasBin: true
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-XvgoE9XOawUOQPdmvs4J7wPhi/DLwSCGks3AlPJDmh34O0awRTqCED1HRcRDdpf1Zrp4us4MGOOdIxNpbqNF5Q==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-e7P3P7EkwFc/KiX2AHw4YDLIBOMfG9CPCAwy52k5Bp0dfhkozx9hf6wCmIr2QeXy2XeccJ3V/Sg+hDmzYEqxSg==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-jE7hKBCFhOx3uUh+ZkWBfOHxAcILPfhFplNkuID/eZeSTLHzfZzoZxW8fbqY9xXRnPi7jGNAf1iPVR+0yWsM/Q==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-ymzMvjC1Jg0b9K0D26ZdARqFQXs7MocfLC5FOCGfkC0Ss+ACUJkX5364ZM5nT4NLZanHRZNVrZEy+Ibwcvux/g==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-/z+6gqAqqUQTHazwStxSXKHg9b8UvqBmDFRp+c4wYbq2KXhELQDon9EoC9RpmQ8JWkqQx/lIUy/cs+MhzDZp6A==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-w+ANG0ZvTu9IeEg9QnstoOnk6L0fpwJifW6aHR18+cb5Z39bkANItYjAfMrnvce5tmMK+IQ6nPX7/kQFdam5iw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
libc: [musl]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-2TELhZnW5RSLL063l9rc5xLpA0ZIw0Ccwy/0q384rvNAgFw3yI76bd59547yxowdQr5MNPET/xDLrLuvgSeeWQ==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-t7sseOmqND57uUWTwlawU6BYj+J06T/9EkydzBhkrgw/FK3QVhjU2wsJR0frljrKZ0/I8A/rYw7284QgqjQfIQ==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-R6BWgJdQOwW9ulJatuTVrQkjnODjqHZkKNOqb1sz++3Noe5LYd0i3PchnOBUCYAPHoPWHhjJqbdZlHEu0hpjdA==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-VArNLAzND063tF+XY0yPyM+DyahpzOMzOAvb7qs259nhjJWRjvjZdssuA+Rfl+l07+NOesKZ0Xu2yFrXyBMtzw==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
libc: [musl]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-zHrlQZDBDUz4OLAraYpWKcnLS6HOewBFWYOzY91d1ZjdqZwibOyb6BEu6WuWLugyo0P3riCmsbV9UqV1cSXwQg==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-M/lOZrewzTCRDINbjhQ1gYYru37KlD3kJBQwwKCG0ckz5E9IZwIoJ3X0wBwRXA+yBDIwWUuPBHS67HzJY4dTfA==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
libc: [glibc]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-M3EH5hqOI/F/FUA2u4xcLoUgmxd218mvuj/6JL7Hv2toQvr2/AdOvKSpGkoRuWFCtQPVa+ZqkEV3Q5xBA9+XSA==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-kbjFFKyZlzYnAuw7sRy5qDoFG6zrP40UK08oPQsWK0ct3NMnGSt+Bs1iviEEyEIP57N5MrykGXdO/wRiaR4lww==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-WL0EG5qE+EAKomGXbf2g6VnSKJhTL3tXC0QRzWRwA5VpjxNYa6H4P7ZWfymbGE4IhZZQi1KXQ2R0YjwInmz2fA==}
+ '@biomejs/[email protected]':
+ resolution: {integrity: sha512-4InchVpdVmdkkkgjQqKpgvyu+VPnoF/7RPSw5YATgEVpt2j72wcCAeV5TwaE9ZGJUZWZn7v2CwSAj6CrMJEx8A==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
@@ -4986,39 +4986,39 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.17
- '@biomejs/[email protected]':
+ '@biomejs/[email protected]':
optionalDependencies:
- '@biomejs/cli-darwin-arm64': 2.4.14
- '@biomejs/cli-darwin-x64': 2.4.14
- '@biomejs/cli-linux-arm64': 2.4.14
- '@biomejs/cli-linux-arm64-musl': 2.4.14
- '@biomejs/cli-linux-x64': 2.4.14
- '@biomejs/cli-linux-x64-musl': 2.4.14
- '@biomejs/cli-win32-arm64': 2.4.14
- '@biomejs/cli-win32-x64': 2.4.14
-
- '@biomejs/[email protected]':
+ '@biomejs/cli-darwin-arm64': 2.5.2
+ '@biomejs/cli-darwin-x64': 2.5.2
+ '@biomejs/cli-linux-arm64': 2.5.2
+ '@biomejs/cli-linux-arm64-musl': 2.5.2
+ '@biomejs/cli-linux-x64': 2.5.2
+ '@biomejs/cli-linux-x64-musl': 2.5.2
+ '@biomejs/cli-win32-arm64': 2.5.2
+ '@biomejs/cli-win32-x64': 2.5.2
+
+ '@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-20260414192239-c17df5b2beca.1(@bufbuild/[email protected])':
diff --git a/frontend/src/react/components/SchemaDiagram/ER/libs/autoLayout/useAutoLayout.test.tsx b/frontend/src/react/components/SchemaDiagram/ER/libs/autoLayout/useAutoLayout.test.tsx
index 3ec378ed18..fb0a112f4d 100644
--- a/frontend/src/react/components/SchemaDiagram/ER/libs/autoLayout/useAutoLayout.test.tsx
+++ b/frontend/src/react/components/SchemaDiagram/ER/libs/autoLayout/useAutoLayout.test.tsx
@@ -126,7 +126,9 @@ describe("useAutoLayout", () => {
to: string;
}>;
expect(nodeList).toHaveLength(2);
- expect(nodeList.map((n) => n.id).sort()).toEqual(["id-orders", "id-users"]);
+ expect(
+ nodeList.map((n) => n.id).sort((a, b) => a.localeCompare(b))
+ ).toEqual(["id-orders", "id-users"]);
expect(nodeList[0].group).toBe("schema-public");
expect(edgeList).toHaveLength(1);
expect(edgeList[0].from).toBe("id-orders");