Skip to content

Commit 080aea6

Browse files
committed
fix(deps): update dependency graphql-yoga to v5.13.3 (#845)
1 parent fda7c04 commit 080aea6

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

packages/graphql-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"graphql": "16.12.0",
5656
"graphql-scalars": "1.25.0",
5757
"graphql-tag": "2.12.6",
58-
"graphql-yoga": "5.13.2",
58+
"graphql-yoga": "5.13.3",
5959
"lodash": "4.17.21",
6060
"uuid": "10.0.0"
6161
},

packages/graphql-server/src/plugins/useRedwoodError.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,14 @@ export const useRedwoodError = (
3535
payload,
3636
({ result, setResult }) => {
3737
const errors = result.errors?.map((error) => {
38-
if (
39-
error.originalError &&
40-
error.originalError instanceof RedwoodError
41-
) {
38+
if (error.originalError instanceof RedwoodError) {
4239
logger.debug(
4340
{ custom: { name: error.originalError.name } },
4441
'Converting RedwoodError to GraphQLError',
4542
)
43+
4644
return createGraphQLError(error.message, {
4745
extensions: error.extensions,
48-
originalError: error,
4946
})
5047
} else {
5148
return error

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3693,7 +3693,7 @@ __metadata:
36933693
graphql: "npm:16.12.0"
36943694
graphql-scalars: "npm:1.25.0"
36953695
graphql-tag: "npm:2.12.6"
3696-
graphql-yoga: "npm:5.13.2"
3696+
graphql-yoga: "npm:5.13.3"
36973697
jsonwebtoken: "npm:9.0.3"
36983698
lodash: "npm:4.17.21"
36993699
publint: "npm:0.3.16"
@@ -7031,7 +7031,7 @@ __metadata:
70317031
languageName: node
70327032
linkType: hard
70337033

7034-
"@graphql-yoga/subscription@npm:5.0.5, @graphql-yoga/subscription@npm:^5.0.3":
7034+
"@graphql-yoga/subscription@npm:5.0.5, @graphql-yoga/subscription@npm:^5.0.4":
70357035
version: 5.0.5
70367036
resolution: "@graphql-yoga/subscription@npm:5.0.5"
70377037
dependencies:
@@ -12558,7 +12558,7 @@ __metadata:
1255812558
languageName: node
1255912559
linkType: hard
1256012560

12561-
"@whatwg-node/server@npm:0.10.17, @whatwg-node/server@npm:^0.10.1":
12561+
"@whatwg-node/server@npm:0.10.17, @whatwg-node/server@npm:^0.10.2":
1256212562
version: 0.10.17
1256312563
resolution: "@whatwg-node/server@npm:0.10.17"
1256412564
dependencies:
@@ -19363,26 +19363,26 @@ __metadata:
1936319363
languageName: node
1936419364
linkType: hard
1936519365

19366-
"graphql-yoga@npm:5.13.2":
19367-
version: 5.13.2
19368-
resolution: "graphql-yoga@npm:5.13.2"
19366+
"graphql-yoga@npm:5.13.3":
19367+
version: 5.13.3
19368+
resolution: "graphql-yoga@npm:5.13.3"
1936919369
dependencies:
1937019370
"@envelop/core": "npm:^5.2.3"
1937119371
"@envelop/instrumentation": "npm:^1.0.0"
1937219372
"@graphql-tools/executor": "npm:^1.4.0"
1937319373
"@graphql-tools/schema": "npm:^10.0.11"
1937419374
"@graphql-tools/utils": "npm:^10.6.2"
1937519375
"@graphql-yoga/logger": "npm:^2.0.1"
19376-
"@graphql-yoga/subscription": "npm:^5.0.3"
19376+
"@graphql-yoga/subscription": "npm:^5.0.4"
1937719377
"@whatwg-node/fetch": "npm:^0.10.5"
1937819378
"@whatwg-node/promise-helpers": "npm:^1.2.4"
19379-
"@whatwg-node/server": "npm:^0.10.1"
19379+
"@whatwg-node/server": "npm:^0.10.2"
1938019380
dset: "npm:^3.1.4"
1938119381
lru-cache: "npm:^10.0.0"
1938219382
tslib: "npm:^2.8.1"
1938319383
peerDependencies:
1938419384
graphql: ^15.2.0 || ^16.0.0
19385-
checksum: 10c0/c89823f36e661fb5b45e0ba038e85f3feece658bf29a947a550454491f442270684160490756656d11380202a25d26818c9fe48b9d09b4e73cc16a838196d376
19385+
checksum: 10c0/fb124ecba20c377d661af499d14ea5127693306f6f12d6ae259b058f3bca1f9b49582b9da7c3151df1212bb832ab4e23b4235571a305c54306340403e7b3ca52
1938619386
languageName: node
1938719387
linkType: hard
1938819388

0 commit comments

Comments
 (0)