@graphql-tools/webpack-loader 6.7.0 → 6.7.1-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
  const tslib_1 = require("tslib");
4
4
  const os_1 = tslib_1.__importDefault(require("os"));
5
- const graphql_1 = require("graphql");
5
+ const graphql_1 = require("@graphql-tools/graphql");
6
6
  const webpack_loader_runtime_1 = require("@graphql-tools/webpack-loader-runtime");
7
7
  const parser_js_1 = require("./parser.js");
8
8
  const optimize_1 = require("@graphql-tools/optimize");
package/cjs/parser.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseDocument = void 0;
4
- const graphql_1 = require("graphql");
4
+ const graphql_1 = require("@graphql-tools/graphql");
5
5
  /**
6
6
  * Strip insignificant whitespace
7
7
  * Note that this could do a lot more, such as reorder fields etc.
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import os from 'os';
2
- import { isExecutableDefinitionNode, Kind } from 'graphql';
2
+ import { isExecutableDefinitionNode, Kind } from '@graphql-tools/graphql';
3
3
  import { uniqueCode } from '@graphql-tools/webpack-loader-runtime';
4
4
  import { parseDocument } from './parser.js';
5
5
  import { optimizeDocumentNode, removeDescriptions, removeEmptyNodes } from '@graphql-tools/optimize';
package/esm/parser.js CHANGED
@@ -1,4 +1,4 @@
1
- import { parse, print, Kind } from 'graphql';
1
+ import { parse, print, Kind } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * Strip insignificant whitespace
4
4
  * Note that this could do a lot more, such as reorder fields etc.
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-tools/webpack-loader",
3
- "version": "6.7.0",
3
+ "version": "6.7.1-alpha-fbf97581.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/optimize": "1.3.0",
11
- "@graphql-tools/webpack-loader-runtime": "6.4.0",
7
+ "@graphql-tools/graphql": "0.1.0-alpha-fbf97581.0",
8
+ "@graphql-tools/optimize": "1.3.1-alpha-fbf97581.0",
9
+ "@graphql-tools/webpack-loader-runtime": "6.4.1-alpha-fbf97581.0",
12
10
  "tslib": "^2.4.0"
13
11
  },
14
12
  "repository": {
@@ -1,2 +1,2 @@
1
- import { DocumentNode } from 'graphql';
1
+ import { DocumentNode } from '@graphql-tools/graphql';
2
2
  export declare function parseDocument(doc: string): DocumentNode;