graphql-server-test 3.13.7 → 3.13.9

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.
@@ -1,7 +1,7 @@
1
- import { getConnections as getPgConnections } from 'pgsql-test';
2
1
  import { getEnvOptions } from '@constructive-io/graphql-env';
2
+ import { getConnections as getPgConnections } from 'pgsql-test';
3
3
  import { createDevTestServer, createTestServer } from './server';
4
- import { createSuperTestAgent, createQueryFn } from './supertest';
4
+ import { createQueryFn, createSuperTestAgent } from './supertest';
5
5
  /**
6
6
  * Creates connections with an HTTP server for SuperTest testing
7
7
  *
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getConnections = void 0;
4
- const pgsql_test_1 = require("pgsql-test");
5
4
  const graphql_env_1 = require("@constructive-io/graphql-env");
5
+ const pgsql_test_1 = require("pgsql-test");
6
6
  const server_1 = require("./server");
7
7
  const supertest_1 = require("./supertest");
8
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-server-test",
3
- "version": "3.13.7",
3
+ "version": "3.13.9",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive GraphQL Server Testing with SuperTest HTTP requests",
6
6
  "main": "index.js",
@@ -31,8 +31,8 @@
31
31
  "devDependencies": {
32
32
  "@0no-co/graphql.web": "^1.2.0",
33
33
  "@agentic-kit/ollama": "2.12.2",
34
- "@constructive-io/graphql-codegen": "^5.13.7",
35
- "@constructive-io/graphql-query": "^4.11.7",
34
+ "@constructive-io/graphql-codegen": "^5.13.9",
35
+ "@constructive-io/graphql-query": "^4.11.9",
36
36
  "@types/express": "^5.0.6",
37
37
  "@types/pg": "^8.20.0",
38
38
  "@types/supertest": "^7.2.0",
@@ -43,18 +43,18 @@
43
43
  "nested-obj": "^0.2.2"
44
44
  },
45
45
  "dependencies": {
46
- "@constructive-io/graphql-dev-server": "^3.12.7",
47
- "@constructive-io/graphql-env": "^3.28.2",
48
- "@constructive-io/graphql-server": "^5.15.0",
49
- "@constructive-io/graphql-types": "^3.27.2",
50
- "@constructive-io/upload-client": "0.25.2",
51
- "@pgpmjs/types": "^2.49.2",
46
+ "@constructive-io/graphql-dev-server": "^3.12.9",
47
+ "@constructive-io/graphql-env": "^3.28.3",
48
+ "@constructive-io/graphql-server": "^5.15.2",
49
+ "@constructive-io/graphql-types": "^3.27.3",
50
+ "@constructive-io/upload-client": "0.25.3",
51
+ "@pgpmjs/types": "^2.49.3",
52
52
  "express": "^5.2.1",
53
- "graphile-schema": "^2.10.7",
53
+ "graphile-schema": "^2.10.9",
54
54
  "graphql": "16.13.0",
55
55
  "pg": "^8.21.0",
56
- "pg-cache": "^3.24.2",
57
- "pgsql-test": "^5.9.7",
56
+ "pg-cache": "^3.24.3",
57
+ "pgsql-test": "^5.9.9",
58
58
  "supertest": "^7.0.0"
59
59
  },
60
60
  "keywords": [
@@ -68,5 +68,5 @@
68
68
  "e2e",
69
69
  "server"
70
70
  ],
71
- "gitHead": "6d3e25dc5c9f93421dba49ddedf93239f87213a8"
71
+ "gitHead": "e6a7a57f88c9deb2a4acecaba2451320d1be8203"
72
72
  }
package/supertest.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import supertest from 'supertest';
2
- import type { ServerInfo, GraphQLQueryFn } from './types';
2
+ import type { GraphQLQueryFn, ServerInfo } from './types';
3
3
  /**
4
4
  * Create a SuperTest agent for the given server
5
5
  */