chore: update dependencies

This commit is contained in:
Simon Chan 2024-10-04 12:17:53 +08:00
parent dd68af8072
commit d862077c34
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
19 changed files with 198 additions and 184 deletions

View file

@ -39,7 +39,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@types/node": "^22.7.4",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",

View file

@ -71,6 +71,7 @@ export const AdbSignatureAuthenticator: AdbAuthenticator = async function* (
credentialStore: AdbCredentialStore,
getNextRequest: () => Promise<AdbPacketData>,
): AsyncIterable<AdbPacketData> {
// eslint-disable-next-line @typescript-eslint/await-thenable
for await (const key of credentialStore.iterateKeys()) {
const packet = await getNextRequest();
@ -99,6 +100,7 @@ export const AdbPublicKeyAuthenticator: AdbAuthenticator = async function* (
}
let privateKey: AdbPrivateKey | undefined;
// eslint-disable-next-line @typescript-eslint/await-thenable
for await (const key of credentialStore.iterateKeys()) {
privateKey = key;
break;