@graphql-tools/load 7.8.13 → 7.8.14-alpha-20230413101627-31ec7077

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.
@@ -181,7 +181,7 @@ function collectCustomLoader({ pointer, pointerOptions, queue, addSource, option
181
181
  if (process_1.env['DEBUG'] != null) {
182
182
  console.time(`@graphql-tools/load: collectCustomLoader ${pointer}`);
183
183
  }
184
- await Promise.all((0, utils_1.asArray)(pointerOptions.require).map(m => { var _a; return _a = m, Promise.resolve().then(() => __importStar(require(_a))); }));
184
+ await Promise.all((0, utils_1.asArray)(pointerOptions.require).map(m => Promise.resolve(`${m}`).then(s => __importStar(require(s)))));
185
185
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
186
186
  // @ts-ignore TODO options.cwd is possibly undefined, but it seems like no test covers this path
187
187
  const loader = await (0, custom_loader_js_1.useCustomLoader)(pointerOptions.loader, options.cwd);
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@graphql-tools/load",
3
- "version": "7.8.13",
3
+ "version": "7.8.14-alpha-20230413101627-31ec7077",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/utils": "9.2.1",
11
- "@graphql-tools/schema": "9.0.17",
10
+ "@graphql-tools/utils": "^9.2.1",
11
+ "@graphql-tools/schema": "9.0.18-alpha-20230413101627-31ec7077",
12
12
  "p-limit": "3.1.0",
13
13
  "tslib": "^2.4.0"
14
14
  },