@graphql-tools/links 9.0.0 → 9.0.1-alpha-20231023180117-360ce1bb

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.
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createServerHttpLink = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const apolloImport = tslib_1.__importStar(require("@apollo/client"));
6
5
  const apollo_upload_client_1 = require("apollo-upload-client");
7
6
  const form_data_1 = tslib_1.__importDefault(require("form-data"));
8
7
  const node_fetch_1 = tslib_1.__importDefault(require("node-fetch"));
8
+ const apolloImport = tslib_1.__importStar(require("@apollo/client"));
9
9
  const AwaitVariablesLink_js_1 = require("./AwaitVariablesLink.js");
10
10
  const apollo = apolloImport?.default ?? apolloImport;
11
11
  const createServerHttpLink = (options) => apollo.concat(new AwaitVariablesLink_js_1.AwaitVariablesLink(), (0, apollo_upload_client_1.createUploadLink)({
@@ -1,7 +1,7 @@
1
- import * as apolloImport from '@apollo/client';
2
1
  import { createUploadLink, formDataAppendFile, isExtractableFile } from 'apollo-upload-client';
3
2
  import FormData from 'form-data';
4
3
  import fetch from 'node-fetch';
4
+ import * as apolloImport from '@apollo/client';
5
5
  import { AwaitVariablesLink } from './AwaitVariablesLink.js';
6
6
  const apollo = apolloImport?.default ?? apolloImport;
7
7
  export const createServerHttpLink = (options) => apollo.concat(new AwaitVariablesLink(), createUploadLink({
@@ -1,5 +1,5 @@
1
1
  import * as apolloImport from '@apollo/client';
2
- import { observableToAsyncIterable, getOperationASTFromRequest, } from '@graphql-tools/utils';
2
+ import { getOperationASTFromRequest, observableToAsyncIterable, } from '@graphql-tools/utils';
3
3
  const apollo = apolloImport?.default ?? apolloImport;
4
4
  export function linkToExecutor(link) {
5
5
  return function executorFromLink(request) {
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@graphql-tools/links",
3
- "version": "9.0.0",
3
+ "version": "9.0.1-alpha-20231023180117-360ce1bb",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
8
- "@apollo/client": "^3"
7
+ "@apollo/client": "^3",
8
+ "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
9
9
  },
10
10
  "dependencies": {
11
11
  "@graphql-tools/delegate": "^10.0.0",
12
12
  "@graphql-tools/utils": "^10.0.0",
13
- "apollo-upload-client": "17.0.0",
14
- "node-fetch": "^2.6.5",
13
+ "apollo-upload-client": "18.0.0",
15
14
  "form-data": "^4.0.0",
15
+ "node-fetch": "^2.6.5",
16
16
  "tslib": "^2.4.0"
17
17
  },
18
18
  "repository": {