From ead17d2c18a15851ebfbfc42ee8db2654126d12d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 03:34:16 +0300 Subject: [PATCH] chore(deps): update dependency graphql-subscriptions to v3 (#2511) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- .../graphql-modules/tests/subscription.spec.ts | 2 +- yarn.lock | 15 ++++----------- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index db3c08fe8a..1a599417cd 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "express-graphql": "0.12.0", "globby": "14.0.2", "graphql": "16.10.0", - "graphql-subscriptions": "2.0.0", + "graphql-subscriptions": "3.0.0", "graphql-ws": "6.0.1", "husky": "9.1.7", "jest": "29.7.0", diff --git a/packages/graphql-modules/tests/subscription.spec.ts b/packages/graphql-modules/tests/subscription.spec.ts index 01b3649403..5f9995b22b 100644 --- a/packages/graphql-modules/tests/subscription.spec.ts +++ b/packages/graphql-modules/tests/subscription.spec.ts @@ -36,7 +36,7 @@ test('Operation-Scope provider instantiated on every subscription', async () => } listen() { - return this.pubsub.asyncIterator(['MESSAGE']); + return this.pubsub.asyncIterableIterator(['MESSAGE']); } } diff --git a/yarn.lock b/yarn.lock index 7f839a9e7d..fbdbdbe259 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9509,12 +9509,10 @@ graphql-jit@0.8.7: lodash.merge "4.6.2" lodash.mergewith "4.6.2" -graphql-subscriptions@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-2.0.0.tgz#11ec181d475852d8aec879183e8e1eb94f2eb79a" - integrity sha512-s6k2b8mmt9gF9pEfkxsaO1lTxaySfKoEJzEfmwguBbQ//Oq23hIXCfR1hm4kdh5hnR20RdwB+s3BCb+0duHSZA== - dependencies: - iterall "^1.3.0" +graphql-subscriptions@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-3.0.0.tgz#820c846ef271414c08f64827b5c9a192801e1b6f" + integrity sha512-kZCdevgmzDjGAOqH7GlDmQXYAkuHoKpMlJrqF40HMPhUhM5ZWSFSxCwD/nSi6AkaijmMfsFhoJRGJ27UseCvRA== graphql-tag@^2.11.0: version "2.12.6" @@ -10439,11 +10437,6 @@ istanbul-reports@^3.1.3, istanbul-reports@^3.1.6: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -iterall@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" - integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg== - jackspeak@^3.1.2: version "3.4.3" resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a"