@graphql-codegen/visitor-plugin-common 4.0.0-alpha-20230517082014-2124ae2d4 → 4.0.0-alpha-20230517125937-e585db7bd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,6 @@ class ClientSideBaseVisitor extends base_visitor_js_1.BaseVisitor {
112
112
  }
113
113
  _gql(node) {
114
114
  const includeNestedFragments = this.config.documentMode === DocumentMode.documentNode ||
115
- this.config.documentMode === DocumentMode.string ||
116
115
  (this.config.dedupeFragments && node.kind === 'OperationDefinition');
117
116
  const fragmentNames = this._extractFragments(node, includeNestedFragments);
118
117
  const fragments = this._transformFragments(fragmentNames);
@@ -108,7 +108,6 @@ export class ClientSideBaseVisitor extends BaseVisitor {
108
108
  }
109
109
  _gql(node) {
110
110
  const includeNestedFragments = this.config.documentMode === DocumentMode.documentNode ||
111
- this.config.documentMode === DocumentMode.string ||
112
111
  (this.config.dedupeFragments && node.kind === 'OperationDefinition');
113
112
  const fragmentNames = this._extractFragments(node, includeNestedFragments);
114
113
  const fragments = this._transformFragments(fragmentNames);
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-codegen/visitor-plugin-common",
3
- "version": "4.0.0-alpha-20230517082014-2124ae2d4",
3
+ "version": "4.0.0-alpha-20230517125937-e585db7bd",
4
4
  "peerDependencies": {
5
5
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
6
6
  },
7
7
  "dependencies": {
8
8
  "@graphql-tools/optimize": "^1.3.0",
9
- "@graphql-codegen/plugin-helpers": "4.2.1-alpha-20230517082014-2124ae2d4",
9
+ "@graphql-codegen/plugin-helpers": "4.2.1-alpha-20230517125937-e585db7bd",
10
10
  "@graphql-tools/relay-operation-optimizer": "^6.5.0",
11
11
  "@graphql-tools/utils": "^9.0.0",
12
12
  "auto-bind": "~4.0.0",