@graphql-tools/import 6.7.1 → 6.7.2-alpha-fbf97581.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/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseImportLine = exports.extractImportLines = exports.processImports = exports.extractDependencies = exports.processImport = 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 fs_1 = require("fs");
7
7
  const path_1 = require("path");
8
8
  const resolve_from_1 = tslib_1.__importDefault(require("resolve-from"));
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Source, parse, Kind, print, } from 'graphql';
1
+ import { Source, parse, Kind, print, } from '@graphql-tools/graphql';
2
2
  import { readFileSync, realpathSync } from 'fs';
3
3
  import { dirname, join, isAbsolute } from 'path';
4
4
  import resolveFrom from 'resolve-from';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@graphql-tools/import",
3
- "version": "6.7.1",
3
+ "version": "6.7.2-alpha-fbf97581.0",
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": "8.9.0",
10
+ "@graphql-tools/utils": "8.9.1-alpha-fbf97581.0",
11
11
  "resolve-from": "5.0.0",
12
12
  "tslib": "^2.4.0"
13
13
  },
@@ -1,4 +1,4 @@
1
- import { DefinitionNode, DocumentNode } from 'graphql';
1
+ import { DefinitionNode, DocumentNode } from '@graphql-tools/graphql';
2
2
  export declare type VisitedFilesMap = Map<string, Map<string, Set<DefinitionNode>>>;
3
3
  /**
4
4
  * Loads the GraphQL document and recursively resolves all the imports