From 584e72266b0646c705e0366a81bf5b0a7f9f9af3 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Mon, 9 Sep 2024 17:07:21 +0200 Subject: [PATCH] Update deps with potential breaking changes Signed-off-by: Matteo Collina --- package.json | 8 ++++---- test/loaders.js | 12 +----------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 4dacdcf4..b214dca9 100644 --- a/package.json +++ b/package.json @@ -59,16 +59,16 @@ "@fastify/static": "^8.0.0", "@fastify/websocket": "^11.0.0", "fastify-plugin": "^5.0.0", - "graphql-jit": "0.8.4", - "mqemitter": "^5.0.0", + "graphql-jit": "0.8.6", + "mqemitter": "^6.0.0", "p-map": "^4.0.0", "quick-lru": "^7.0.0", "readable-stream": "^4.0.0", "safe-stable-stringify": "^2.3.0", "secure-json-parse": "^2.7.0", - "single-user-cache": "^0.6.0", + "single-user-cache": "^1.0.0", "tiny-lru": "^11.0.0", - "undici": "^5.28.4", + "undici": "^6.19.8", "ws": "^8.2.2" }, "tsd": { diff --git a/test/loaders.js b/test/loaders.js index 4e34cafe..ba39b0b9 100644 --- a/test/loaders.js +++ b/test/loaders.js @@ -253,11 +253,6 @@ test('disable cache for each loader', async (t) => { name: 'Buddy' }, params: {} - }, { - obj: { - name: 'Max' - }, - params: {} }]) return queries.map(({ obj }) => { return { ...owners[obj.name] } @@ -994,7 +989,7 @@ test('should not pass info to loader if cache is enabled', async (t) => { }) }) -test('loaders create batching resolvers', { only: true }, async (t) => { +test('loaders create batching resolvers', async (t) => { const app = Fastify() const loaders = { @@ -1019,11 +1014,6 @@ test('loaders create batching resolvers', { only: true }, async (t) => { name: 'Buddy' }, params: {} - }, { - obj: { - name: 'Max' - }, - params: {} }]) return queries.map(({ obj }) => { return { ...owners[obj.name] }