@graphql-hive/gateway 1.15.5-alpha-eb38a746874e12ee5537f43da79e4e0106e96d55 → 1.15.5-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
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 +16 -11
- package/dist/bin.cjs +1 -2
- package/dist/bin.js +1 -2
- package/dist/{cli-alHIBXXa.cjs → cli-CMbaq0WA.cjs} +35 -9
- package/dist/{cli-DtJc9b-G.js → cli-DDV6HZa-.js} +35 -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 +12 -12
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
## 1.15.5-alpha-
|
3
|
+
## 1.15.5-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
@@ -15,17 +15,22 @@
|
|
15
15
|
- [#1325](https://github.com/graphql-hive/gateway/pull/1325) [`910ff77`](https://github.com/graphql-hive/gateway/commit/910ff777ce787297cece37ec66c3382bc292412b) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
16
16
|
- Updated dependency [`dotenv@^17.2.0` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.0) (from `^16.4.7`, in `dependencies`)
|
17
17
|
|
18
|
-
-
|
19
|
-
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
18
|
+
- [#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:
|
19
|
+
- Updated dependency [`graphql-ws@^6.0.6` ↗︎](https://www.npmjs.com/package/graphql-ws/v/6.0.6) (from `^6.0.4`, in `dependencies`)
|
20
|
+
|
21
|
+
- [#1333](https://github.com/graphql-hive/gateway/pull/1333) [`8c9b7da`](https://github.com/graphql-hive/gateway/commit/8c9b7da45e73ee5ba874fc5552f73b7d7987e3df) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Isomorphic environment variable getter with truthy value parsing
|
22
|
+
|
23
|
+
- 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), [`8c9b7da`](https://github.com/graphql-hive/gateway/commit/8c9b7da45e73ee5ba874fc5552f73b7d7987e3df), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1)]:
|
24
|
+
- @graphql-hive/gateway-runtime@1.10.0-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
25
|
+
- @graphql-hive/plugin-aws-sigv4@1.0.16-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
26
|
+
- @graphql-mesh/plugin-jwt-auth@1.5.7-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
27
|
+
- @graphql-mesh/plugin-prometheus@1.3.51-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
28
|
+
- @graphql-mesh/transport-ws@1.0.11-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
24
29
|
- @graphql-hive/plugin-deduplicate-request@1.0.1
|
25
|
-
- @graphql-mesh/hmac-upstream-signature@1.2.29-alpha-
|
26
|
-
- @graphql-mesh/plugin-opentelemetry@1.3.63-alpha-
|
27
|
-
- @graphql-mesh/transport-http@0.6.44-alpha-
|
28
|
-
- @graphql-mesh/transport-http-callback@0.6.3-alpha-
|
30
|
+
- @graphql-mesh/hmac-upstream-signature@1.2.29-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
31
|
+
- @graphql-mesh/plugin-opentelemetry@1.3.63-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
32
|
+
- @graphql-mesh/transport-http@0.6.44-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
33
|
+
- @graphql-mesh/transport-http-callback@0.6.3-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259
|
29
34
|
|
30
35
|
## 1.15.4
|
31
36
|
|
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-CMbaq0WA.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-DDV6HZa-.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';
|
@@ -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,31 @@ 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 strToBool(str) {
|
44
|
+
return ["1", "t", "true", "y", "yes", "on", "enabled"].includes(
|
45
|
+
(str || "").toLowerCase()
|
46
|
+
);
|
47
|
+
}
|
48
|
+
function isDebug() {
|
49
|
+
return getEnvBool("DEBUG");
|
50
|
+
}
|
51
|
+
|
28
52
|
const unit = Object.create(null);
|
29
53
|
const m = 60000, h = m * 60, d = h * 24, y = d * 365.25;
|
30
54
|
|
@@ -189,7 +213,7 @@ class JSONLogger {
|
|
189
213
|
this.name = opts?.name;
|
190
214
|
this.console = opts?.console || console;
|
191
215
|
this.meta = opts?.meta || {};
|
192
|
-
const debugStrs = [
|
216
|
+
const debugStrs = [getEnvStr("DEBUG"), globalThis.DEBUG];
|
193
217
|
if (opts?.level != null) {
|
194
218
|
this.logLevel = opts.level;
|
195
219
|
} else {
|
@@ -324,7 +348,7 @@ class JSONLogger {
|
|
324
348
|
}
|
325
349
|
|
326
350
|
function getDefaultLogger(opts) {
|
327
|
-
const logFormat =
|
351
|
+
const logFormat = getEnvStr("LOG_FORMAT") || globalThis.LOG_FORMAT;
|
328
352
|
if (logFormat) {
|
329
353
|
if (logFormat.toLowerCase() === "json") {
|
330
354
|
return new JSONLogger(opts);
|
@@ -332,7 +356,7 @@ function getDefaultLogger(opts) {
|
|
332
356
|
return new utils.DefaultLogger(opts?.name, opts?.level);
|
333
357
|
}
|
334
358
|
}
|
335
|
-
const nodeEnv =
|
359
|
+
const nodeEnv = getEnvStr("NODE_ENV") || globalThis.NODE_ENV;
|
336
360
|
if (nodeEnv === "production") {
|
337
361
|
return new JSONLogger(opts);
|
338
362
|
}
|
@@ -1302,7 +1326,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1302
1326
|
process.exit(1);
|
1303
1327
|
}
|
1304
1328
|
return runSupergraph(ctx, config);
|
1305
|
-
}).allowUnknownOption(
|
1329
|
+
}).allowUnknownOption(getEnvStr("NODE_ENV") === "test").allowExcessArguments(getEnvStr("NODE_ENV") === "test");
|
1306
1330
|
async function runSupergraph({ log }, config) {
|
1307
1331
|
let absSchemaPath = null;
|
1308
1332
|
if (typeof config.supergraph === "string" && utils$1.isValidPath(config.supergraph) && !utils.isUrl(config.supergraph)) {
|
@@ -1421,7 +1445,7 @@ function defineConfig(config) {
|
|
1421
1445
|
}
|
1422
1446
|
const maxFork = getMaxConcurrency();
|
1423
1447
|
const defaultOptions = {
|
1424
|
-
fork:
|
1448
|
+
fork: getEnvStr("NODE_ENV") === "production" ? maxFork : 1,
|
1425
1449
|
host: node_os.platform().toLowerCase() === "win32" || // is WSL?
|
1426
1450
|
node_os.release().toLowerCase().includes("microsoft") ? "127.0.0.1" : "0.0.0.0",
|
1427
1451
|
port: 4e3,
|
@@ -1530,9 +1554,11 @@ let cli = new extraTypings.Command().configureHelp({
|
|
1530
1554
|
).option("--disable-websockets", "Disable WebSockets support").addOption(
|
1531
1555
|
new extraTypings.Option(
|
1532
1556
|
"--jit",
|
1533
|
-
"Enable Just-In-Time compilation of GraphQL documents"
|
1557
|
+
"Enable Just-In-Time compilation of GraphQL documents (env: JIT)"
|
1534
1558
|
).env("JIT")
|
1535
|
-
)
|
1559
|
+
).on("optionEnv:jit", function() {
|
1560
|
+
this.setOptionValueWithSource("jit", getEnvBool("JIT"), "env");
|
1561
|
+
});
|
1536
1562
|
async function run(userCtx) {
|
1537
1563
|
const ctx = {
|
1538
1564
|
log: userCtx.log || getDefaultLogger(),
|
@@ -1556,7 +1582,7 @@ async function run(userCtx) {
|
|
1556
1582
|
function handleNodeWarnings() {
|
1557
1583
|
const originalProcessEmitWarning = process.emitWarning.bind(process);
|
1558
1584
|
process.emitWarning = function gatewayEmitWarning(warning, ...opts) {
|
1559
|
-
if (
|
1585
|
+
if (isDebug()) {
|
1560
1586
|
originalProcessEmitWarning(warning, ...opts);
|
1561
1587
|
}
|
1562
1588
|
};
|
@@ -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,31 @@ 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 strToBool(str) {
|
37
|
+
return ["1", "t", "true", "y", "yes", "on", "enabled"].includes(
|
38
|
+
(str || "").toLowerCase()
|
39
|
+
);
|
40
|
+
}
|
41
|
+
function isDebug() {
|
42
|
+
return getEnvBool("DEBUG");
|
43
|
+
}
|
44
|
+
|
21
45
|
const unit = Object.create(null);
|
22
46
|
const m = 60000, h = m * 60, d = h * 24, y = d * 365.25;
|
23
47
|
|
@@ -182,7 +206,7 @@ class JSONLogger {
|
|
182
206
|
this.name = opts?.name;
|
183
207
|
this.console = opts?.console || console;
|
184
208
|
this.meta = opts?.meta || {};
|
185
|
-
const debugStrs = [
|
209
|
+
const debugStrs = [getEnvStr("DEBUG"), globalThis.DEBUG];
|
186
210
|
if (opts?.level != null) {
|
187
211
|
this.logLevel = opts.level;
|
188
212
|
} else {
|
@@ -317,7 +341,7 @@ class JSONLogger {
|
|
317
341
|
}
|
318
342
|
|
319
343
|
function getDefaultLogger(opts) {
|
320
|
-
const logFormat =
|
344
|
+
const logFormat = getEnvStr("LOG_FORMAT") || globalThis.LOG_FORMAT;
|
321
345
|
if (logFormat) {
|
322
346
|
if (logFormat.toLowerCase() === "json") {
|
323
347
|
return new JSONLogger(opts);
|
@@ -325,7 +349,7 @@ function getDefaultLogger(opts) {
|
|
325
349
|
return new DefaultLogger(opts?.name, opts?.level);
|
326
350
|
}
|
327
351
|
}
|
328
|
-
const nodeEnv =
|
352
|
+
const nodeEnv = getEnvStr("NODE_ENV") || globalThis.NODE_ENV;
|
329
353
|
if (nodeEnv === "production") {
|
330
354
|
return new JSONLogger(opts);
|
331
355
|
}
|
@@ -1295,7 +1319,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1295
1319
|
process.exit(1);
|
1296
1320
|
}
|
1297
1321
|
return runSupergraph(ctx, config);
|
1298
|
-
}).allowUnknownOption(
|
1322
|
+
}).allowUnknownOption(getEnvStr("NODE_ENV") === "test").allowExcessArguments(getEnvStr("NODE_ENV") === "test");
|
1299
1323
|
async function runSupergraph({ log }, config) {
|
1300
1324
|
let absSchemaPath = null;
|
1301
1325
|
if (typeof config.supergraph === "string" && isValidPath(config.supergraph) && !isUrl(config.supergraph)) {
|
@@ -1414,7 +1438,7 @@ function defineConfig(config) {
|
|
1414
1438
|
}
|
1415
1439
|
const maxFork = getMaxConcurrency();
|
1416
1440
|
const defaultOptions = {
|
1417
|
-
fork:
|
1441
|
+
fork: getEnvStr("NODE_ENV") === "production" ? maxFork : 1,
|
1418
1442
|
host: platform().toLowerCase() === "win32" || // is WSL?
|
1419
1443
|
release().toLowerCase().includes("microsoft") ? "127.0.0.1" : "0.0.0.0",
|
1420
1444
|
port: 4e3,
|
@@ -1523,9 +1547,11 @@ let cli = new Command().configureHelp({
|
|
1523
1547
|
).option("--disable-websockets", "Disable WebSockets support").addOption(
|
1524
1548
|
new Option(
|
1525
1549
|
"--jit",
|
1526
|
-
"Enable Just-In-Time compilation of GraphQL documents"
|
1550
|
+
"Enable Just-In-Time compilation of GraphQL documents (env: JIT)"
|
1527
1551
|
).env("JIT")
|
1528
|
-
)
|
1552
|
+
).on("optionEnv:jit", function() {
|
1553
|
+
this.setOptionValueWithSource("jit", getEnvBool("JIT"), "env");
|
1554
|
+
});
|
1529
1555
|
async function run(userCtx) {
|
1530
1556
|
const ctx = {
|
1531
1557
|
log: userCtx.log || getDefaultLogger(),
|
@@ -1549,7 +1575,7 @@ async function run(userCtx) {
|
|
1549
1575
|
function handleNodeWarnings() {
|
1550
1576
|
const originalProcessEmitWarning = process.emitWarning.bind(process);
|
1551
1577
|
process.emitWarning = function gatewayEmitWarning(warning, ...opts) {
|
1552
|
-
if (
|
1578
|
+
if (isDebug()) {
|
1553
1579
|
originalProcessEmitWarning(warning, ...opts);
|
1554
1580
|
}
|
1555
1581
|
};
|
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-CMbaq0WA.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-DDV6HZa-.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.15.5-alpha-
|
3
|
+
"version": "1.15.5-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
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-alpha-
|
56
|
+
"@graphql-hive/gateway-runtime": "1.10.0-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
57
57
|
"@graphql-hive/importer": "^1.1.0",
|
58
|
-
"@graphql-hive/plugin-aws-sigv4": "1.0.16-alpha-
|
58
|
+
"@graphql-hive/plugin-aws-sigv4": "1.0.16-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
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-alpha-
|
66
|
+
"@graphql-mesh/hmac-upstream-signature": "1.2.29-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
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-alpha-
|
69
|
+
"@graphql-mesh/plugin-jwt-auth": "1.5.7-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
70
70
|
"@graphql-mesh/plugin-mock": "^0.105.6",
|
71
|
-
"@graphql-mesh/plugin-opentelemetry": "1.3.63-alpha-
|
72
|
-
"@graphql-mesh/plugin-prometheus": "1.3.51-alpha-
|
71
|
+
"@graphql-mesh/plugin-opentelemetry": "1.3.63-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
72
|
+
"@graphql-mesh/plugin-prometheus": "1.3.51-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
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-alpha-
|
76
|
-
"@graphql-mesh/transport-http-callback": "0.6.3-alpha-
|
77
|
-
"@graphql-mesh/transport-ws": "1.0.11-alpha-
|
75
|
+
"@graphql-mesh/transport-http": "0.6.44-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
76
|
+
"@graphql-mesh/transport-http-callback": "0.6.3-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
77
|
+
"@graphql-mesh/transport-ws": "1.0.11-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
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",
|
@@ -84,13 +84,13 @@
|
|
84
84
|
"@graphql-yoga/render-graphiql": "^5.15.1",
|
85
85
|
"commander": "^13.1.0",
|
86
86
|
"dotenv": "^17.2.0",
|
87
|
-
"graphql-ws": "^6.0.
|
87
|
+
"graphql-ws": "^6.0.6",
|
88
88
|
"graphql-yoga": "^5.15.1",
|
89
89
|
"tslib": "^2.8.1",
|
90
90
|
"ws": "^8.18.3"
|
91
91
|
},
|
92
92
|
"devDependencies": {
|
93
|
-
"@graphql-mesh/transport-common": "0.7.36-alpha-
|
93
|
+
"@graphql-mesh/transport-common": "0.7.36-alpha-d4f741e08c6f2acbba680b513f4f098be9be5259",
|
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",
|