@depup/graphql-tools__batch-execute 10.0.9-depup.12 → 10.1.0-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 +3 -3
- package/changes.json +2 -2
- package/dist/index.cjs +6 -2
- package/dist/index.js +6 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/graphql-tools__batch-execute
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@graphql-tools/batch-execute](https://www.npmjs.com/package/@graphql-tools/batch-execute) @ 10.0
|
|
17
|
-
| Processed | 2026-08
|
|
16
|
+
| Original | [@graphql-tools/batch-execute](https://www.npmjs.com/package/@graphql-tools/batch-execute) @ 10.1.0 |
|
|
17
|
+
| Processed | 2026-09-08 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 1 |
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ npm install @depup/graphql-tools__batch-execute
|
|
|
22
22
|
|
|
23
23
|
| Dependency | From | To |
|
|
24
24
|
|------------|------|-----|
|
|
25
|
-
| @graphql-tools/utils | ^11.0.0 | ^12.0.
|
|
25
|
+
| @graphql-tools/utils | ^11.0.0 | ^12.0.1 |
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
package/changes.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -313,9 +313,13 @@ function splitResult({ data, errors }, numResults) {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
+
const isRootDataNull = data === null;
|
|
316
317
|
for (let i = 0; i < numResults; i++) {
|
|
317
|
-
|
|
318
|
-
|
|
318
|
+
const splitResult2 = splitResults[i];
|
|
319
|
+
if (splitResult2 == null) {
|
|
320
|
+
splitResults[i] = { data: isRootDataNull ? null : {} };
|
|
321
|
+
} else if (isRootDataNull && splitResult2.data === void 0) {
|
|
322
|
+
splitResult2.data = null;
|
|
319
323
|
}
|
|
320
324
|
}
|
|
321
325
|
return splitResults;
|
package/dist/index.js
CHANGED
|
@@ -307,9 +307,13 @@ function splitResult({ data, errors }, numResults) {
|
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
+
const isRootDataNull = data === null;
|
|
310
311
|
for (let i = 0; i < numResults; i++) {
|
|
311
|
-
|
|
312
|
-
|
|
312
|
+
const splitResult2 = splitResults[i];
|
|
313
|
+
if (splitResult2 == null) {
|
|
314
|
+
splitResults[i] = { data: isRootDataNull ? null : {} };
|
|
315
|
+
} else if (isRootDataNull && splitResult2.data === void 0) {
|
|
316
|
+
splitResult2.data = null;
|
|
313
317
|
}
|
|
314
318
|
}
|
|
315
319
|
return splitResults;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/graphql-tools__batch-execute",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.1.0-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": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@graphql-tools/utils": "^12.0.
|
|
42
|
+
"@graphql-tools/utils": "^12.0.1",
|
|
43
43
|
"@whatwg-node/promise-helpers": "^1.3.2",
|
|
44
44
|
"dataloader": "^2.2.3",
|
|
45
45
|
"tslib": "^2.8.1"
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"changes": {
|
|
62
62
|
"@graphql-tools/utils": {
|
|
63
63
|
"from": "^11.0.0",
|
|
64
|
-
"to": "^12.0.
|
|
64
|
+
"to": "^12.0.1"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"depsUpdated": 1,
|
|
68
68
|
"originalPackage": "@graphql-tools/batch-execute",
|
|
69
|
-
"originalVersion": "10.0
|
|
70
|
-
"processedAt": "2026-
|
|
69
|
+
"originalVersion": "10.1.0",
|
|
70
|
+
"processedAt": "2026-09-08T00:32:40.404Z",
|
|
71
71
|
"smokeTest": "passed"
|
|
72
72
|
}
|
|
73
73
|
}
|