@graphql-tools/load 7.7.0 → 7.7.2-alpha-f3868574.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/cjs/documents.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.loadDocumentsSync = exports.loadDocuments = exports.NON_OPERATION_KINDS = exports.OPERATION_KINDS = void 0;
4
- const graphql_1 = require("graphql");
4
+ const graphql_1 = require("@graphql-tools/graphql");
5
5
  const load_typedefs_js_1 = require("./load-typedefs.js");
6
6
  /**
7
7
  * Kinds of AST nodes that are included in executable documents
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.filterKind = void 0;
4
- const graphql_1 = require("graphql");
4
+ const graphql_1 = require("@graphql-tools/graphql");
5
5
  const process_1 = require("process");
6
6
  /**
7
7
  * @internal
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.collectSourcesSync = exports.collectSources = void 0;
27
27
  const utils_1 = require("@graphql-tools/utils");
28
- const graphql_1 = require("graphql");
28
+ const graphql_1 = require("@graphql-tools/graphql");
29
29
  const load_file_js_1 = require("./load-file.js");
30
30
  const helpers_js_1 = require("../utils/helpers.js");
31
31
  const custom_loader_js_1 = require("../utils/custom-loader.js");
package/cjs/schema.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.loadSchemaSync = exports.loadSchema = void 0;
4
4
  const load_typedefs_js_1 = require("./load-typedefs.js");
5
- const graphql_1 = require("graphql");
5
+ const graphql_1 = require("@graphql-tools/graphql");
6
6
  const documents_js_1 = require("./documents.js");
7
7
  const schema_1 = require("@graphql-tools/schema");
8
8
  /**
package/esm/documents.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Kind } from 'graphql';
1
+ import { Kind } from '@graphql-tools/graphql';
2
2
  import { loadTypedefs, loadTypedefsSync } from './load-typedefs.js';
3
3
  /**
4
4
  * Kinds of AST nodes that are included in executable documents
@@ -1,4 +1,4 @@
1
- import { Kind } from 'graphql';
1
+ import { Kind } from '@graphql-tools/graphql';
2
2
  import { env } from 'process';
3
3
  /**
4
4
  * @internal
@@ -1,5 +1,5 @@
1
1
  import { isDocumentString, parseGraphQLSDL, getDocumentNodeFromSchema, asArray } from '@graphql-tools/utils';
2
- import { isSchema, Kind } from 'graphql';
2
+ import { isSchema, Kind } from '@graphql-tools/graphql';
3
3
  import { loadFile, loadFileSync } from './load-file.js';
4
4
  import { stringToHash, useStack } from '../utils/helpers.js';
5
5
  import { useCustomLoader, useCustomLoaderSync } from '../utils/custom-loader.js';
package/esm/schema.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { loadTypedefs, loadTypedefsSync } from './load-typedefs.js';
2
- import { Source as GraphQLSource, print, lexicographicSortSchema, } from 'graphql';
2
+ import { Source as GraphQLSource, print, lexicographicSortSchema, } from '@graphql-tools/graphql';
3
3
  import { OPERATION_KINDS } from './documents.js';
4
4
  import { mergeSchemas } from '@graphql-tools/schema';
5
5
  /**
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-tools/load",
3
- "version": "7.7.0",
3
+ "version": "7.7.2-alpha-f3868574.0",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
- "peerDependencies": {
7
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
- },
9
6
  "dependencies": {
10
- "@graphql-tools/utils": "8.8.0",
11
- "@graphql-tools/schema": "8.5.0",
7
+ "@graphql-tools/graphql": "0.1.0-alpha-f3868574.0",
8
+ "@graphql-tools/utils": "8.9.1-alpha-f3868574.0",
9
+ "@graphql-tools/schema": "8.5.2-alpha-f3868574.0",
12
10
  "p-limit": "3.1.0",
13
11
  "tslib": "^2.4.0"
14
12
  },
@@ -1,5 +1,5 @@
1
1
  import { Source } from '@graphql-tools/utils';
2
- import { Kind } from 'graphql';
2
+ import { Kind } from '@graphql-tools/graphql';
3
3
  import { LoadTypedefsOptions, UnnormalizedTypeDefPointer } from './load-typedefs.js';
4
4
  declare type KindList = Array<typeof Kind[keyof typeof Kind]>;
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { DocumentNode } from 'graphql';
1
+ import { DocumentNode } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { LoadTypedefsOptions, UnnormalizedTypeDefPointer } from './load-typedefs.js';
2
- import { GraphQLSchema, BuildSchemaOptions } from 'graphql';
2
+ import { GraphQLSchema, BuildSchemaOptions } from '@graphql-tools/graphql';
3
3
  import { MergeSchemasConfig } from '@graphql-tools/schema';
4
4
  export declare type LoadSchemaOptions = BuildSchemaOptions & LoadTypedefsOptions & Partial<MergeSchemasConfig> & {
5
5
  /**