@graphql-tools/batch-delegate 9.0.29 → 9.0.30-alpha-acbc7e05ec13926f070ae8881defb902bb0dcffa

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @graphql-tools/batch-delegate
2
2
 
3
+ ## 9.0.30-alpha-acbc7e05ec13926f070ae8881defb902bb0dcffa
4
+
5
+ ### Patch Changes
6
+
7
+ - [#620](https://github.com/graphql-hive/gateway/pull/620) [`acbc7e0`](https://github.com/graphql-hive/gateway/commit/acbc7e05ec13926f070ae8881defb902bb0dcffa) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
8
+
9
+ - Updated dependency [`@graphql-tools/utils@^10.8.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.8.1) (from `^10.7.0`, in `dependencies`)
10
+
11
+ - Updated dependencies [[`acbc7e0`](https://github.com/graphql-hive/gateway/commit/acbc7e05ec13926f070ae8881defb902bb0dcffa)]:
12
+ - @graphql-tools/delegate@10.2.12-alpha-acbc7e05ec13926f070ae8881defb902bb0dcffa
13
+
3
14
  ## 9.0.29
4
15
 
5
16
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -94,7 +94,7 @@ function getLoader(options) {
94
94
  cacheKey += fieldNode.arguments.filter((arg) => arg.name.value in args).map((arg) => memoizedPrint(arg)).join(",");
95
95
  }
96
96
  let loader = loaders.get(cacheKey);
97
- if (loader === undefined) {
97
+ if (loader === void 0) {
98
98
  const batchFn = createBatchFn(options);
99
99
  loader = new DataLoader__default.default(batchFn, {
100
100
  // Prevents the keys to be passed with the same structure
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { getActualFieldNodes, delegateToSchema } from '@graphql-tools/delegate';
2
2
  import { memoize2, memoize1, fakePromise, mapMaybePromise, relocatedError } from '@graphql-tools/utils';
3
3
  import DataLoader from 'dataloader';
4
- import { print, getNamedType, GraphQLList } from 'graphql';
4
+ import { getNamedType, print, GraphQLList } from 'graphql';
5
5
 
6
6
  const DEFAULT_ARGS_FROM_KEYS = (keys) => ({ ids: keys });
7
7
  function createBatchFn(options) {
@@ -88,7 +88,7 @@ function getLoader(options) {
88
88
  cacheKey += fieldNode.arguments.filter((arg) => arg.name.value in args).map((arg) => memoizedPrint(arg)).join(",");
89
89
  }
90
90
  let loader = loaders.get(cacheKey);
91
- if (loader === undefined) {
91
+ if (loader === void 0) {
92
92
  const batchFn = createBatchFn(options);
93
93
  loader = new DataLoader(batchFn, {
94
94
  // Prevents the keys to be passed with the same structure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/batch-delegate",
3
- "version": "9.0.29",
3
+ "version": "9.0.30-alpha-acbc7e05ec13926f070ae8881defb902bb0dcffa",
4
4
  "type": "module",
5
5
  "description": "A set of utils for faster development of GraphQL tools",
6
6
  "repository": {
@@ -38,15 +38,15 @@
38
38
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@graphql-tools/delegate": "^10.2.11",
42
- "@graphql-tools/utils": "^10.7.0",
41
+ "@graphql-tools/delegate": "10.2.12-alpha-acbc7e05ec13926f070ae8881defb902bb0dcffa",
42
+ "@graphql-tools/utils": "^10.8.1",
43
43
  "dataloader": "^2.2.3",
44
44
  "tslib": "^2.8.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@graphql-tools/schema": "^10.0.11",
48
48
  "graphql": "^16.9.0",
49
- "pkgroll": "2.6.1"
49
+ "pkgroll": "2.8.2"
50
50
  },
51
51
  "sideEffects": false
52
52
  }