Skip to content

Commit d40e290

Browse files
committed
Biome update
1 parent fb2708d commit d40e290

File tree

7 files changed

+58
-58
lines changed

7 files changed

+58
-58
lines changed

backend/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

backend/internal/access-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ const internalAccessList = {
515515
batchflow(list.items)
516516
.sequential()
517517
.each((_i, item, next) => {
518-
if (typeof item.password !== "undefined" && item.password.length) {
518+
if (item.password?.length) {
519519
logger.info(`Adding: ${item.username}`);
520520

521521
utils

backend/models/token.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default () => {
128128
*/
129129
getUserId: (defaultValue) => {
130130
const attrs = self.get("attrs");
131-
if (attrs && typeof attrs.id !== "undefined" && attrs.id) {
131+
if (attrs?.id) {
132132
return attrs.id;
133133
}
134134

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"devDependencies": {
4040
"@apidevtools/swagger-parser": "^10.1.0",
41-
"@biomejs/biome": "^2.2.3",
41+
"@biomejs/biome": "^2.2.4",
4242
"chalk": "4.1.2",
4343
"nodemon": "^2.0.2"
4444
},

backend/yarn.lock

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -43,59 +43,59 @@
4343
ajv-draft-04 "^1.0.0"
4444
call-me-maybe "^1.0.2"
4545

46-
"@biomejs/biome@^2.2.3":
47-
version "2.2.3"
48-
resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-2.2.3.tgz#9d17991c80e006c5ca3e21bebe84b7afd71559e3"
49-
integrity sha512-9w0uMTvPrIdvUrxazZ42Ib7t8Y2yoGLKLdNne93RLICmaHw7mcLv4PPb5LvZLJF3141gQHiCColOh/v6VWlWmg==
46+
"@biomejs/biome@^2.2.4":
47+
version "2.2.4"
48+
resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-2.2.4.tgz#184e4b83f89bd0d4151682a5aa3840df37748e17"
49+
integrity sha512-TBHU5bUy/Ok6m8c0y3pZiuO/BZoY/OcGxoLlrfQof5s8ISVwbVBdFINPQZyFfKwil8XibYWb7JMwnT8wT4WVPg==
5050
optionalDependencies:
51-
"@biomejs/cli-darwin-arm64" "2.2.3"
52-
"@biomejs/cli-darwin-x64" "2.2.3"
53-
"@biomejs/cli-linux-arm64" "2.2.3"
54-
"@biomejs/cli-linux-arm64-musl" "2.2.3"
55-
"@biomejs/cli-linux-x64" "2.2.3"
56-
"@biomejs/cli-linux-x64-musl" "2.2.3"
57-
"@biomejs/cli-win32-arm64" "2.2.3"
58-
"@biomejs/cli-win32-x64" "2.2.3"
59-
60-
"@biomejs/cli-darwin-arm64@2.2.3":
61-
version "2.2.3"
62-
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.2.3.tgz#e18240343fa705dafb08ba72a7b0e88f04a8be3e"
63-
integrity sha512-OrqQVBpadB5eqzinXN4+Q6honBz+tTlKVCsbEuEpljK8ASSItzIRZUA02mTikl3H/1nO2BMPFiJ0nkEZNy3B1w==
64-
65-
"@biomejs/cli-darwin-x64@2.2.3":
66-
version "2.2.3"
67-
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.2.3.tgz#964b51c9f649e3a725f6f43e75c4173b9ab8a3ae"
68-
integrity sha512-OCdBpb1TmyfsTgBAM1kPMXyYKTohQ48WpiN9tkt9xvU6gKVKHY4oVwteBebiOqyfyzCNaSiuKIPjmHjUZ2ZNMg==
69-
70-
"@biomejs/cli-linux-arm64-musl@2.2.3":
71-
version "2.2.3"
72-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.2.3.tgz#1756c37960d5585ca865e184539b113e48719b41"
73-
integrity sha512-q3w9jJ6JFPZPeqyvwwPeaiS/6NEszZ+pXKF+IczNo8Xj6fsii45a4gEEicKyKIytalV+s829ACZujQlXAiVLBQ==
74-
75-
"@biomejs/cli-linux-arm64@2.2.3":
76-
version "2.2.3"
77-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.2.3.tgz#036c6334d5b09b51233ce5120b18f4c89a15a74c"
78-
integrity sha512-g/Uta2DqYpECxG+vUmTAmUKlVhnGEcY7DXWgKP8ruLRa8Si1QHsWknPY3B/wCo0KgYiFIOAZ9hjsHfNb9L85+g==
79-
80-
"@biomejs/cli-linux-x64-musl@2.2.3":
81-
version "2.2.3"
82-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.2.3.tgz#e6cce01910b9f56c1645c5518595d0b1eb38c245"
83-
integrity sha512-y76Dn4vkP1sMRGPFlNc+OTETBhGPJ90jY3il6jAfur8XWrYBQV3swZ1Jo0R2g+JpOeeoA0cOwM7mJG6svDz79w==
84-
85-
"@biomejs/cli-linux-x64@2.2.3":
86-
version "2.2.3"
87-
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-2.2.3.tgz#f328e7cfde92fad6c7ad215df1f51b146b4ed007"
88-
integrity sha512-LEtyYL1fJsvw35CxrbQ0gZoxOG3oZsAjzfRdvRBRHxOpQ91Q5doRVjvWW/wepgSdgk5hlaNzfeqpyGmfSD0Eyw==
89-
90-
"@biomejs/cli-win32-arm64@2.2.3":
91-
version "2.2.3"
92-
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.2.3.tgz#b8d64ca6dc1c50b8f3d42475afd31b7b44460935"
93-
integrity sha512-Ms9zFYzjcJK7LV+AOMYnjN3pV3xL8Prxf9aWdDVL74onLn5kcvZ1ZMQswE5XHtnd/r/0bnUd928Rpbs14BzVmA==
94-
95-
"@biomejs/cli-win32-x64@2.2.3":
96-
version "2.2.3"
97-
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-2.2.3.tgz#ecafffddf0c0675c825735c7cc917cbc8c538433"
98-
integrity sha512-gvCpewE7mBwBIpqk1YrUqNR4mCiyJm6UI3YWQQXkedSSEwzRdodRpaKhbdbHw1/hmTWOVXQ+Eih5Qctf4TCVOQ==
51+
"@biomejs/cli-darwin-arm64" "2.2.4"
52+
"@biomejs/cli-darwin-x64" "2.2.4"
53+
"@biomejs/cli-linux-arm64" "2.2.4"
54+
"@biomejs/cli-linux-arm64-musl" "2.2.4"
55+
"@biomejs/cli-linux-x64" "2.2.4"
56+
"@biomejs/cli-linux-x64-musl" "2.2.4"
57+
"@biomejs/cli-win32-arm64" "2.2.4"
58+
"@biomejs/cli-win32-x64" "2.2.4"
59+
60+
"@biomejs/cli-darwin-arm64@2.2.4":
61+
version "2.2.4"
62+
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.2.4.tgz#9b50620c93501e370b7e6d5a8445f117f9946a0c"
63+
integrity sha512-RJe2uiyaloN4hne4d2+qVj3d3gFJFbmrr5PYtkkjei1O9c+BjGXgpUPVbi8Pl8syumhzJjFsSIYkcLt2VlVLMA==
64+
65+
"@biomejs/cli-darwin-x64@2.2.4":
66+
version "2.2.4"
67+
resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.2.4.tgz#343620c884fc8141155d114430e80e4eacfddc9e"
68+
integrity sha512-cFsdB4ePanVWfTnPVaUX+yr8qV8ifxjBKMkZwN7gKb20qXPxd/PmwqUH8mY5wnM9+U0QwM76CxFyBRJhC9tQwg==
69+
70+
"@biomejs/cli-linux-arm64-musl@2.2.4":
71+
version "2.2.4"
72+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.2.4.tgz#cabcdadce2bc88b697f4063374224266c6f8b6e5"
73+
integrity sha512-7TNPkMQEWfjvJDaZRSkDCPT/2r5ESFPKx+TEev+I2BXDGIjfCZk2+b88FOhnJNHtksbOZv8ZWnxrA5gyTYhSsQ==
74+
75+
"@biomejs/cli-linux-arm64@2.2.4":
76+
version "2.2.4"
77+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.2.4.tgz#55620f8f088145e62e1158eb85c568554d0c8673"
78+
integrity sha512-M/Iz48p4NAzMXOuH+tsn5BvG/Jb07KOMTdSVwJpicmhN309BeEyRyQX+n1XDF0JVSlu28+hiTQ2L4rZPvu7nMw==
79+
80+
"@biomejs/cli-linux-x64-musl@2.2.4":
81+
version "2.2.4"
82+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.2.4.tgz#6bfaea72505afdbda66a66c998d2d169a8b55f90"
83+
integrity sha512-m41nFDS0ksXK2gwXL6W6yZTYPMH0LughqbsxInSKetoH6morVj43szqKx79Iudkp8WRT5SxSh7qVb8KCUiewGg==
84+
85+
"@biomejs/cli-linux-x64@2.2.4":
86+
version "2.2.4"
87+
resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-2.2.4.tgz#8c1ed61dcafb8a5939346c714ec122651f57e1db"
88+
integrity sha512-orr3nnf2Dpb2ssl6aihQtvcKtLySLta4E2UcXdp7+RTa7mfJjBgIsbS0B9GC8gVu0hjOu021aU8b3/I1tn+pVQ==
89+
90+
"@biomejs/cli-win32-arm64@2.2.4":
91+
version "2.2.4"
92+
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.2.4.tgz#b2528f6c436e753d6083d7779f0662e08786cedb"
93+
integrity sha512-NXnfTeKHDFUWfxAefa57DiGmu9VyKi0cDqFpdI+1hJWQjGJhJutHPX0b5m+eXvTKOaf+brU+P0JrQAZMb5yYaQ==
94+
95+
"@biomejs/cli-win32-x64@2.2.4":
96+
version "2.2.4"
97+
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-2.2.4.tgz#c8e21413120fe073fa49b78fdd987022941ff66f"
98+
integrity sha512-3Y4V4zVRarVh/B/eSHczR4LYoSVyv3Dfuvm3cWs5w/HScccS0+Wt/lHOcDTRYeHjQmMYVC3rIRWqyN2EI52+zg==
9999

100100
"@gar/promisify@^1.0.1":
101101
version "1.1.3"

frontend/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

frontend/src/pages/Setup/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function Setup() {
4040

4141
try {
4242
const user = await createUser(payload, true);
43-
if (user && typeof user.id !== "undefined" && user.id) {
43+
if (user?.id) {
4444
try {
4545
await login(user.email, password);
4646
// Trigger a Health change

0 commit comments

Comments
 (0)