Skip to content

Commit

Permalink
fix(deps): update @apollo/client to v3.11.1 (#11071)
Browse files Browse the repository at this point in the history
See: #11034. This was extracted from that one without the experimental
package upgrade.

Hmm looks like we'll have to do some refactoring due to
apollographql/apollo-client#11789.
  • Loading branch information
Josh-Walker-GM committed Jul 24, 2024
1 parent 9197953 commit 2333106
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions packages/forms/src/FormError.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import type { GraphQLError } from 'graphql'
import type { GraphQLFormattedError } from 'graphql'

export interface ServerParseError extends Error {
response: Response
Expand All @@ -16,7 +16,7 @@ export interface ServerError extends Error {

export interface RWGqlError {
message: string
graphQLErrors: ReadonlyArray<GraphQLError>
graphQLErrors: ReadonlyArray<GraphQLFormattedError>
networkError: Error | ServerParseError | ServerError | null
}

Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"test:watch": "vitest watch"
},
"dependencies": {
"@apollo/client": "3.9.9",
"@apollo/client": "3.11.1",
"@babel/runtime-corejs3": "7.24.8",
"@redwoodjs/auth": "workspace:*",
"@redwoodjs/server-store": "workspace:*",
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ __metadata:
languageName: node
linkType: hard

"@apollo/client@npm:3.9.9":
version: 3.9.9
resolution: "@apollo/client@npm:3.9.9"
"@apollo/client@npm:3.11.1":
version: 3.11.1
resolution: "@apollo/client@npm:3.11.1"
dependencies:
"@graphql-typed-document-node/core": "npm:^3.1.1"
"@wry/caches": "npm:^1.0.0"
Expand All @@ -142,7 +142,7 @@ __metadata:
hoist-non-react-statics: "npm:^3.3.2"
optimism: "npm:^0.18.0"
prop-types: "npm:^15.7.2"
rehackt: "npm:0.0.6"
rehackt: "npm:^0.1.0"
response-iterator: "npm:^0.2.6"
symbol-observable: "npm:^4.0.0"
ts-invariant: "npm:^0.10.3"
Expand All @@ -151,8 +151,8 @@ __metadata:
peerDependencies:
graphql: ^15.0.0 || ^16.0.0
graphql-ws: ^5.5.5
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0
subscriptions-transport-ws: ^0.9.0 || ^0.11.0
peerDependenciesMeta:
graphql-ws:
Expand All @@ -163,7 +163,7 @@ __metadata:
optional: true
subscriptions-transport-ws:
optional: true
checksum: 10c0/133e866eeebaceeb8f059d9bde3884f6c362f78d0aa9f4c1c51034af39259b0db154ec77c96fdad28fd7bc3b82ba920586d29aed1920933fabd2c5188b51a2b9
checksum: 10c0/d3a1f30d44d5a84e01538772396e93db4921fcdf99919785688464d487ea00dabfb6ae63ca7e2ebd373eed5d24c134dec6eb4f4d13920044b2ea1f105fa044c4
languageName: node
linkType: hard

Expand Down Expand Up @@ -8750,7 +8750,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@redwoodjs/web@workspace:packages/web"
dependencies:
"@apollo/client": "npm:3.9.9"
"@apollo/client": "npm:3.11.1"
"@apollo/client-react-streaming": "npm:0.10.0"
"@arethetypeswrong/cli": "npm:0.15.3"
"@babel/cli": "npm:7.24.8"
Expand Down Expand Up @@ -25996,9 +25996,9 @@ __metadata:
languageName: node
linkType: hard

"rehackt@npm:0.0.6":
version: 0.0.6
resolution: "rehackt@npm:0.0.6"
"rehackt@npm:^0.1.0":
version: 0.1.0
resolution: "rehackt@npm:0.1.0"
peerDependencies:
"@types/react": "*"
react: "*"
Expand All @@ -26007,7 +26007,7 @@ __metadata:
optional: true
react:
optional: true
checksum: 10c0/814c9b80b2680dc0572639ecad1ed1961b23b606e53a00976ee4c4876f6ed736ea702381235ac40ed2a5c826fb55641b46ae23343e4ddd6378ced1da3d51ada7
checksum: 10c0/3d838bfee84ec06c976f21027936f3b0fdb7660ab8a2d4d3f19c65e0daa78a268aa81352311352b8576b89a074714b36ae6cd5bdadb6e975eca079f2b342de73
languageName: node
linkType: hard

Expand Down

0 comments on commit 2333106

Please sign in to comment.