@graphql-codegen/gql-tag-operations 5.0.2 → 5.0.3-alpha-20251026044844-6ee4e1742d150b58e85966497b272148292e17e1
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.
- package/cjs/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -37,7 +37,7 @@ const plugin = (_, __, { sourcesWithOperations, useTypeImports, augmentedModuleN
|
|
|
37
37
|
code.push([...getDocumentRegistryChunk(sourcesWithOperations)].join(''));
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
code.push('const documents =
|
|
40
|
+
code.push('const documents = {};');
|
|
41
41
|
}
|
|
42
42
|
code.push([
|
|
43
43
|
`\n`,
|
package/esm/index.js
CHANGED
|
@@ -34,7 +34,7 @@ export const plugin = (_, __, { sourcesWithOperations, useTypeImports, augmented
|
|
|
34
34
|
code.push([...getDocumentRegistryChunk(sourcesWithOperations)].join(''));
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
code.push('const documents =
|
|
37
|
+
code.push('const documents = {};');
|
|
38
38
|
}
|
|
39
39
|
code.push([
|
|
40
40
|
`\n`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/gql-tag-operations",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3-alpha-20251026044844-6ee4e1742d150b58e85966497b272148292e17e1",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating a typed gql tag function",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"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"
|