Skip to content

Commit

Permalink
fix(deps): update dependency tiny-lru to v11 (#5311)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency tiny-lru to v11

* chore(dependencies): updated changesets for modified dependencies

* ..

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Arda TANRIKULU <[email protected]>
  • Loading branch information
3 people authored May 24, 2023
1 parent 01fb0cc commit 4296a55
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/@graphql-mesh_utils-5311-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-mesh/utils": patch
---
dependencies updates:
- Updated dependency [`tiny-lru@^11.0.0` ↗︎](https://www.npmjs.com/package/tiny-lru/v/11.0.0) (from `^8.0.2`, in `dependencies`)
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"js-yaml": "^4.1.0",
"lodash.get": "^4.4.2",
"lodash.topath": "^4.5.2",
"tiny-lru": "^8.0.2"
"tiny-lru": "^11.0.0"
},
"devDependencies": {
"@apollo/server": "4.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/global-lru-cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import lru, { Lru } from 'tiny-lru';
import { lru, LRU } from 'tiny-lru';

export type LRUCache<T = any> = Lru<T>;
export type LRUCache<T = any> = LRU<T>;

export function createLruCache<T = any>(max?: number, ttl?: number): LRUCache<T> {
return lru(max, ttl);
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19814,12 +19814,12 @@ timers-ext@^0.1.5, timers-ext@^0.1.7:
es5-ext "~0.10.46"
next-tick "1"

[email protected], tiny-lru@^8.0.2:
[email protected]:
version "8.0.2"
resolved "https://registry.yarnpkg.com/tiny-lru/-/tiny-lru-8.0.2.tgz#812fccbe6e622ded552e3ff8a4c3b5ff34a85e4c"
integrity sha512-ApGvZ6vVvTNdsmt676grvCkUCGwzG9IqXma5Z07xJgiC5L7akUMof5U8G2JTI9Rz/ovtVhJBlY6mNhEvtjzOIg==

tiny-lru@^11.0.1:
tiny-lru@^11.0.0, tiny-lru@^11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/tiny-lru/-/tiny-lru-11.0.1.tgz#629d6ddd88bd03c0929722680167f1feadf576f2"
integrity sha512-iNgFugVuQgBKrqeO/mpiTTgmBsTP0WL6yeuLfLs/Ctf0pI/ixGqIRm8sDCwMcXGe9WWvt2sGXI5mNqZbValmJg==
Expand Down

0 comments on commit 4296a55

Please sign in to comment.