fix: resolve biome lint errors in prisma-facade
CI / check (push) Successful in 29s
CI / release (push) Skipped
CI / deploy (push) Failing after 1m23s

- Fix noPrecisionLoss on BIGINT UNSIGNED max value (2^64-1) with biome-ignore comments
- Fix noThenProperty on custom thenable with biome-ignore comment
- Auto-format remaining files (biome check --write)
- Re-stage auto-fixed files from previous commit
This commit is contained in:
openhands committed 2026-07-31 14:17:06 +02:00
1 parent 56061e41d4
commit beae86194d
22 files changed
+151 -152

No files matched your search

+1 -1
View File
@@ -75,4 +75,4 @@ describe("checkLogin", () => {
expect(res.valid).toBe(true);
expect(res.upgradedHash).toBeUndefined();
});
});
});
+2 -6
View File
@@ -1,9 +1,5 @@
import { randomBytes } from "node:crypto";
import {
bcrypt,
bcryptVerify,
md5,
} from "hash-wasm";
import { bcrypt, bcryptVerify, md5 } from "hash-wasm";
import { env } from "@/env";
@@ -59,4 +55,4 @@ export async function checkLogin(
return { valid: true, upgradedHash: await hashPassword(password) };
}
return { valid: await verifyPassword(password, stored) };
}
}