@graphql-tools/code-file-loader 7.3.2 → 7.3.3-alpha-20220809192840-c5b336bd

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/exports.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pickExportFromModuleSync = exports.pickExportFromModule = void 0;
4
- const graphql_1 = require("graphql");
4
+ const graphql_1 = require("@graphql-tools/graphql");
5
5
  const helpers_js_1 = require("./helpers.js");
6
6
  const identifiersToLookFor = ['default', 'schema', 'typeDefs', 'data'];
7
7
  // Pick exports
package/cjs/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CodeFileLoader = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const graphql_1 = require("graphql");
5
+ const graphql_1 = require("@graphql-tools/graphql");
6
6
  const utils_1 = require("@graphql-tools/utils");
7
7
  const graphql_tag_pluck_1 = require("@graphql-tools/graphql-tag-pluck");
8
8
  const globby_1 = tslib_1.__importDefault(require("globby"));
package/esm/exports.js CHANGED
@@ -1,4 +1,4 @@
1
- import { parse, buildClientSchema, isSchema } from 'graphql';
1
+ import { parse, buildClientSchema, isSchema, } from '@graphql-tools/graphql';
2
2
  import { isSchemaAst, isSchemaJson, isSchemaText, isWrappedSchemaJson, pick } from './helpers.js';
3
3
  const identifiersToLookFor = ['default', 'schema', 'typeDefs', 'data'];
4
4
  // Pick exports
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isSchema, parse } from 'graphql';
1
+ import { isSchema, parse } from '@graphql-tools/graphql';
2
2
  import { asArray, isValidPath, parseGraphQLSDL, isDocumentNode, AggregateError, } from '@graphql-tools/utils';
3
3
  import { gqlPluckFromCodeString, gqlPluckFromCodeStringSync, } from '@graphql-tools/graphql-tag-pluck';
4
4
  import globby from 'globby';
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-tools/code-file-loader",
3
- "version": "7.3.2",
3
+ "version": "7.3.3-alpha-20220809192840-c5b336bd",
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.9.1",
11
- "@graphql-tools/graphql-tag-pluck": "7.3.2",
7
+ "@graphql-tools/utils": "8.9.2-alpha-20220809192840-c5b336bd",
8
+ "@graphql-tools/graphql-tag-pluck": "7.3.3-alpha-20220809192840-c5b336bd",
9
+ "@graphql-tools/graphql": "0.1.0-alpha-20220809192840-c5b336bd",
12
10
  "globby": "^11.0.3",
13
11
  "tslib": "^2.4.0",
14
12
  "unixify": "^1.0.0"
@@ -1,4 +1,4 @@
1
- import { DocumentNode, GraphQLSchema } from 'graphql';
1
+ import { DocumentNode, GraphQLSchema } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DocumentNode, GraphQLSchema } from 'graphql';
1
+ import { DocumentNode, GraphQLSchema } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DocumentNode, IntrospectionQuery } from 'graphql';
1
+ import { DocumentNode, IntrospectionQuery } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DocumentNode, IntrospectionQuery } from 'graphql';
1
+ import { DocumentNode, IntrospectionQuery } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DocumentNode, GraphQLSchema } from 'graphql';
1
+ import { DocumentNode, GraphQLSchema } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DocumentNode, GraphQLSchema } from 'graphql';
1
+ import { DocumentNode, GraphQLSchema } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * @internal
4
4
  */