Skip to content

Commit 38322fc

Browse files
renovate[bot]github-actions[bot]ardatan
authored
fix(deps): update gateway dependencies (#8145)
* fix(deps): update gateway dependencies * chore(dependencies): updated changesets for modified dependencies * Lets go * chore(dependencies): updated changesets for modified dependencies * Only if 18 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Arda TANRIKULU <[email protected]>
1 parent 232c16d commit 38322fc

File tree

10 files changed

+183
-347
lines changed

10 files changed

+183
-347
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphql-mesh/merger-bare": patch
3+
---
4+
dependencies updates:
5+
- Updated dependency [`@graphql-tools/schema@^10.0.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/schema/v/10.0.13) (from `10.0.12`, in `dependencies`)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@omnigraph/openapi": patch
3+
---
4+
dependencies updates:
5+
- Updated dependency [`@graphql-tools/utils@^10.6.4` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.4) (from `10.6.3`, in `dependencies`)
6+
- Removed dependency [`@graphql-tools/delegate@^10.0.28` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/10.0.28) (from `dependencies`)

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ jobs:
8787
command: yarn test
8888

8989
- name: Run Leak Tests
90-
if: matrix.node-version == 18
9190
uses: nick-fields/retry@v3
9291
with:
9392
timeout_minutes: 10

examples/v1-next/apollo-federation-compatibility/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"start": "node bundle.js"
1616
},
1717
"dependencies": {
18-
"@graphql-hive/gateway": "1.7.0",
18+
"@graphql-hive/gateway": "1.7.1",
1919
"@graphql-yoga/plugin-apollo-inline-trace": "3.10.6",
2020
"concurrently": "9.1.0",
2121
"graphql": "16.9.0",

packages/legacy/mergers/bare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@graphql-mesh/merger-stitching": "0.104.8",
3939
"@graphql-mesh/types": "^0.103.8",
4040
"@graphql-mesh/utils": "^0.103.8",
41-
"@graphql-tools/schema": "10.0.12",
41+
"@graphql-tools/schema": "^10.0.13",
4242
"@graphql-tools/utils": "^10.6.0",
4343
"tslib": "^2.4.0"
4444
},

packages/loaders/openapi/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
"@graphql-mesh/string-interpolation": "^0.5.7",
4141
"@graphql-mesh/types": "^0.103.8",
4242
"@graphql-mesh/utils": "^0.103.8",
43-
"@graphql-tools/delegate": "^10.0.28",
44-
"@graphql-tools/utils": "10.6.3",
43+
"@graphql-tools/utils": "^10.6.4",
4544
"@omnigraph/json-schema": "^0.108.8",
4645
"change-case": "^4.1.2",
4746
"json-machete": "^0.97.5",

packages/loaders/openapi/src/getJSONSchemaOptionsFromOpenAPIOptions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ import {
1616
readFileOrUrl,
1717
sanitizeNameForGraphQL,
1818
} from '@graphql-mesh/utils';
19-
import { createDeferred } from '@graphql-tools/delegate';
20-
import { asArray } from '@graphql-tools/utils';
19+
import { asArray, createDeferred } from '@graphql-tools/utils';
2120
import type {
2221
HTTPMethod,
2322
JSONSchemaHTTPJSONOperationConfig,

packages/loaders/thrift/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"thrift": "^0.21.0"
4747
},
4848
"devDependencies": {
49-
"@graphql-tools/utils": "10.6.3"
49+
"@graphql-tools/utils": "10.6.4"
5050
},
5151
"publishConfig": {
5252
"access": "public",
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
diff --git a/node_modules/jest-leak-detector/build/index.js b/node_modules/jest-leak-detector/build/index.js
2+
index a8ccb1e..70699fd 100644
3+
--- a/node_modules/jest-leak-detector/build/index.js
4+
+++ b/node_modules/jest-leak-detector/build/index.js
5+
@@ -74,26 +74,14 @@ class LeakDetector {
6+
value = null;
7+
}
8+
async isLeaking() {
9+
- this._runGarbageCollector();
10+
+ (0, _v().setFlagsFromString)('--allow-natives-syntax');
11+
12+
// wait some ticks to allow GC to run properly, see https://github.com/nodejs/node/issues/34636#issuecomment-669366235
13+
for (let i = 0; i < 10; i++) {
14+
+ eval('%CollectGarbage(true)');
15+
await tick();
16+
}
17+
return this._isReferenceBeingHeld;
18+
}
19+
- _runGarbageCollector() {
20+
- // @ts-expect-error: not a function on `globalThis`
21+
- const isGarbageCollectorHidden = globalThis.gc == null;
22+
-
23+
- // GC is usually hidden, so we have to expose it before running.
24+
- (0, _v().setFlagsFromString)('--expose-gc');
25+
- (0, _vm().runInNewContext)('gc')();
26+
-
27+
- // The GC was not initially exposed, so let's hide it again.
28+
- if (isGarbageCollectorHidden) {
29+
- (0, _v().setFlagsFromString)('--no-expose-gc');
30+
- }
31+
- }
32+
}
33+
exports.default = LeakDetector;

0 commit comments

Comments
 (0)