@graphql-yoga/nestjs 3.22.0 → 3.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @graphql-yoga/nestjs
2
2
 
3
+ ## 3.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ [[`4b43efd`](https://github.com/graphql-hive/graphql-yoga/commit/4b43efd8f39a7200c4401a5efbd4dbff772b3355)]:
9
+ - graphql-yoga@5.21.1
10
+
3
11
  ## 3.22.0
4
12
 
5
13
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { serverAudits } from 'graphql-http';
2
- import { INestApplication } from '@nestjs/common';
2
+ import type { INestApplication } from '@nestjs/common';
3
3
  import { Test } from '@nestjs/testing';
4
4
  import { fetch } from '@whatwg-node/fetch';
5
5
  import { AppModule } from './fixtures/graphql/app.module';
@@ -1,6 +1,6 @@
1
1
  import { createClient } from 'graphql-ws';
2
2
  import { WebSocket } from 'ws';
3
- import { INestApplication } from '@nestjs/common';
3
+ import type { INestApplication } from '@nestjs/common';
4
4
  import { Test } from '@nestjs/testing';
5
5
  import { AppModule } from './fixtures/graphql/app.module';
6
6
 
@@ -6,7 +6,7 @@ import {
6
6
  GraphQLSchema,
7
7
  GraphQLString,
8
8
  } from 'graphql';
9
- import { INestApplication } from '@nestjs/common';
9
+ import type { INestApplication } from '@nestjs/common';
10
10
  import { Test } from '@nestjs/testing';
11
11
  import { fetch } from '@whatwg-node/fetch';
12
12
  import { AppModule } from './fixtures/graphql/app.module';
@@ -1,6 +1,6 @@
1
1
  import { SubscriptionClient } from 'subscriptions-transport-ws';
2
2
  import { WebSocket } from 'ws';
3
- import { INestApplication } from '@nestjs/common';
3
+ import type { INestApplication } from '@nestjs/common';
4
4
  import { Test } from '@nestjs/testing';
5
5
  import { AppModule } from './fixtures/graphql/app.module';
6
6
 
@@ -1,4 +1,4 @@
1
- import { INestApplication } from '@nestjs/common';
1
+ import type { INestApplication } from '@nestjs/common';
2
2
  import { Test } from '@nestjs/testing';
3
3
  import { fetch } from '@whatwg-node/fetch';
4
4
  import { AppModule } from './fixtures/graphql/app.module';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-yoga/nestjs",
3
- "version": "3.22.0",
3
+ "version": "3.22.1",
4
4
  "description": "GraphQL Yoga driver for NestJS GraphQL.",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -42,7 +42,7 @@ export declare abstract class AbstractYogaDriver<Platform extends YogaDriverPlat
42
42
  preStartHook?: (app: FastifyInstance) => void;
43
43
  }): void;
44
44
  private mergeConditionalSchema;
45
- subscriptionWithFilter<TPayload, TVariables, TContext>(instanceRef: unknown, filterFn: (payload: TPayload, variables: TVariables, context: TContext) => boolean | Promise<boolean>, createSubscribeContext: Function): (...args: [TPayload, TVariables, TContext]) => Promise<import("graphql-yoga").Repeater<TPayload, void, unknown>>;
45
+ subscriptionWithFilter<TPayload, TVariables, TContext>(instanceRef: unknown, filterFn: (payload: TPayload, variables: TVariables, context: TContext) => boolean | Promise<boolean>, createSubscribeContext: Function): (args_0: TPayload, args_1: TVariables, args_2: TContext) => Promise<import("graphql-yoga").Repeater<TPayload, void, unknown>>;
46
46
  }
47
47
  export declare class YogaDriver<Platform extends YogaDriverPlatform = 'express'> extends AbstractYogaDriver<Platform> {
48
48
  private subscriptionService?;
@@ -42,7 +42,7 @@ export declare abstract class AbstractYogaDriver<Platform extends YogaDriverPlat
42
42
  preStartHook?: (app: FastifyInstance) => void;
43
43
  }): void;
44
44
  private mergeConditionalSchema;
45
- subscriptionWithFilter<TPayload, TVariables, TContext>(instanceRef: unknown, filterFn: (payload: TPayload, variables: TVariables, context: TContext) => boolean | Promise<boolean>, createSubscribeContext: Function): (...args: [TPayload, TVariables, TContext]) => Promise<import("graphql-yoga").Repeater<TPayload, void, unknown>>;
45
+ subscriptionWithFilter<TPayload, TVariables, TContext>(instanceRef: unknown, filterFn: (payload: TPayload, variables: TVariables, context: TContext) => boolean | Promise<boolean>, createSubscribeContext: Function): (args_0: TPayload, args_1: TVariables, args_2: TContext) => Promise<import("graphql-yoga").Repeater<TPayload, void, unknown>>;
46
46
  }
47
47
  export declare class YogaDriver<Platform extends YogaDriverPlatform = 'express'> extends AbstractYogaDriver<Platform> {
48
48
  private subscriptionService?;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-yoga/nestjs",
3
- "version": "3.22.0",
3
+ "version": "3.22.1",
4
4
  "type": "module",
5
5
  "description": "GraphQL Yoga driver for NestJS GraphQL.",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  "@nestjs/core": "^11.0.0",
47
47
  "@nestjs/graphql": "^13.0.0",
48
48
  "graphql": "^15.0.0 || ^16.0.0",
49
- "graphql-yoga": "^5.21.0"
49
+ "graphql-yoga": "^5.21.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nestjs/common": "^11.0.0",
@@ -60,7 +60,7 @@
60
60
  "@types/ws": "^8.5.4",
61
61
  "@whatwg-node/fetch": "^0.10.6",
62
62
  "express": "^5.2.0",
63
- "fastify": "5.8.3",
63
+ "fastify": "5.8.5",
64
64
  "glob": "^13.0.0",
65
65
  "graphql": "16.12.0",
66
66
  "graphql-http": "^1.18.0",
@@ -71,7 +71,7 @@
71
71
  "subscriptions-transport-ws": "^0.11.0",
72
72
  "tslib": "^2.8.1",
73
73
  "ws": "^8.12.1",
74
- "graphql-yoga": "^5.21.0"
74
+ "graphql-yoga": "^5.21.1"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"
@@ -81,6 +81,6 @@
81
81
  "definition": "dist/typings/index.d.ts"
82
82
  },
83
83
  "scripts": {
84
- "check": "tsc --pretty --noEmit"
84
+ "check": "tsgo --pretty --noEmit"
85
85
  }
86
86
  }