Skip to content

Commit e1dc7e1

Browse files
dependabot[bot]theguild-botardatan
authored
Bump the apollo group across 1 directory with 3 updates (#1724)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: theguild-bot <[email protected]> Co-authored-by: Arda TANRIKULU <[email protected]>
1 parent 8bac7ce commit e1dc7e1

File tree

7 files changed

+125
-57
lines changed

7 files changed

+125
-57
lines changed

e2e/launchdarkly-override/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@e2e/launchdarkly-override-example",
33
"private": true,
44
"dependencies": {
5-
"@apollo/subgraph": "2.11.3",
5+
"@apollo/subgraph": "2.12.1",
66
"@launchdarkly/node-server-sdk": "9.10.3",
77
"graphql": "16.12.0",
88
"graphql-yoga": "5.16.2",

e2e/progressive-override/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@e2e/progressive-override-example",
33
"private": true,
44
"dependencies": {
5-
"@apollo/subgraph": "2.11.3",
5+
"@apollo/subgraph": "2.12.1",
66
"graphql": "16.12.0",
77
"graphql-yoga": "5.16.2",
88
"tslib": "^2.8.1"
580 Bytes
Binary file not shown.

examples/launchdarkly-override/package-lock.json

Lines changed: 18 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/launchdarkly-override/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@example/launchdarkly-override",
33
"private": true,
44
"dependencies": {
5-
"@apollo/subgraph": "2.11.3",
5+
"@apollo/subgraph": "2.12.1",
66
"@launchdarkly/node-server-sdk": "9.10.3",
77
"graphql": "16.12.0",
88
"graphql-yoga": "5.16.2",

packages/plugins/jwt-auth/tests/auth-directives.spec.ts

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
useCustomFetch,
55
} from '@graphql-hive/gateway-runtime';
66
import { composeLocalSchemasWithApollo } from '@internal/testing';
7+
import { composeServices } from '@theguild/federation-composition';
78
import { parse, type ExecutionResult } from 'graphql';
89
import { createYoga } from 'graphql-yoga';
910
import jwt from 'jsonwebtoken';
@@ -556,40 +557,41 @@ describe('Auth Directives', () => {
556557
});
557558
});
558559
it('interfaces', async () => {
559-
const subgraphSchema = buildSubgraphSchema({
560-
typeDefs: parse(/* GraphQL */ `
561-
extend schema
562-
@link(
563-
url: "https://specs.apollo.dev/federation/v2.5"
564-
import: ["@authenticated"]
565-
)
560+
const subgraphTypeDefs = parse(/* GraphQL */ `
561+
extend schema
562+
@link(
563+
url: "https://specs.apollo.dev/federation/v2.5"
564+
import: ["@authenticated"]
565+
)
566566
567-
type Query {
568-
posts: [Post!]!
569-
}
567+
type Query {
568+
posts: [Post!]!
569+
}
570570
571-
type User {
572-
id: ID!
573-
username: String
574-
posts: [Post!]!
575-
}
571+
type User {
572+
id: ID!
573+
username: String
574+
posts: [Post!]!
575+
}
576576
577-
interface Post {
578-
id: ID!
579-
author: User!
580-
title: String!
581-
content: String!
582-
}
577+
interface Post {
578+
id: ID!
579+
author: User!
580+
title: String!
581+
content: String!
582+
}
583583
584-
type PrivateBlog implements Post @authenticated {
585-
id: ID!
586-
author: User!
587-
title: String!
588-
content: String!
589-
publishAt: String
590-
allowedViewers: [User!]!
591-
}
592-
`),
584+
type PrivateBlog implements Post @authenticated {
585+
id: ID!
586+
author: User!
587+
title: String!
588+
content: String!
589+
publishAt: String
590+
allowedViewers: [User!]!
591+
}
592+
`);
593+
const subgraphSchema = buildSubgraphSchema({
594+
typeDefs: subgraphTypeDefs,
593595
resolvers: {
594596
Post: {
595597
__resolveType: () => 'PrivateBlog',
@@ -608,13 +610,13 @@ describe('Auth Directives', () => {
608610
const signingKey = 'secret';
609611
await using serveRuntime = createGatewayRuntime<JWTAuthContextExtension>({
610612
supergraph: () =>
611-
composeLocalSchemasWithApollo([
613+
composeServices([
612614
{
613615
name: 'subgraphA',
614-
schema: subgraphSchema,
616+
typeDefs: subgraphTypeDefs,
615617
url: 'http://localhost:4001/graphql',
616618
},
617-
]),
619+
]).supergraphSdl!,
618620
genericAuth: {
619621
mode: 'protect-granular',
620622
resolveUserFn(context) {

yarn.lock

Lines changed: 69 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,18 @@ __metadata:
177177
languageName: node
178178
linkType: hard
179179

180+
"@apollo/composition@npm:2.12.1":
181+
version: 2.12.1
182+
resolution: "@apollo/composition@npm:2.12.1"
183+
dependencies:
184+
"@apollo/federation-internals": "npm:2.12.1"
185+
"@apollo/query-graphs": "npm:2.12.1"
186+
peerDependencies:
187+
graphql: ^16.5.0
188+
checksum: 10c0/b174b48fec654102500c2fe3f70a434403666e9f8886458f5e26279d49f92e29926ccc397d243066120d4b61ab5efd57ffb2e1adfe254478e4cd8e070b6e5876
189+
languageName: node
190+
linkType: hard
191+
180192
"@apollo/federation-internals@npm:2.11.3":
181193
version: 2.11.3
182194
resolution: "@apollo/federation-internals@npm:2.11.3"
@@ -191,13 +203,27 @@ __metadata:
191203
languageName: node
192204
linkType: hard
193205

206+
"@apollo/federation-internals@npm:2.12.1":
207+
version: 2.12.1
208+
resolution: "@apollo/federation-internals@npm:2.12.1"
209+
dependencies:
210+
"@types/uuid": "npm:^9.0.0"
211+
chalk: "npm:^4.1.0"
212+
js-levenshtein: "npm:^1.1.6"
213+
uuid: "npm:^9.0.0"
214+
peerDependencies:
215+
graphql: ^16.5.0
216+
checksum: 10c0/b8e26bc0a9cc28132651c63ffb91cc0fc6c62088bd81c2da389cb7666c33d8401dbc1bff21dd42a09d311bcbb4fb3a3a1aae19f198da775035ce91bcdd50cbe1
217+
languageName: node
218+
linkType: hard
219+
194220
"@apollo/gateway@npm:^2.11.3":
195-
version: 2.11.3
196-
resolution: "@apollo/gateway@npm:2.11.3"
221+
version: 2.12.1
222+
resolution: "@apollo/gateway@npm:2.12.1"
197223
dependencies:
198-
"@apollo/composition": "npm:2.11.3"
199-
"@apollo/federation-internals": "npm:2.11.3"
200-
"@apollo/query-planner": "npm:2.11.3"
224+
"@apollo/composition": "npm:2.12.1"
225+
"@apollo/federation-internals": "npm:2.12.1"
226+
"@apollo/query-planner": "npm:2.12.1"
201227
"@apollo/server-gateway-interface": "npm:^1.1.0"
202228
"@apollo/usage-reporting-protobuf": "npm:^4.1.0"
203229
"@apollo/utils.createhash": "npm:^2.0.0"
@@ -215,7 +241,7 @@ __metadata:
215241
node-fetch: "npm:^2.6.7"
216242
peerDependencies:
217243
graphql: ^16.5.0
218-
checksum: 10c0/df016dd5592d76e33a2929f178b83e8854007e782956abb834ce2f1698973516e43e2c42f055ed357d635012a468059aee4bbe763ce39bd4b360c95c39b9603c
244+
checksum: 10c0/882460964800fac56dd97465ce2b57a79069db7b0142cc142b80dac6726152a3cf8536d04ff1eaf6ec3290e96878ed86360aec53bf05ea06022b3c4faa8c5a71
219245
languageName: node
220246
linkType: hard
221247

@@ -256,19 +282,33 @@ __metadata:
256282
languageName: node
257283
linkType: hard
258284

259-
"@apollo/query-planner@npm:2.11.3":
260-
version: 2.11.3
261-
resolution: "@apollo/query-planner@npm:2.11.3"
285+
"@apollo/query-graphs@npm:2.12.1":
286+
version: 2.12.1
287+
resolution: "@apollo/query-graphs@npm:2.12.1"
262288
dependencies:
263-
"@apollo/federation-internals": "npm:2.11.3"
264-
"@apollo/query-graphs": "npm:2.11.3"
289+
"@apollo/federation-internals": "npm:2.12.1"
290+
deep-equal: "npm:^2.0.5"
291+
ts-graphviz: "npm:^1.5.4"
292+
uuid: "npm:^9.0.0"
293+
peerDependencies:
294+
graphql: ^16.5.0
295+
checksum: 10c0/d9e1c8da185a884562a543586aee112be0ab2633c8b453c1b29e9e93f3bec9562424c5877c8e2e7ea89606fcec7ea404f8d727247fea6187809d196f8d3f2b23
296+
languageName: node
297+
linkType: hard
298+
299+
"@apollo/query-planner@npm:2.12.1":
300+
version: 2.12.1
301+
resolution: "@apollo/query-planner@npm:2.12.1"
302+
dependencies:
303+
"@apollo/federation-internals": "npm:2.12.1"
304+
"@apollo/query-graphs": "npm:2.12.1"
265305
"@apollo/utils.keyvaluecache": "npm:^2.1.0"
266306
chalk: "npm:^4.1.0"
267307
deep-equal: "npm:^2.0.5"
268308
pretty-format: "npm:^29.0.0"
269309
peerDependencies:
270310
graphql: ^16.5.0
271-
checksum: 10c0/d927cdd826a91bdd742d982332cae6ecaae60bb4e740169e64fb0f2a17b9f859eb0c06aa5fee26c54f4d1a5ae9bf4fb1f24fd54729c853b47b2979bda85f7ca4
311+
checksum: 10c0/5281cb15924c6a2daa5da6948ea939c79a4eeca62b04f5c8bb7617d090d93339e235f9f2409865b26c3fa745c9514f4f7006e9a9cdf528480b3544c993562e3a
272312
languageName: node
273313
linkType: hard
274314

@@ -316,8 +356,8 @@ __metadata:
316356
linkType: hard
317357

318358
"@apollo/server@npm:^5.1.0":
319-
version: 5.1.0
320-
resolution: "@apollo/server@npm:5.1.0"
359+
version: 5.2.0
360+
resolution: "@apollo/server@npm:5.2.0"
321361
dependencies:
322362
"@apollo/cache-control-types": "npm:^1.0.3"
323363
"@apollo/server-gateway-interface": "npm:^2.0.0"
@@ -341,7 +381,7 @@ __metadata:
341381
whatwg-mimetype: "npm:^4.0.0"
342382
peerDependencies:
343383
graphql: ^16.11.0
344-
checksum: 10c0/5ae3e6de4144a30107d5108f36603302e61591b730d259b695d9fa06b4b2007c1caa173cdc3d9ec319cf04417ec2e2e9f4163af64aa7be18a2c3545a7da702b6
384+
checksum: 10c0/2500a8244bda60b65b11ba37711039e869c14d7cacae84ddc940b150e824ab684792be39424336c6aba0e8ca5332b945012cf9b05282fdad70ec2416333c484b
345385
languageName: node
346386
linkType: hard
347387

@@ -357,6 +397,18 @@ __metadata:
357397
languageName: node
358398
linkType: hard
359399

400+
"@apollo/subgraph@npm:2.12.1":
401+
version: 2.12.1
402+
resolution: "@apollo/subgraph@npm:2.12.1"
403+
dependencies:
404+
"@apollo/cache-control-types": "npm:^1.0.2"
405+
"@apollo/federation-internals": "npm:2.12.1"
406+
peerDependencies:
407+
graphql: ^16.5.0
408+
checksum: 10c0/42b338161430181ff3e14343644f3371d5b493b10f841fb5dbab1d7e467d76d2be687df41322e79665813dc1b31525f8d5cce1ddbc2efa48ada2a8f523287864
409+
languageName: node
410+
linkType: hard
411+
360412
"@apollo/usage-reporting-protobuf@npm:^4.1.0, @apollo/usage-reporting-protobuf@npm:^4.1.1":
361413
version: 4.1.1
362414
resolution: "@apollo/usage-reporting-protobuf@npm:4.1.1"
@@ -3149,7 +3201,7 @@ __metadata:
31493201
version: 0.0.0-use.local
31503202
resolution: "@e2e/launchdarkly-override-example@workspace:e2e/launchdarkly-override"
31513203
dependencies:
3152-
"@apollo/subgraph": "npm:2.11.3"
3204+
"@apollo/subgraph": "npm:2.12.1"
31533205
"@launchdarkly/node-server-sdk": "npm:9.10.3"
31543206
graphql: "npm:16.12.0"
31553207
graphql-yoga: "npm:5.16.2"
@@ -3350,7 +3402,7 @@ __metadata:
33503402
version: 0.0.0-use.local
33513403
resolution: "@e2e/progressive-override-example@workspace:e2e/progressive-override"
33523404
dependencies:
3353-
"@apollo/subgraph": "npm:2.11.3"
3405+
"@apollo/subgraph": "npm:2.12.1"
33543406
graphql: "npm:16.12.0"
33553407
graphql-yoga: "npm:5.16.2"
33563408
tslib: "npm:^2.8.1"

0 commit comments

Comments
 (0)