Skip to content

Commit

Permalink
update dependencies and add beta to react peer range
Browse files Browse the repository at this point in the history
  • Loading branch information
brainkim committed Nov 16, 2021
1 parent f137466 commit 32fa607
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 18 deletions.
39 changes: 26 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,19 @@
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
"react": "^16.8.0 || ^17.0.0",
"subscriptions-transport-ws": "^0.9.0 || ^0.11.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0-beta",
"subscriptions-transport-ws": "^0.9.0 || ^0.11.0",
"use-sync-external-store": "^1.0.0-beta-4ff5f5719-20211115"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"subscriptions-transport-ws": {
"optional": true
},
"use-sync-external-store": {
"optional": true
}
},
"dependencies": {
Expand All @@ -87,7 +91,6 @@
"symbol-observable": "^4.0.0",
"ts-invariant": "^0.9.0",
"tslib": "^2.3.0",
"use-sync-external-store": "0.0.0-experimental-79b8fc667-20210920",
"zen-observable-ts": "^1.2.0"
},
"devDependencies": {
Expand All @@ -105,7 +108,7 @@
"@types/node": "16.11.7",
"@types/react": "17.0.34",
"@types/react-dom": "17.0.2",
"@types/use-sync-external-store": "^0.0.0",
"@types/use-sync-external-store": "^0.0.3",
"bundlesize": "0.18.1",
"cross-fetch": "3.1.4",
"crypto-hash": "1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/react/hooks/useQuery.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useContext, useEffect, useMemo, useRef, useState } from 'react';
import { useSyncExternalStore } from 'use-sync-external-store';
import { useSyncExternalStore } from 'use-sync-external-store/shim';
import { equal } from '@wry/equality';
import { OperationVariables } from '../../core';
import { getApolloContext } from '../context';
Expand Down

0 comments on commit 32fa607

Please sign in to comment.