@depup/graphql-tools__delegate 12.2.0-depup.1 → 12.2.1-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 +6 -3
- package/changes.json +14 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/package.json +19 -7
package/README.md
CHANGED
|
@@ -13,15 +13,18 @@ npm install @depup/graphql-tools__delegate
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@graphql-tools/delegate](https://www.npmjs.com/package/@graphql-tools/delegate) @ 12.2.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [@graphql-tools/delegate](https://www.npmjs.com/package/@graphql-tools/delegate) @ 12.2.1 |
|
|
17
|
+
| Processed | 2026-10-08 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
|
-
| Deps updated |
|
|
19
|
+
| Deps updated | 5 |
|
|
20
20
|
|
|
21
21
|
## Dependency Changes
|
|
22
22
|
|
|
23
23
|
| Dependency | From | To |
|
|
24
24
|
|------------|------|-----|
|
|
25
|
+
| @graphql-tools/executor | ^2.0.1 | ^2.0.3 |
|
|
26
|
+
| @graphql-tools/schema | ^10.1.1 | ^10.1.3 |
|
|
27
|
+
| @graphql-tools/utils | ^12.0.1 | ^12.0.3 |
|
|
25
28
|
| @repeaterjs/repeater | ^3.0.6 | ^3.1.0 |
|
|
26
29
|
| @whatwg-node/promise-helpers | ^1.3.2 | ^2.0.0 |
|
|
27
30
|
|
package/changes.json
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bumped": {
|
|
3
|
+
"@graphql-tools/executor": {
|
|
4
|
+
"from": "^2.0.1",
|
|
5
|
+
"to": "^2.0.3"
|
|
6
|
+
},
|
|
7
|
+
"@graphql-tools/schema": {
|
|
8
|
+
"from": "^10.1.1",
|
|
9
|
+
"to": "^10.1.3"
|
|
10
|
+
},
|
|
11
|
+
"@graphql-tools/utils": {
|
|
12
|
+
"from": "^12.0.1",
|
|
13
|
+
"to": "^12.0.3"
|
|
14
|
+
},
|
|
3
15
|
"@repeaterjs/repeater": {
|
|
4
16
|
"from": "^3.0.6",
|
|
5
17
|
"to": "^3.1.0"
|
|
@@ -9,6 +21,6 @@
|
|
|
9
21
|
"to": "^2.0.0"
|
|
10
22
|
}
|
|
11
23
|
},
|
|
12
|
-
"timestamp": "2026-
|
|
13
|
-
"totalUpdated":
|
|
24
|
+
"timestamp": "2026-10-08T16:11:15.582Z",
|
|
25
|
+
"totalUpdated": 5
|
|
14
26
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -3075,7 +3075,7 @@ function delegateToSchema(options) {
|
|
|
3075
3075
|
}
|
|
3076
3076
|
}
|
|
3077
3077
|
const fragments = info ? getFragmentDefinitions(info) : void 0;
|
|
3078
|
-
const targetRootType = operation ===
|
|
3078
|
+
const targetRootType = operation === "mutation" ? targetSchema.getMutationType() : operation === "subscription" ? targetSchema.getSubscriptionType() : targetSchema.getQueryType();
|
|
3079
3079
|
const request = createRequest({
|
|
3080
3080
|
subgraphName: schema.name,
|
|
3081
3081
|
fragments,
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memoize2, memoize1, collectFields, relocatedError, mergeDeep, promiseReduce, pathToArray, memoize3, getDefinedRootType, createGraphQLError, implementsAbstractType, getRootTypeNames, astFromArg, astFromValueUntyped, asArray, isAsyncIterable, getOperationASTFromRequest } from '@graphql-tools/utils';
|
|
2
2
|
export { createDeferred } from '@graphql-tools/utils';
|
|
3
|
-
import { GraphQLError, locatedError, isAbstractType, getNullableType, isLeafType, isCompositeType, isListType, responsePathAsArray, Kind, TypeInfo, versionInfo, visit, visitWithTypeInfo, isNullableType, isUnionType, getNamedType, isObjectType, isInterfaceType, typeFromAST, isTypeSubTypeOf, isNonNullType, isInputObjectType, defaultFieldResolver, isSchema,
|
|
3
|
+
import { GraphQLError, locatedError, isAbstractType, getNullableType, isLeafType, isCompositeType, isListType, responsePathAsArray, Kind, TypeInfo, versionInfo, visit, visitWithTypeInfo, isNullableType, isUnionType, getNamedType, isObjectType, isInterfaceType, typeFromAST, isTypeSubTypeOf, isNonNullType, isInputObjectType, defaultFieldResolver, isSchema, validate } from 'graphql';
|
|
4
4
|
import { handleMaybePromise, isPromise, createDeferredPromise, mapAsyncIterator } from '@whatwg-node/promise-helpers';
|
|
5
5
|
import { CRITICAL_ERROR, executorFromSchema } from '@graphql-tools/executor';
|
|
6
6
|
export { executorFromSchema as createDefaultExecutor } from '@graphql-tools/executor';
|
|
@@ -3075,7 +3075,7 @@ function delegateToSchema(options) {
|
|
|
3075
3075
|
}
|
|
3076
3076
|
}
|
|
3077
3077
|
const fragments = info ? getFragmentDefinitions(info) : void 0;
|
|
3078
|
-
const targetRootType = operation ===
|
|
3078
|
+
const targetRootType = operation === "mutation" ? targetSchema.getMutationType() : operation === "subscription" ? targetSchema.getSubscriptionType() : targetSchema.getQueryType();
|
|
3079
3079
|
const request = createRequest({
|
|
3080
3080
|
subgraphName: schema.name,
|
|
3081
3081
|
fragments,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/graphql-tools__delegate",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.1-depup.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of utils for faster development of GraphQL tools (with updated dependencies)",
|
|
6
6
|
"repository": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@graphql-tools/batch-execute": "^10.2.0",
|
|
43
|
-
"@graphql-tools/executor": "^2.0.
|
|
44
|
-
"@graphql-tools/schema": "^10.1.
|
|
45
|
-
"@graphql-tools/utils": "^12.0.
|
|
43
|
+
"@graphql-tools/executor": "^2.0.3",
|
|
44
|
+
"@graphql-tools/schema": "^10.1.3",
|
|
45
|
+
"@graphql-tools/utils": "^12.0.3",
|
|
46
46
|
"@repeaterjs/repeater": "^3.1.0",
|
|
47
47
|
"@whatwg-node/promise-helpers": "^2.0.0",
|
|
48
48
|
"dataloader": "^2.2.3",
|
|
@@ -64,6 +64,18 @@
|
|
|
64
64
|
],
|
|
65
65
|
"depup": {
|
|
66
66
|
"changes": {
|
|
67
|
+
"@graphql-tools/executor": {
|
|
68
|
+
"from": "^2.0.1",
|
|
69
|
+
"to": "^2.0.3"
|
|
70
|
+
},
|
|
71
|
+
"@graphql-tools/schema": {
|
|
72
|
+
"from": "^10.1.1",
|
|
73
|
+
"to": "^10.1.3"
|
|
74
|
+
},
|
|
75
|
+
"@graphql-tools/utils": {
|
|
76
|
+
"from": "^12.0.1",
|
|
77
|
+
"to": "^12.0.3"
|
|
78
|
+
},
|
|
67
79
|
"@repeaterjs/repeater": {
|
|
68
80
|
"from": "^3.0.6",
|
|
69
81
|
"to": "^3.1.0"
|
|
@@ -73,10 +85,10 @@
|
|
|
73
85
|
"to": "^2.0.0"
|
|
74
86
|
}
|
|
75
87
|
},
|
|
76
|
-
"depsUpdated":
|
|
88
|
+
"depsUpdated": 5,
|
|
77
89
|
"originalPackage": "@graphql-tools/delegate",
|
|
78
|
-
"originalVersion": "12.2.
|
|
79
|
-
"processedAt": "2026-
|
|
90
|
+
"originalVersion": "12.2.1",
|
|
91
|
+
"processedAt": "2026-10-08T16:11:24.502Z",
|
|
80
92
|
"smokeTest": "passed"
|
|
81
93
|
}
|
|
82
94
|
}
|