@depup/graphql-codegen__typescript-operations 6.1.7-depup.0 → 6.1.8-depup.0
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/README.md +2 -2
- package/changes.json +1 -1
- package/cjs/index.js +2 -1
- package/esm/index.js +3 -2
- package/package.json +5 -5
- package/typings/index.d.cts +1 -1
- package/typings/index.d.ts +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/graphql-codegen__typescript-operations
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@graphql-codegen/typescript-operations](https://www.npmjs.com/package/@graphql-codegen/typescript-operations) @ 6.1.
|
|
17
|
-
| Processed | 2026-09-
|
|
16
|
+
| Original | [@graphql-codegen/typescript-operations](https://www.npmjs.com/package/@graphql-codegen/typescript-operations) @ 6.1.8 |
|
|
17
|
+
| Processed | 2026-09-28 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 2 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/cjs/index.js
CHANGED
|
@@ -74,6 +74,7 @@ const plugin = async (inputSchema, rawDocuments, config, { outputFile }) => {
|
|
|
74
74
|
const operationsResult = (0, plugin_helpers_1.oldVisit)(documentsToVisitAST, {
|
|
75
75
|
leave: visitor,
|
|
76
76
|
});
|
|
77
|
+
// FIXME(strict=true) this is the existing logic, casting to avoid runtime differences
|
|
77
78
|
const operationsDefinitions = operationsResult.definitions;
|
|
78
79
|
if (config.addOperationExport) {
|
|
79
80
|
for (const d of allDocumentsAST.definitions) {
|
|
@@ -150,5 +151,5 @@ const semanticToStrict = async (schema) => {
|
|
|
150
151
|
// This helper function filters in nodes that have been turned into strings, i.e. they have been transformed
|
|
151
152
|
// This way, we do not have to explicitly declare a method for every node type to convert them to null
|
|
152
153
|
const findTransformedDefinitions = (visitedResult) => {
|
|
153
|
-
return visitedResult.definitions.filter(def => typeof def === 'string');
|
|
154
|
+
return visitedResult.definitions.filter((def) => typeof def === 'string');
|
|
154
155
|
};
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { concatAST, parse, printIntrospectionSchema, } from 'graphql';
|
|
2
|
-
import { oldVisit } from '@graphql-codegen/plugin-helpers';
|
|
2
|
+
import { oldVisit, } from '@graphql-codegen/plugin-helpers';
|
|
3
3
|
import { transformSchemaAST } from '@graphql-codegen/schema-ast';
|
|
4
4
|
import { optimizeOperations } from '@graphql-codegen/visitor-plugin-common';
|
|
5
5
|
import { TypeScriptDocumentsVisitor } from './visitor.js';
|
|
@@ -37,6 +37,7 @@ export const plugin = async (inputSchema, rawDocuments, config, { outputFile })
|
|
|
37
37
|
const operationsResult = oldVisit(documentsToVisitAST, {
|
|
38
38
|
leave: visitor,
|
|
39
39
|
});
|
|
40
|
+
// FIXME(strict=true) this is the existing logic, casting to avoid runtime differences
|
|
40
41
|
const operationsDefinitions = operationsResult.definitions;
|
|
41
42
|
if (config.addOperationExport) {
|
|
42
43
|
for (const d of allDocumentsAST.definitions) {
|
|
@@ -113,5 +114,5 @@ const semanticToStrict = async (schema) => {
|
|
|
113
114
|
// This helper function filters in nodes that have been turned into strings, i.e. they have been transformed
|
|
114
115
|
// This way, we do not have to explicitly declare a method for every node type to convert them to null
|
|
115
116
|
const findTransformedDefinitions = (visitedResult) => {
|
|
116
|
-
return visitedResult.definitions.filter(def => typeof def === 'string');
|
|
117
|
+
return visitedResult.definitions.filter((def) => typeof def === 'string');
|
|
117
118
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/graphql-codegen__typescript-operations",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.8-depup.0",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating TypeScript types for GraphQL queries, mutations, subscriptions and fragments (with updated dependencies)",
|
|
5
5
|
"peerDependenciesMeta": {
|
|
6
6
|
"graphql-sock": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"graphql-sock": "^1.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@graphql-codegen/plugin-helpers": "^7.
|
|
15
|
+
"@graphql-codegen/plugin-helpers": "^7.4.0",
|
|
16
16
|
"@graphql-codegen/schema-ast": "^6.1.0",
|
|
17
|
-
"@graphql-codegen/visitor-plugin-common": "^7.2.
|
|
17
|
+
"@graphql-codegen/visitor-plugin-common": "^7.2.6",
|
|
18
18
|
"auto-bind": "^5.0.1",
|
|
19
19
|
"tslib": "^2.8.1"
|
|
20
20
|
},
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
},
|
|
73
73
|
"depsUpdated": 2,
|
|
74
74
|
"originalPackage": "@graphql-codegen/typescript-operations",
|
|
75
|
-
"originalVersion": "6.1.
|
|
76
|
-
"processedAt": "2026-09-
|
|
75
|
+
"originalVersion": "6.1.8",
|
|
76
|
+
"processedAt": "2026-09-28T16:10:29.134Z",
|
|
77
77
|
"smokeTest": "passed"
|
|
78
78
|
}
|
|
79
79
|
}
|
package/typings/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PluginFunction, Types } from '@graphql-codegen/plugin-helpers';
|
|
1
|
+
import { type PluginFunction, type Types } from '@graphql-codegen/plugin-helpers';
|
|
2
2
|
import { TypeScriptDocumentsPluginConfig } from './config.cjs';
|
|
3
3
|
import { TypeScriptDocumentsVisitor } from './visitor.cjs';
|
|
4
4
|
export declare const plugin: PluginFunction<TypeScriptDocumentsPluginConfig, Types.ComplexPluginOutput>;
|
package/typings/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PluginFunction, Types } from '@graphql-codegen/plugin-helpers';
|
|
1
|
+
import { type PluginFunction, type Types } from '@graphql-codegen/plugin-helpers';
|
|
2
2
|
import { TypeScriptDocumentsPluginConfig } from './config.js';
|
|
3
3
|
import { TypeScriptDocumentsVisitor } from './visitor.js';
|
|
4
4
|
export declare const plugin: PluginFunction<TypeScriptDocumentsPluginConfig, Types.ComplexPluginOutput>;
|