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 commit eacb4e28d1.

* fix: run tests separately

* tmp: downgrade yarn release

* Revert "tmp: downgrade yarn release"

This reverts commit a277454dbe.

* feat: upgrade to node 20.1.0

* Revert "fix: run tests separately"

This reverts commit 5755f2caf9.
This commit is contained in:
Karol Sójko
2023-05-08 12:16:18 +02:00
committed by GitHub
parent 9fcadf8fbb
commit 8fbb94d15a
1619 changed files with 124608 additions and 529888 deletions
@@ -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',
},
})
@@ -1,4 +1,6 @@
import { AuthenticationResponseJSON } from '@simplewebauthn/typescript-types'
export interface VerifyAuthenticatorAuthenticationResponseDTO {
userUuid: string
authenticatorResponse: Record<string, unknown>
authenticatorResponse: AuthenticationResponseJSON
}