diff --git a/CHANGELOG.md b/CHANGELOG.md index e70023dd33a..c2c3a0d6e46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## Apollo Client 3.5.1 (unreleased) +- Remove npm from dependencies, and avoid referencing graphql-js enum value
[@brainkim](https://github.com/brainkim) in [#9030](https://github.com/apollographql/apollo-client/pull/9030) + ## Apollo Client 3.5.0 (2021-11-08) ### Improvements diff --git a/package.json b/package.json index 0d9948f5e44..c609e9a26ff 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,6 @@ "@wry/trie": "^0.3.0", "graphql-tag": "^2.12.3", "hoist-non-react-statics": "^3.3.2", - "npm": "^7.24.2", "optimism": "^0.16.1", "prop-types": "^15.7.2", "symbol-observable": "^4.0.0", diff --git a/src/utilities/graphql/fragments.ts b/src/utilities/graphql/fragments.ts index 92f1b4a1188..5c0ad42b8b9 100644 --- a/src/utilities/graphql/fragments.ts +++ b/src/utilities/graphql/fragments.ts @@ -5,11 +5,11 @@ import { FragmentDefinitionNode, InlineFragmentNode, SelectionNode, - OperationTypeNode, } from 'graphql'; // TODO(brian): A hack until this issue is resolved (https://github.com/graphql/graphql-js/issues/3356) type Kind = any; +type OperationTypeNode = any; /** * Returns a query document which adds a single query operation that only * spreads the target fragment inside of it.