mirror of
https://github.com/standardnotes/server
synced 2026-10-18 06:03:10 -04:00
feat: upgrade to node 20.1.0 (#590)
* feat: upgrade node to 20.0.0 * fix(auth): webauthn usage * fix: remove better-sqlite3 driver and unplug newrelic * fix: add sqlite3 lib to packages * chore: upgrade aws-sdk and localstack * fix: specs and node types * tmp: check if installing yarn helps linter and test cancellation issues * Revert "tmp: check if installing yarn helps linter and test cancellation issues" This reverts commiteacb4e28d1. * fix: run tests separately * tmp: downgrade yarn release * Revert "tmp: downgrade yarn release" This reverts commita277454dbe. * feat: upgrade to node 20.1.0 * Revert "fix: run tests separately" This reverts commit5755f2caf9.
This commit is contained in:
+7
-7
@@ -40,7 +40,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
authenticatorChallengeRepository = {} as jest.Mocked<AuthenticatorChallengeRepositoryInterface>
|
||||
authenticatorChallengeRepository.findByUserUuid = jest.fn().mockReturnValue({
|
||||
props: {
|
||||
challenge: Buffer.from('challenge'),
|
||||
challenge: 'challenge',
|
||||
},
|
||||
} as jest.Mocked<AuthenticatorChallenge>)
|
||||
})
|
||||
@@ -61,7 +61,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
signature: 'signature',
|
||||
userHandle: 'userHandle',
|
||||
},
|
||||
type: 'type',
|
||||
type: 'public-key',
|
||||
},
|
||||
})
|
||||
|
||||
@@ -89,7 +89,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
signature: 'signature',
|
||||
userHandle: 'userHandle',
|
||||
},
|
||||
type: 'type',
|
||||
type: 'public-key',
|
||||
},
|
||||
})
|
||||
|
||||
@@ -117,7 +117,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
signature: 'signature',
|
||||
userHandle: 'userHandle',
|
||||
},
|
||||
type: 'type',
|
||||
type: 'public-key',
|
||||
},
|
||||
})
|
||||
|
||||
@@ -146,7 +146,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
signature: 'signature',
|
||||
userHandle: 'userHandle',
|
||||
},
|
||||
type: 'type',
|
||||
type: 'public-key',
|
||||
},
|
||||
})
|
||||
|
||||
@@ -179,7 +179,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
signature: 'signature',
|
||||
userHandle: 'userHandle',
|
||||
},
|
||||
type: 'type',
|
||||
type: 'public-key',
|
||||
},
|
||||
})
|
||||
|
||||
@@ -215,7 +215,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
signature: 'signature',
|
||||
userHandle: 'userHandle',
|
||||
},
|
||||
type: 'type',
|
||||
type: 'public-key',
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
import { AuthenticationResponseJSON } from '@simplewebauthn/typescript-types'
|
||||
|
||||
export interface VerifyAuthenticatorAuthenticationResponseDTO {
|
||||
userUuid: string
|
||||
authenticatorResponse: Record<string, unknown>
|
||||
authenticatorResponse: AuthenticationResponseJSON
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user