@graphql-hive/gateway 1.16.0-rc-b2977bccfb75b691a8bbc3b1cc9772ae6e7407bb → 1.16.0-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
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 +13 -11
- package/dist/bin.cjs +1 -2
- package/dist/bin.js +1 -2
- package/dist/{cli-DtJc9b-G.js → cli-BFgyRHpc.js} +38 -9
- package/dist/{cli-alHIBXXa.cjs → cli-zNcDKN5C.cjs} +38 -9
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
## 1.16.0-rc-
|
3
|
+
## 1.16.0-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
4
4
|
|
5
5
|
### Minor Changes
|
6
6
|
|
@@ -79,17 +79,19 @@
|
|
79
79
|
- [#1329](https://github.com/graphql-hive/gateway/pull/1329) [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
80
80
|
- Updated dependency [`graphql-ws@^6.0.6` ↗︎](https://www.npmjs.com/package/graphql-ws/v/6.0.6) (from `^6.0.4`, in `dependencies`)
|
81
81
|
|
82
|
-
-
|
83
|
-
|
84
|
-
|
85
|
-
- @graphql-
|
86
|
-
- @graphql-
|
87
|
-
- @graphql-mesh/
|
82
|
+
- [#1333](https://github.com/graphql-hive/gateway/pull/1333) [`ffa3753`](https://github.com/graphql-hive/gateway/commit/ffa3753ccb9045c5b2d62af05edc7f1d78336cb3) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Isomorphic environment variable getter with truthy value parsing
|
83
|
+
|
84
|
+
- Updated dependencies [[`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`f12f2b7`](https://github.com/graphql-hive/gateway/commit/f12f2b78163fbef797a42b5999a0b5a8ef6b2c98), [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d), [`ffa3753`](https://github.com/graphql-hive/gateway/commit/ffa3753ccb9045c5b2d62af05edc7f1d78336cb3), [`2fa0c8f`](https://github.com/graphql-hive/gateway/commit/2fa0c8f1dd074c9da8e6ac4086eb3009be9fdf07), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1)]:
|
85
|
+
- @graphql-hive/gateway-runtime@1.10.0-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
86
|
+
- @graphql-hive/plugin-aws-sigv4@1.0.16-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
87
|
+
- @graphql-mesh/plugin-jwt-auth@1.5.7-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
88
|
+
- @graphql-mesh/plugin-prometheus@1.3.51-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
89
|
+
- @graphql-mesh/transport-ws@1.0.11-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
88
90
|
- @graphql-hive/plugin-deduplicate-request@1.0.1
|
89
|
-
- @graphql-mesh/hmac-upstream-signature@1.2.29-rc-
|
90
|
-
- @graphql-mesh/plugin-opentelemetry@1.3.63-rc-
|
91
|
-
- @graphql-mesh/transport-http@0.6.44-rc-
|
92
|
-
- @graphql-mesh/transport-http-callback@0.6.3-rc-
|
91
|
+
- @graphql-mesh/hmac-upstream-signature@1.2.29-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
92
|
+
- @graphql-mesh/plugin-opentelemetry@1.3.63-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
93
|
+
- @graphql-mesh/transport-http@0.6.44-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
94
|
+
- @graphql-mesh/transport-http-callback@0.6.3-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04
|
93
95
|
|
94
96
|
## 1.15.4
|
95
97
|
|
package/dist/bin.cjs
CHANGED
@@ -2,13 +2,12 @@
|
|
2
2
|
|
3
3
|
require('dotenv/config');
|
4
4
|
var module$1 = require('node:module');
|
5
|
-
var cli = require('./cli-
|
5
|
+
var cli = require('./cli-zNcDKN5C.cjs');
|
6
6
|
require('node:cluster');
|
7
7
|
require('node:os');
|
8
8
|
require('node:path');
|
9
9
|
require('@commander-js/extra-typings');
|
10
10
|
require('@graphql-yoga/render-graphiql');
|
11
|
-
require('@graphql-mesh/cross-helpers');
|
12
11
|
require('@graphql-mesh/utils');
|
13
12
|
require('@graphql-hive/gateway-runtime');
|
14
13
|
require('@graphql-hive/pubsub');
|
package/dist/bin.js
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import 'dotenv/config';
|
3
3
|
import module from 'node:module';
|
4
|
-
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, c as getDefaultLogger, r as run } from './cli-
|
4
|
+
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, c as getDefaultLogger, r as run } from './cli-BFgyRHpc.js';
|
5
5
|
import 'node:cluster';
|
6
6
|
import 'node:os';
|
7
7
|
import 'node:path';
|
8
8
|
import '@commander-js/extra-typings';
|
9
9
|
import '@graphql-yoga/render-graphiql';
|
10
|
-
import '@graphql-mesh/cross-helpers';
|
11
10
|
import '@graphql-mesh/utils';
|
12
11
|
import '@graphql-hive/gateway-runtime';
|
13
12
|
import '@graphql-hive/pubsub';
|
@@ -4,7 +4,6 @@ import { availableParallelism, freemem, platform, release } from 'node:os';
|
|
4
4
|
import { join, isAbsolute, resolve } from 'node:path';
|
5
5
|
import { Option, Command, InvalidArgumentError } from '@commander-js/extra-typings';
|
6
6
|
import { renderGraphiQL } from '@graphql-yoga/render-graphiql';
|
7
|
-
import { process as process$1 } from '@graphql-mesh/cross-helpers';
|
8
7
|
import { LogLevel, DefaultLogger, registerTerminateHandler, isUrl } from '@graphql-mesh/utils';
|
9
8
|
import { getGraphQLWSOptions, handleLoggingConfig as handleLoggingConfig$1, createGatewayRuntime } from '@graphql-hive/gateway-runtime';
|
10
9
|
import { PubSub } from '@graphql-hive/pubsub';
|
@@ -18,6 +17,34 @@ import { CodeFileLoader } from '@graphql-tools/code-file-loader';
|
|
18
17
|
import { GraphQLFileLoader } from '@graphql-tools/graphql-file-loader';
|
19
18
|
import { loadTypedefs } from '@graphql-tools/load';
|
20
19
|
|
20
|
+
function getEnvStr(key, opts = {}) {
|
21
|
+
const globalThat = opts.globalThis ?? globalThis;
|
22
|
+
let variable = globalThat.process?.env?.[key] || // @ts-expect-error can exist in wrangler and maybe other runtimes
|
23
|
+
globalThat.env?.[key] || // @ts-expect-error can exist in deno
|
24
|
+
globalThat.Deno?.env?.get(key) || // @ts-expect-error could be
|
25
|
+
globalThat[key];
|
26
|
+
if (variable != null) {
|
27
|
+
variable += "";
|
28
|
+
} else {
|
29
|
+
variable = void 0;
|
30
|
+
}
|
31
|
+
return variable?.trim();
|
32
|
+
}
|
33
|
+
function getEnvBool(key, opts = {}) {
|
34
|
+
return strToBool(getEnvStr(key, opts));
|
35
|
+
}
|
36
|
+
function getNodeEnv(opts = {}) {
|
37
|
+
return getEnvStr("NODE_ENV", opts);
|
38
|
+
}
|
39
|
+
function strToBool(str) {
|
40
|
+
return ["1", "t", "true", "y", "yes", "on", "enabled"].includes(
|
41
|
+
(str || "").toLowerCase()
|
42
|
+
);
|
43
|
+
}
|
44
|
+
function isDebug() {
|
45
|
+
return getEnvBool("DEBUG");
|
46
|
+
}
|
47
|
+
|
21
48
|
const unit = Object.create(null);
|
22
49
|
const m = 60000, h = m * 60, d = h * 24, y = d * 365.25;
|
23
50
|
|
@@ -182,7 +209,7 @@ class JSONLogger {
|
|
182
209
|
this.name = opts?.name;
|
183
210
|
this.console = opts?.console || console;
|
184
211
|
this.meta = opts?.meta || {};
|
185
|
-
const debugStrs = [
|
212
|
+
const debugStrs = [getEnvStr("DEBUG"), globalThis.DEBUG];
|
186
213
|
if (opts?.level != null) {
|
187
214
|
this.logLevel = opts.level;
|
188
215
|
} else {
|
@@ -317,7 +344,7 @@ class JSONLogger {
|
|
317
344
|
}
|
318
345
|
|
319
346
|
function getDefaultLogger(opts) {
|
320
|
-
const logFormat =
|
347
|
+
const logFormat = getEnvStr("LOG_FORMAT") || globalThis.LOG_FORMAT;
|
321
348
|
if (logFormat) {
|
322
349
|
if (logFormat.toLowerCase() === "json") {
|
323
350
|
return new JSONLogger(opts);
|
@@ -325,7 +352,7 @@ function getDefaultLogger(opts) {
|
|
325
352
|
return new DefaultLogger(opts?.name, opts?.level);
|
326
353
|
}
|
327
354
|
}
|
328
|
-
const nodeEnv =
|
355
|
+
const nodeEnv = getNodeEnv();
|
329
356
|
if (nodeEnv === "production") {
|
330
357
|
return new JSONLogger(opts);
|
331
358
|
}
|
@@ -1295,7 +1322,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1295
1322
|
process.exit(1);
|
1296
1323
|
}
|
1297
1324
|
return runSupergraph(ctx, config);
|
1298
|
-
}).allowUnknownOption(
|
1325
|
+
}).allowUnknownOption(getNodeEnv() === "test").allowExcessArguments(getNodeEnv() === "test");
|
1299
1326
|
async function runSupergraph({ log }, config) {
|
1300
1327
|
let absSchemaPath = null;
|
1301
1328
|
if (typeof config.supergraph === "string" && isValidPath(config.supergraph) && !isUrl(config.supergraph)) {
|
@@ -1414,7 +1441,7 @@ function defineConfig(config) {
|
|
1414
1441
|
}
|
1415
1442
|
const maxFork = getMaxConcurrency();
|
1416
1443
|
const defaultOptions = {
|
1417
|
-
fork:
|
1444
|
+
fork: getNodeEnv() === "production" ? maxFork : 1,
|
1418
1445
|
host: platform().toLowerCase() === "win32" || // is WSL?
|
1419
1446
|
release().toLowerCase().includes("microsoft") ? "127.0.0.1" : "0.0.0.0",
|
1420
1447
|
port: 4e3,
|
@@ -1523,9 +1550,11 @@ let cli = new Command().configureHelp({
|
|
1523
1550
|
).option("--disable-websockets", "Disable WebSockets support").addOption(
|
1524
1551
|
new Option(
|
1525
1552
|
"--jit",
|
1526
|
-
"Enable Just-In-Time compilation of GraphQL documents"
|
1553
|
+
"Enable Just-In-Time compilation of GraphQL documents (env: JIT)"
|
1527
1554
|
).env("JIT")
|
1528
|
-
)
|
1555
|
+
).on("optionEnv:jit", function() {
|
1556
|
+
this.setOptionValueWithSource("jit", getEnvBool("JIT"), "env");
|
1557
|
+
});
|
1529
1558
|
async function run(userCtx) {
|
1530
1559
|
const ctx = {
|
1531
1560
|
log: userCtx.log || getDefaultLogger(),
|
@@ -1549,7 +1578,7 @@ async function run(userCtx) {
|
|
1549
1578
|
function handleNodeWarnings() {
|
1550
1579
|
const originalProcessEmitWarning = process.emitWarning.bind(process);
|
1551
1580
|
process.emitWarning = function gatewayEmitWarning(warning, ...opts) {
|
1552
|
-
if (
|
1581
|
+
if (isDebug()) {
|
1553
1582
|
originalProcessEmitWarning(warning, ...opts);
|
1554
1583
|
}
|
1555
1584
|
};
|
@@ -6,7 +6,6 @@ var node_os = require('node:os');
|
|
6
6
|
var node_path = require('node:path');
|
7
7
|
var extraTypings = require('@commander-js/extra-typings');
|
8
8
|
var renderGraphiql = require('@graphql-yoga/render-graphiql');
|
9
|
-
var crossHelpers = require('@graphql-mesh/cross-helpers');
|
10
9
|
var utils = require('@graphql-mesh/utils');
|
11
10
|
var gatewayRuntime = require('@graphql-hive/gateway-runtime');
|
12
11
|
var pubsub = require('@graphql-hive/pubsub');
|
@@ -25,6 +24,34 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
25
24
|
var cluster__default = /*#__PURE__*/_interopDefault(cluster);
|
26
25
|
var module__default = /*#__PURE__*/_interopDefault(module$1);
|
27
26
|
|
27
|
+
function getEnvStr(key, opts = {}) {
|
28
|
+
const globalThat = opts.globalThis ?? globalThis;
|
29
|
+
let variable = globalThat.process?.env?.[key] || // @ts-expect-error can exist in wrangler and maybe other runtimes
|
30
|
+
globalThat.env?.[key] || // @ts-expect-error can exist in deno
|
31
|
+
globalThat.Deno?.env?.get(key) || // @ts-expect-error could be
|
32
|
+
globalThat[key];
|
33
|
+
if (variable != null) {
|
34
|
+
variable += "";
|
35
|
+
} else {
|
36
|
+
variable = void 0;
|
37
|
+
}
|
38
|
+
return variable?.trim();
|
39
|
+
}
|
40
|
+
function getEnvBool(key, opts = {}) {
|
41
|
+
return strToBool(getEnvStr(key, opts));
|
42
|
+
}
|
43
|
+
function getNodeEnv(opts = {}) {
|
44
|
+
return getEnvStr("NODE_ENV", opts);
|
45
|
+
}
|
46
|
+
function strToBool(str) {
|
47
|
+
return ["1", "t", "true", "y", "yes", "on", "enabled"].includes(
|
48
|
+
(str || "").toLowerCase()
|
49
|
+
);
|
50
|
+
}
|
51
|
+
function isDebug() {
|
52
|
+
return getEnvBool("DEBUG");
|
53
|
+
}
|
54
|
+
|
28
55
|
const unit = Object.create(null);
|
29
56
|
const m = 60000, h = m * 60, d = h * 24, y = d * 365.25;
|
30
57
|
|
@@ -189,7 +216,7 @@ class JSONLogger {
|
|
189
216
|
this.name = opts?.name;
|
190
217
|
this.console = opts?.console || console;
|
191
218
|
this.meta = opts?.meta || {};
|
192
|
-
const debugStrs = [
|
219
|
+
const debugStrs = [getEnvStr("DEBUG"), globalThis.DEBUG];
|
193
220
|
if (opts?.level != null) {
|
194
221
|
this.logLevel = opts.level;
|
195
222
|
} else {
|
@@ -324,7 +351,7 @@ class JSONLogger {
|
|
324
351
|
}
|
325
352
|
|
326
353
|
function getDefaultLogger(opts) {
|
327
|
-
const logFormat =
|
354
|
+
const logFormat = getEnvStr("LOG_FORMAT") || globalThis.LOG_FORMAT;
|
328
355
|
if (logFormat) {
|
329
356
|
if (logFormat.toLowerCase() === "json") {
|
330
357
|
return new JSONLogger(opts);
|
@@ -332,7 +359,7 @@ function getDefaultLogger(opts) {
|
|
332
359
|
return new utils.DefaultLogger(opts?.name, opts?.level);
|
333
360
|
}
|
334
361
|
}
|
335
|
-
const nodeEnv =
|
362
|
+
const nodeEnv = getNodeEnv();
|
336
363
|
if (nodeEnv === "production") {
|
337
364
|
return new JSONLogger(opts);
|
338
365
|
}
|
@@ -1302,7 +1329,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1302
1329
|
process.exit(1);
|
1303
1330
|
}
|
1304
1331
|
return runSupergraph(ctx, config);
|
1305
|
-
}).allowUnknownOption(
|
1332
|
+
}).allowUnknownOption(getNodeEnv() === "test").allowExcessArguments(getNodeEnv() === "test");
|
1306
1333
|
async function runSupergraph({ log }, config) {
|
1307
1334
|
let absSchemaPath = null;
|
1308
1335
|
if (typeof config.supergraph === "string" && utils$1.isValidPath(config.supergraph) && !utils.isUrl(config.supergraph)) {
|
@@ -1421,7 +1448,7 @@ function defineConfig(config) {
|
|
1421
1448
|
}
|
1422
1449
|
const maxFork = getMaxConcurrency();
|
1423
1450
|
const defaultOptions = {
|
1424
|
-
fork:
|
1451
|
+
fork: getNodeEnv() === "production" ? maxFork : 1,
|
1425
1452
|
host: node_os.platform().toLowerCase() === "win32" || // is WSL?
|
1426
1453
|
node_os.release().toLowerCase().includes("microsoft") ? "127.0.0.1" : "0.0.0.0",
|
1427
1454
|
port: 4e3,
|
@@ -1530,9 +1557,11 @@ let cli = new extraTypings.Command().configureHelp({
|
|
1530
1557
|
).option("--disable-websockets", "Disable WebSockets support").addOption(
|
1531
1558
|
new extraTypings.Option(
|
1532
1559
|
"--jit",
|
1533
|
-
"Enable Just-In-Time compilation of GraphQL documents"
|
1560
|
+
"Enable Just-In-Time compilation of GraphQL documents (env: JIT)"
|
1534
1561
|
).env("JIT")
|
1535
|
-
)
|
1562
|
+
).on("optionEnv:jit", function() {
|
1563
|
+
this.setOptionValueWithSource("jit", getEnvBool("JIT"), "env");
|
1564
|
+
});
|
1536
1565
|
async function run(userCtx) {
|
1537
1566
|
const ctx = {
|
1538
1567
|
log: userCtx.log || getDefaultLogger(),
|
@@ -1556,7 +1585,7 @@ async function run(userCtx) {
|
|
1556
1585
|
function handleNodeWarnings() {
|
1557
1586
|
const originalProcessEmitWarning = process.emitWarning.bind(process);
|
1558
1587
|
process.emitWarning = function gatewayEmitWarning(warning, ...opts) {
|
1559
|
-
if (
|
1588
|
+
if (isDebug()) {
|
1560
1589
|
originalProcessEmitWarning(warning, ...opts);
|
1561
1590
|
}
|
1562
1591
|
};
|
package/dist/index.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var cli = require('./cli-
|
3
|
+
var cli = require('./cli-zNcDKN5C.cjs');
|
4
4
|
var gatewayRuntime = require('@graphql-hive/gateway-runtime');
|
5
5
|
var utils = require('@graphql-mesh/utils');
|
6
6
|
var pubsub = require('@graphql-hive/pubsub');
|
@@ -25,7 +25,6 @@ require('node:os');
|
|
25
25
|
require('node:path');
|
26
26
|
require('@commander-js/extra-typings');
|
27
27
|
require('@graphql-yoga/render-graphiql');
|
28
|
-
require('@graphql-mesh/cross-helpers');
|
29
28
|
require('node:fs/promises');
|
30
29
|
require('node:url');
|
31
30
|
require('node:fs');
|
package/dist/index.d.cts
CHANGED
@@ -107,13 +107,13 @@ interface GatewayCLIHiveReportingOptions extends Omit<GatewayHiveReportingOption
|
|
107
107
|
/**
|
108
108
|
* The target to which the usage data should be reported to.
|
109
109
|
*
|
110
|
-
* @default
|
110
|
+
* @default env.HIVE_USAGE_TARGET
|
111
111
|
*/
|
112
112
|
target?: GatewayHiveReportingOptions['target'];
|
113
113
|
/**
|
114
114
|
* Hive registry access token for usage metrics reporting.
|
115
115
|
*
|
116
|
-
* @default
|
116
|
+
* @default env.HIVE_USAGE_ACCESS_TOKEN || env.HIVE_REGISTRY_TOKEN
|
117
117
|
*/
|
118
118
|
token?: GatewayHiveReportingOptions['token'];
|
119
119
|
}
|
package/dist/index.d.ts
CHANGED
@@ -107,13 +107,13 @@ interface GatewayCLIHiveReportingOptions extends Omit<GatewayHiveReportingOption
|
|
107
107
|
/**
|
108
108
|
* The target to which the usage data should be reported to.
|
109
109
|
*
|
110
|
-
* @default
|
110
|
+
* @default env.HIVE_USAGE_TARGET
|
111
111
|
*/
|
112
112
|
target?: GatewayHiveReportingOptions['target'];
|
113
113
|
/**
|
114
114
|
* Hive registry access token for usage metrics reporting.
|
115
115
|
*
|
116
|
-
* @default
|
116
|
+
* @default env.HIVE_USAGE_ACCESS_TOKEN || env.HIVE_REGISTRY_TOKEN
|
117
117
|
*/
|
118
118
|
token?: GatewayHiveReportingOptions['token'];
|
119
119
|
}
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossible, a as getBuiltinPluginsFromConfig, g as getCacheInstanceFromConfig, h as handleNodeWarnings, r as run } from './cli-
|
1
|
+
export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossible, a as getBuiltinPluginsFromConfig, g as getCacheInstanceFromConfig, h as handleNodeWarnings, r as run } from './cli-BFgyRHpc.js';
|
2
2
|
export * from '@graphql-hive/gateway-runtime';
|
3
3
|
export { DefaultLogger, LogLevel } from '@graphql-mesh/utils';
|
4
4
|
export { PubSub } from '@graphql-hive/pubsub';
|
@@ -24,7 +24,6 @@ import 'node:os';
|
|
24
24
|
import 'node:path';
|
25
25
|
import '@commander-js/extra-typings';
|
26
26
|
import '@graphql-yoga/render-graphiql';
|
27
|
-
import '@graphql-mesh/cross-helpers';
|
28
27
|
import 'node:fs/promises';
|
29
28
|
import 'node:url';
|
30
29
|
import 'node:fs';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-hive/gateway",
|
3
|
-
"version": "1.16.0-rc-
|
3
|
+
"version": "1.16.0-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
4
4
|
"type": "module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -53,9 +53,9 @@
|
|
53
53
|
"@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
|
54
54
|
"@escape.tech/graphql-armor-max-depth": "^2.4.0",
|
55
55
|
"@escape.tech/graphql-armor-max-tokens": "^2.5.0",
|
56
|
-
"@graphql-hive/gateway-runtime": "1.10.0-rc-
|
56
|
+
"@graphql-hive/gateway-runtime": "1.10.0-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
57
57
|
"@graphql-hive/importer": "^1.1.0",
|
58
|
-
"@graphql-hive/plugin-aws-sigv4": "1.0.16-rc-
|
58
|
+
"@graphql-hive/plugin-aws-sigv4": "1.0.16-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
59
59
|
"@graphql-hive/plugin-deduplicate-request": "^1.0.1",
|
60
60
|
"@graphql-hive/pubsub": "^1.0.0",
|
61
61
|
"@graphql-mesh/cache-cfw-kv": "^0.105.5",
|
@@ -63,18 +63,18 @@
|
|
63
63
|
"@graphql-mesh/cache-redis": "^0.104.5",
|
64
64
|
"@graphql-mesh/cache-upstash-redis": "^0.1.5",
|
65
65
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
66
|
-
"@graphql-mesh/hmac-upstream-signature": "1.2.29-rc-
|
66
|
+
"@graphql-mesh/hmac-upstream-signature": "1.2.29-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
67
67
|
"@graphql-mesh/plugin-http-cache": "^0.105.6",
|
68
68
|
"@graphql-mesh/plugin-jit": "^0.2.5",
|
69
|
-
"@graphql-mesh/plugin-jwt-auth": "1.5.7-rc-
|
69
|
+
"@graphql-mesh/plugin-jwt-auth": "1.5.7-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
70
70
|
"@graphql-mesh/plugin-mock": "^0.105.6",
|
71
|
-
"@graphql-mesh/plugin-opentelemetry": "1.3.63-rc-
|
72
|
-
"@graphql-mesh/plugin-prometheus": "1.3.51-rc-
|
71
|
+
"@graphql-mesh/plugin-opentelemetry": "1.3.63-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
72
|
+
"@graphql-mesh/plugin-prometheus": "1.3.51-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
73
73
|
"@graphql-mesh/plugin-rate-limit": "^0.104.5",
|
74
74
|
"@graphql-mesh/plugin-snapshot": "^0.104.5",
|
75
|
-
"@graphql-mesh/transport-http": "0.6.44-rc-
|
76
|
-
"@graphql-mesh/transport-http-callback": "0.6.3-rc-
|
77
|
-
"@graphql-mesh/transport-ws": "1.0.11-rc-
|
75
|
+
"@graphql-mesh/transport-http": "0.6.44-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
76
|
+
"@graphql-mesh/transport-http-callback": "0.6.3-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
77
|
+
"@graphql-mesh/transport-ws": "1.0.11-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
78
78
|
"@graphql-mesh/types": "^0.104.5",
|
79
79
|
"@graphql-mesh/utils": "^0.104.5",
|
80
80
|
"@graphql-tools/code-file-loader": "^8.1.15",
|
@@ -90,7 +90,7 @@
|
|
90
90
|
"ws": "^8.18.3"
|
91
91
|
},
|
92
92
|
"devDependencies": {
|
93
|
-
"@graphql-mesh/transport-common": "0.7.36-rc-
|
93
|
+
"@graphql-mesh/transport-common": "0.7.36-rc-9b901857f3fe9fe929db9310adba0c02b16c0c04",
|
94
94
|
"@graphql-mesh/transport-soap": "^0.10.6",
|
95
95
|
"@graphql-tools/executor": "^1.4.7",
|
96
96
|
"@rollup/plugin-commonjs": "^28.0.0",
|