[Snyk] Upgrade @apollo/client from 3.3.11 to 3.8.8 #1874
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @apollo/client from 3.3.11 to 3.8.8.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
SNYK-JS-APOLLOCLIENT-1085706
Why? Has a fix available, CVSS 5.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @apollo/client
Patch Changes
#11200
ae5091a21
Thanks @ jerelmiller! - Enablestrict
in tsconfig for the entire project.#11332
291aea56b
Thanks @ asvishnyakov! - Add missed reexports of MutationFetchPolicy and RefetchWritePolicy to @ apollo/client/core#10931
e5acf910e
Thanks @ phryneas! -useMutation
: also reset internal state on resetPatch Changes
#11297
c8c76a522
Thanks @ jerelmiller! - Add an explicit return type for theuseReadQuery
hook calledUseReadQueryResult
. Previously the return type of this hook was inferred from the return value.#11337
bb1da8349
Thanks @ phryneas! - #11206 used the TypeScript syntaxinfer X extends Y
that was introduced in TS 4.8.This caused some problems for some users, so we are rolling back to a more backwards-compatible (albeit slightly less performant) type.
Patch Changes
#11291
2be7eafe3
Thanks @ ArioA! - Fix a bug that allows to only callloadErrorMessages
without also callingloadDevErrorMessages
.#11274
b29f000f3
Thanks @ jerelmiller! - Start the query ref auto dispose timeout after the initial promise has settled. This prevents requests that run longer than the timeout duration from keeping the component suspended indefinitely.#11289
b5894dbf0
Thanks @ phryneas! -MockedProvider
: defaultconnectToDevTools
tofalse
in createdApolloClient
instance.This will prevent the mocked
ApolloClient
instance from trying to connect to the DevTools, which would start asetTimeout
that might keep running after a test has finished.#11206
dd2ce7687
Thanks @ phryneas! -cache.modify
: Less strict types & new dev runtime warnings.Patch Changes
#11266
5192cf6e1
Thanks @ phryneas! - Fixes argument handling for invariant log messages.#11235
6cddaaf65
Thanks @ phryneas! - Fix nextFetchPolicy behaviour with transformed documents by keepingoptions
reference stable when passing it through QueryManager.#11252
327a2abbd
Thanks @ phryneas! - Fixes a race condition in asyncMap that caused issues in React Native when errors were returned in the response payload along with a data property that was null.#11229
c372bad4e
Thanks @ phryneas! - Remove (already throwing) SuspenseCache export that should have been removed in 3.8.#11267
bc055e068
Thanks @ phryneas! - Remove some dead code.Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs