diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-03-19 20:06:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 20:06:52 -0500 |
commit | 30fc35f74e8692db533250aa8114fcdd0aa297f9 (patch) | |
tree | 572bf58e9e3e22d3b6146e463b8da9ab7b984899 /src/index.ts | |
parent | 8be63f70c5532263f35936bdd30d0159e14129d1 (diff) | |
download | skyblock-api-30fc35f74e8692db533250aa8114fcdd0aa297f9.tar.gz skyblock-api-30fc35f74e8692db533250aa8114fcdd0aa297f9.tar.bz2 skyblock-api-30fc35f74e8692db533250aa8114fcdd0aa297f9.zip |
Bump @types/lru-cache from 5.1.1 to 7.4.0 (#217)
* Bump @types/lru-cache from 5.1.1 to 7.4.0
Bumps [@types/lru-cache](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lru-cache) from 5.1.1 to 7.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lru-cache)
---
updated-dependencies:
- dependency-name: "@types/lru-cache"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix code to be compatible with new lru cache
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mat <github@matdoes.dev>
Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index fe35009..4464ca7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -47,7 +47,7 @@ app.get('/', async (req, res) => { usernameCacheSize: usernameCache.keys().length, basicProfilesCacheSize: basicProfilesCache.keys().length, playerCacheSize: playerCache.keys().length, - basicPlayerCacheSize: basicPlayerCache.keys().length, + basicPlayerCacheSize: basicPlayerCache.size, profileCacheSize: profileCache.keys().length, profilesCacheSize: profilesCache.keys().length, profileNameCacheSize: profileNameCache.keys().length, |