mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix(deps): update dependency graphql-subscriptions to v3 (#1209)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [graphql-subscriptions](https://redirect.github.com/apollographql/graphql-subscriptions) | [`^2.0.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/graphql-subscriptions/2.0.0/3.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>apollographql/graphql-subscriptions (graphql-subscriptions)</summary> ### [`v3.0.0`](https://redirect.github.com/apollographql/graphql-subscriptions/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://redirect.github.com/apollographql/graphql-subscriptions/compare/v2.0.0...v3.0.0) - **\[BREAKING]** Replace `iterall` use with native `Symbol.asyncIterator`. `PubSubEngine.asyncIterator` is now `PubSubEngine.asyncIterableIterator`. <br/> [@​n1ru4l](https://redirect.github.com/n1ru4l) in [#​232](https://redirect.github.com/apollographql/graphql-subscriptions/pull/232) - Add an optional generic type map to `PubSub`. <br/> [@​cursorsdottsx](https://redirect.github.com/cursorsdottsx) in [#​245](https://redirect.github.com/apollographql/graphql-subscriptions/pull/245) - Support `readonly` arrays of event names. <br/> [@​rh389](https://redirect.github.com/rh389) in [#​234](https://redirect.github.com/apollographql/graphql-subscriptions/pull/234) - Support returning a Promise of an `AsyncIterator` as the `withFilter` resolver function. <br/> [@​maclockard](https://redirect.github.com/maclockard) in [#​220](https://redirect.github.com/apollographql/graphql-subscriptions/pull/220) - `withFilter` TypeScript improvements. <br/> [@​HofmannZ](https://redirect.github.com/HofmannZ) in [#​230](https://redirect.github.com/apollographql/graphql-subscriptions/pull/230) - `withFilter` returns `AsyncIterableIterator` for compatibility with Apollo Server subscriptions. <br/> [@​tninesling](https://redirect.github.com/tninesling) in [#​276](https://redirect.github.com/apollographql/graphql-subscriptions/pull/276) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/unraid/api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Eli Bosley <ekbosley@gmail.com>
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
"graphql": "^16.9.0",
|
||||
"graphql-fields": "^2.0.3",
|
||||
"graphql-scalars": "^1.23.0",
|
||||
"graphql-subscriptions": "^2.0.0",
|
||||
"graphql-subscriptions": "^3.0.0",
|
||||
"graphql-tag": "^2.12.6",
|
||||
"graphql-type-json": "^0.3.2",
|
||||
"graphql-type-uuid": "^0.2.0",
|
||||
|
||||
@@ -28,5 +28,5 @@ export const pubsub = new PubSub({ eventEmitter });
|
||||
* @param channel The pubsub channel to subscribe to.
|
||||
*/
|
||||
export const createSubscription = (channel: PUBSUB_CHANNEL) => {
|
||||
return pubsub.asyncIterator(channel);
|
||||
return pubsub.asyncIterableIterator(channel);
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ export const createSubscription = (channel: string, resource?: string) => ({
|
||||
});
|
||||
|
||||
hasSubscribedToChannel(context.websocketId, channel);
|
||||
return pubsub.asyncIterator(channel);
|
||||
return pubsub.asyncIterableIterator(channel);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
13
pnpm-lock.yaml
generated
13
pnpm-lock.yaml
generated
@@ -168,8 +168,8 @@ importers:
|
||||
specifier: ^1.23.0
|
||||
version: 1.24.1(graphql@16.10.0)
|
||||
graphql-subscriptions:
|
||||
specifier: ^2.0.0
|
||||
version: 2.0.0(graphql@16.10.0)
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0(graphql@16.10.0)
|
||||
graphql-tag:
|
||||
specifier: ^2.12.6
|
||||
version: 2.12.6(graphql@16.10.0)
|
||||
@@ -3898,6 +3898,7 @@ packages:
|
||||
'@unraid/libvirt@1.1.3':
|
||||
resolution: {integrity: sha512-aZNHkwgQ/0e+5BE7i3Ru4GC3Ev8fEUlnU0wmTcuSbpN0r74rMpiGwzA/4cqIJU8X+Kj//I80pkUufzXzHmMWwQ==}
|
||||
engines: {node: '>=14'}
|
||||
cpu: [x64, arm64]
|
||||
os: [linux, darwin]
|
||||
|
||||
'@unraid/tailwind-rem-to-rem@1.1.0':
|
||||
@@ -6963,8 +6964,8 @@ packages:
|
||||
peerDependencies:
|
||||
graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
|
||||
|
||||
graphql-subscriptions@2.0.0:
|
||||
resolution: {integrity: sha512-s6k2b8mmt9gF9pEfkxsaO1lTxaySfKoEJzEfmwguBbQ//Oq23hIXCfR1hm4kdh5hnR20RdwB+s3BCb+0duHSZA==}
|
||||
graphql-subscriptions@3.0.0:
|
||||
resolution: {integrity: sha512-kZCdevgmzDjGAOqH7GlDmQXYAkuHoKpMlJrqF40HMPhUhM5ZWSFSxCwD/nSi6AkaijmMfsFhoJRGJ27UseCvRA==}
|
||||
peerDependencies:
|
||||
graphql: ^15.7.2 || ^16.0.0
|
||||
|
||||
@@ -9483,6 +9484,7 @@ packages:
|
||||
engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
|
||||
deprecated: |-
|
||||
You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
|
||||
|
||||
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
|
||||
|
||||
qs@6.13.0:
|
||||
@@ -18931,10 +18933,9 @@ snapshots:
|
||||
graphql: 16.10.0
|
||||
tslib: 2.8.1
|
||||
|
||||
graphql-subscriptions@2.0.0(graphql@16.10.0):
|
||||
graphql-subscriptions@3.0.0(graphql@16.10.0):
|
||||
dependencies:
|
||||
graphql: 16.10.0
|
||||
iterall: 1.3.0
|
||||
|
||||
graphql-tag@2.12.6(graphql@16.10.0):
|
||||
dependencies:
|
||||
|
||||
Reference in New Issue
Block a user