Skip to content

Commit

Permalink
more version pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Apr 26, 2024
1 parent e10a769 commit 3af3000
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 66 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
"build:docmodel": "yarn workspaces foreach --all --include \"@apollo/*\" exec api-extractor run"
},
"resolutions": {
"[email protected]": "18.3.0-canary-60a927d04-20240113",
"[email protected]": "18.3.0-canary-60a927d04-20240113",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]",
"@microsoft/api-documenter": "7.24.1"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function WrapApolloProvider<ExtraProps>(
children,
...extraProps
}) => {
const clientRef = useRef<ApolloClient<any>>();
const clientRef = useRef<ApolloClient<any>>(undefined);

if (process.env.REACT_ENV === "ssr") {
if (!clientRef.current) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const buildManualDataTransportSSRImpl = ({
}) {
const insertHtml = useInsertHtml();

const rehydrationContext = useRef<RehydrationContextValue>();
const rehydrationContext = useRef<RehydrationContextValue>(undefined);
if (!rehydrationContext.current) {
rehydrationContext.current = buildApolloRehydrationContext({
insertHtml,
Expand Down
84 changes: 22 additions & 62 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5089,13 +5089,6 @@ __metadata:
languageName: node
linkType: hard

"@types/prop-types@npm:*":
version: 15.7.5
resolution: "@types/prop-types@npm:15.7.5"
checksum: 10/5b43b8b15415e1f298243165f1d44390403bb2bd42e662bca3b5b5633fdd39c938e91b7fce3a9483699db0f7a715d08cef220c121f723a634972fdf596aec980
languageName: node
linkType: hard

"@types/qs@npm:*":
version: 6.9.7
resolution: "@types/qs@npm:6.9.7"
Expand All @@ -5110,49 +5103,21 @@ __metadata:
languageName: node
linkType: hard

"@types/react-dom@npm:18.3.0":
version: 18.3.0
resolution: "@types/react-dom@npm:18.3.0"
"@types/react-dom@npm:[email protected]":
version: 19.0.0-alpha.3
resolution: "types-react-dom@npm:19.0.0-alpha.3"
dependencies:
"@types/react": "npm:*"
checksum: 10/6ff53f5a7b7fba952a68e114d3b542ebdc1e87a794234785ebab0bcd9bde7fb4885f21ebaf93d26dc0a1b5b93287f42cad68b78ae04dddf6b20da7aceff0beaf
languageName: node
linkType: hard

"@types/react-dom@npm:^18.0.0":
version: 18.2.19
resolution: "@types/react-dom@npm:18.2.19"
dependencies:
"@types/react": "npm:*"
checksum: 10/98eb760ce78f1016d97c70f605f0b1a53873a548d3c2192b40c897f694fd9c8bb12baeada16581a9c7b26f5022c1d2613547be98284d8f1b82d1611b1e3e7df0
languageName: node
linkType: hard

"@types/react@npm:*":
version: 18.2.55
resolution: "@types/react@npm:18.2.55"
dependencies:
"@types/prop-types": "npm:*"
"@types/scheduler": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10/bf8fe19e73575489e63c0726355f164157cd69e75f2a862436ad2c0586e732cb953a7255a6bc73145e8f9506ee7a723f9a569ca9a39c53984e5b12b84e1c718a
checksum: 10/21f43e3cbdcf59bc2e6ac71e52161455039ccffab3e61cc0ccbb61fdce9a05d70abfce91ce490a6e63a8aae5f1974acc102dcc40c00b3876e2a0e00158a8533d
languageName: node
linkType: hard

"@types/react@npm:18.3.0":
version: 18.3.0
resolution: "@types/react@npm:18.3.0"
"@types/react@npm:[email protected]":
version: 19.0.0-alpha.3
resolution: "types-react@npm:19.0.0-alpha.3"
dependencies:
"@types/prop-types": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10/2444294740016d61721df9adeb8635658c660c13b0782df9f067260ac6b0a4b71e68245089814ab53264843eb75f81d90f770253b94a13955cc1ddccf3593301
languageName: node
linkType: hard

"@types/scheduler@npm:*":
version: 0.16.2
resolution: "@types/scheduler@npm:0.16.2"
checksum: 10/b6b4dcfeae6deba2e06a70941860fb1435730576d3689225a421280b7742318d1548b3d22c1f66ab68e414f346a9542f29240bc955b6332c5b11e561077583bc
checksum: 10/637a0e905df8a2fc8f6a760e29d8a263dca72459e16e6a5c4bb1c950a3900ece1aaef8f6ca716e0c94a70c3172d8ed2e14e75cc72bedcd8aa6e10f7c7fb3552d
languageName: node
linkType: hard

Expand Down Expand Up @@ -13025,15 +12990,14 @@ __metadata:
languageName: node
linkType: hard

"react-dom@npm:18.3.0":
version: 18.3.0
resolution: "react-dom@npm:18.3.0"
"react-dom@npm:19.0.0-beta-94eed63c49-20240425":
version: 19.0.0-beta-94eed63c49-20240425
resolution: "react-dom@npm:19.0.0-beta-94eed63c49-20240425"
dependencies:
loose-envify: "npm:^1.1.0"
scheduler: "npm:^0.23.1"
scheduler: "npm:0.25.0-beta-94eed63c49-20240425"
peerDependencies:
react: ^18.3.0
checksum: 10/08d6a351fb4032c1b8cd6fc159b4d2d9f1e7ec967f3365f2585d808b381c9e83466dab9b15b72c2162c1a578776044fde641279a55af016473719be66c415408
react: 19.0.0-beta-94eed63c49-20240425
checksum: 10/fe3eb846e83d0295b9efde71eb507ca3607c983bf4d13c9e21552abd3f20064a1fb7f14e7e9cf2cc4b34f7c4f0939d3d1d5d7cc0d21db36c861fe87538e318ce
languageName: node
linkType: hard

Expand Down Expand Up @@ -13179,12 +13143,10 @@ __metadata:
languageName: node
linkType: hard

"react@npm:18.3.0":
version: 18.3.0
resolution: "react@npm:18.3.0"
dependencies:
loose-envify: "npm:^1.1.0"
checksum: 10/17112377dad4e5c868b608be57c8e970a3f6ee6eb6269a5c4c23b11b8b4f393c42a8a046be0c9ddbc5f182b909330ddbecab905bcdea5051b05ec3914491fd79
"react@npm:19.0.0-beta-94eed63c49-20240425":
version: 19.0.0-beta-94eed63c49-20240425
resolution: "react@npm:19.0.0-beta-94eed63c49-20240425"
checksum: 10/fd6f6ef0340f9ec06f497e23eba019edccd724df280c88146ad11dd240c2ae4ee0762e6ecdf68c40a0ffa75be4f5d2e24d6222a0b544f76ac4ab1499b35fdbbd
languageName: node
linkType: hard

Expand Down Expand Up @@ -13812,12 +13774,10 @@ __metadata:
languageName: node
linkType: hard

"scheduler@npm:^0.23.1":
version: 0.23.1
resolution: "scheduler@npm:0.23.1"
dependencies:
loose-envify: "npm:^1.1.0"
checksum: 10/6e194e726210c2d619cbf69a73fdb068cb0c9b0c99222de429ec5fc562c2f28e59a8cb3526e9104e16521e7e57c785a82bc44dd3f78fd0de86aea719a218f3c3
"scheduler@npm:0.25.0-beta-94eed63c49-20240425":
version: 0.25.0-beta-94eed63c49-20240425
resolution: "scheduler@npm:0.25.0-beta-94eed63c49-20240425"
checksum: 10/02a8c46af07e5cb5d80441e7a5a39d6ff29e799cb31f1cad0d396d8f714f945e6cc4df8277e68493ee2785c6e5963d2ab8c74f3bf60c646044759805d52b18e0
languageName: node
linkType: hard

Expand Down

0 comments on commit 3af3000

Please sign in to comment.