@graphql-tools/github-loader 7.3.9 → 7.3.10-alpha-20220815173503-a11014cc
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 +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -6
- package/typings/index.d.cts +1 -1
- package/typings/index.d.ts +1 -1
package/cjs/index.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.GithubLoader = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const utils_1 = require("@graphql-tools/utils");
|
|
6
6
|
const graphql_tag_pluck_1 = require("@graphql-tools/graphql-tag-pluck");
|
|
7
|
-
const graphql_1 = require("graphql");
|
|
7
|
+
const graphql_1 = require("@graphql-tools/graphql");
|
|
8
8
|
const sync_fetch_1 = tslib_1.__importDefault(require("@ardatan/sync-fetch"));
|
|
9
9
|
const fetch_1 = require("@whatwg-node/fetch");
|
|
10
10
|
// github:owner/name#ref:path/to/file
|
package/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseGraphQLSDL, parseGraphQLJSON } from '@graphql-tools/utils';
|
|
2
2
|
import { gqlPluckFromCodeStringSync } from '@graphql-tools/graphql-tag-pluck';
|
|
3
|
-
import { parse } from 'graphql';
|
|
3
|
+
import { parse } from '@graphql-tools/graphql';
|
|
4
4
|
import syncFetch from '@ardatan/sync-fetch';
|
|
5
5
|
import { fetch as asyncFetch } from '@whatwg-node/fetch';
|
|
6
6
|
// github:owner/name#ref:path/to/file
|
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/github-loader",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.10-alpha-20220815173503-a11014cc",
|
|
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
7
|
"@ardatan/sync-fetch": "0.0.1",
|
|
11
|
-
"@graphql-tools/utils": "8.10.
|
|
12
|
-
"@graphql-tools/graphql-tag-pluck": "7.3.
|
|
8
|
+
"@graphql-tools/utils": "8.10.1-alpha-20220815173503-a11014cc",
|
|
9
|
+
"@graphql-tools/graphql-tag-pluck": "7.3.4-alpha-20220815173503-a11014cc",
|
|
13
10
|
"@whatwg-node/fetch": "^0.2.9",
|
|
11
|
+
"@graphql-tools/graphql": "0.1.0-alpha-20220815173503-a11014cc",
|
|
12
|
+
"sync-fetch": "0.4.1",
|
|
14
13
|
"tslib": "^2.4.0"
|
|
15
14
|
},
|
|
16
15
|
"repository": {
|
package/typings/index.d.cts
CHANGED
|
@@ -39,7 +39,7 @@ export declare class GithubLoader implements Loader<GithubLoaderOptions> {
|
|
|
39
39
|
status: number;
|
|
40
40
|
}): Source[] | {
|
|
41
41
|
location: string | undefined;
|
|
42
|
-
document: import("graphql").DocumentNode;
|
|
42
|
+
document: import("@graphql-tools/graphql").DocumentNode;
|
|
43
43
|
}[];
|
|
44
44
|
prepareRequest({ owner, ref, path, name, options, }: {
|
|
45
45
|
owner: string;
|
package/typings/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare class GithubLoader implements Loader<GithubLoaderOptions> {
|
|
|
39
39
|
status: number;
|
|
40
40
|
}): Source[] | {
|
|
41
41
|
location: string | undefined;
|
|
42
|
-
document: import("graphql").DocumentNode;
|
|
42
|
+
document: import("@graphql-tools/graphql").DocumentNode;
|
|
43
43
|
}[];
|
|
44
44
|
prepareRequest({ owner, ref, path, name, options, }: {
|
|
45
45
|
owner: string;
|