-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump lru-cache from 8.0.5 to 9.0.0 (#197)
* chore(deps): bump lru-cache from 8.0.5 to 9.0.0 Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 8.0.5 to 9.0.0. - [Release notes](https://github.com/isaacs/node-lru-cache/releases) - [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md) - [Commits](isaacs/node-lru-cache@v8.0.5...v9.0.0) --- updated-dependencies: - dependency-name: lru-cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: replace lru-cache default import with named import --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michal Sevcik <sevcik.dev@gmail.com>
- Loading branch information
1 parent
d3d40dd
commit 2210fff
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { expectAssignable } from 'tsd' | ||
import LRU from 'lru-cache' | ||
import type { LRUCache } from 'lru-cache' | ||
import buildGetJwks, { GetPublicKeyOptions, JWK, JWKSignature } from '../../src/get-jwks' | ||
|
||
const { getPublicKey, getJwk, getJwksUri, cache, staleCache } = buildGetJwks() | ||
|
||
expectAssignable<(signature: JWKSignature) => Promise<JWK>>(getJwk) | ||
expectAssignable<(normalizedDomain: string) => Promise<string>>(getJwksUri) | ||
expectAssignable<(options?: GetPublicKeyOptions) => Promise<string>>(getPublicKey) | ||
expectAssignable<LRU<string, JWK>>(cache) | ||
expectAssignable<LRU<string, JWK>>(staleCache) | ||
expectAssignable<LRUCache<string, JWK>>(cache) | ||
expectAssignable<LRUCache<string, JWK>>(staleCache) |