@graphql-inspector/loaders
Advanced tools
Comparing version 0.0.0-canary.6f0f272 to 0.0.0-canary.86df6bb
@@ -1,26 +0,13 @@ | ||
import {InspectorConfig} from '@graphql-inspector/config'; | ||
import { | ||
Source, | ||
UniversalLoader, | ||
SchemaPointerSingle, | ||
} from '@graphql-tools/utils'; | ||
import {LoadSchemaOptions, LoadTypedefsOptions} from '@graphql-tools/load'; | ||
import {GraphQLSchema} from 'graphql'; | ||
import { InspectorConfig } from '@graphql-inspector/config'; | ||
import { Source, Loader } from '@graphql-tools/utils'; | ||
import { LoadSchemaOptions, LoadTypedefsOptions } from '@graphql-tools/load'; | ||
import { GraphQLSchema } from 'graphql'; | ||
export declare class LoadersRegistry { | ||
private loaders; | ||
register(loader: UniversalLoader): void; | ||
registerModule(loaderName: string): void; | ||
loadSchema( | ||
pointer: SchemaPointerSingle, | ||
options?: Omit<LoadSchemaOptions, 'loaders'>, | ||
): Promise<GraphQLSchema>; | ||
loadDocuments( | ||
pointer: SchemaPointerSingle, | ||
options?: Omit<LoadTypedefsOptions, 'loaders'>, | ||
): Promise<Source[]>; | ||
private loaders; | ||
register(loader: Loader): void; | ||
registerModule(loaderName: string): void; | ||
loadSchema(pointer: string, options: Omit<LoadSchemaOptions, "loaders"> | undefined, enableApolloFederation: boolean, enableAWS: boolean): Promise<GraphQLSchema>; | ||
loadDocuments(pointer: string, options?: Omit<LoadTypedefsOptions, 'loaders'>): Promise<Source[]>; | ||
} | ||
export declare type Loaders = Pick< | ||
LoadersRegistry, | ||
'loadSchema' | 'loadDocuments' | ||
>; | ||
export declare type Loaders = Pick<LoadersRegistry, 'loadSchema' | 'loadDocuments'>; | ||
export declare function useLoaders(config: InspectorConfig): Loaders; |
{ | ||
"name": "@graphql-inspector/loaders", | ||
"version": "0.0.0-canary.6f0f272", | ||
"version": "0.0.0-canary.86df6bb", | ||
"description": "Loaders in GraphQL Inspector", | ||
"sideEffects": false, | ||
"peerDependencies": { | ||
"@graphql-inspector/config": "0.0.0-canary.6f0f272", | ||
"@graphql-tools/utils": "^6.0.0", | ||
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0" | ||
"@graphql-inspector/config": "0.0.0-canary.86df6bb", | ||
"@graphql-tools/utils": "^6.0.0 || ^7.0.0 || ^8.0.0", | ||
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" | ||
}, | ||
"dependencies": { | ||
"@graphql-tools/load": "^6.0.0", | ||
"@graphql-tools/load": "^7.4.1", | ||
"tslib": "^2.0.0" | ||
@@ -32,8 +32,18 @@ }, | ||
"license": "MIT", | ||
"main": "index.cjs.js", | ||
"module": "index.esm.js", | ||
"main": "index.js", | ||
"module": "index.mjs", | ||
"typings": "index.d.ts", | ||
"typescript": { | ||
"definition": "index.d.ts" | ||
}, | ||
"exports": { | ||
".": { | ||
"require": "./index.js", | ||
"import": "./index.mjs" | ||
}, | ||
"./*": { | ||
"require": "./*.js", | ||
"import": "./*.mjs" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190
9036
4
1
+ Added@graphql-inspector/config@0.0.0-canary.86df6bb(transitive)
+ Added@graphql-tools/load@7.8.14(transitive)
+ Added@graphql-tools/merge@8.4.2(transitive)
+ Added@graphql-tools/schema@9.0.19(transitive)
+ Added@graphql-tools/utils@8.13.19.2.1(transitive)
+ Added@graphql-typed-document-node/core@3.2.0(transitive)
+ Addedgraphql@16.10.0(transitive)
+ Addedvalue-or-promise@1.0.12(transitive)
- Removed@ardatan/aggregate-error@0.0.6(transitive)
- Removed@graphql-inspector/config@0.0.0-canary.6f0f272(transitive)
- Removed@graphql-tools/load@6.2.8(transitive)
- Removed@graphql-tools/merge@6.2.178.3.1(transitive)
- Removed@graphql-tools/schema@8.5.1(transitive)
- Removed@graphql-tools/utils@6.2.47.10.08.0.28.9.0(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcamel-case@4.1.14.1.2(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfastq@1.18.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedglobby@11.0.3(transitive)
- Removedgraphql@15.9.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedimport-from@3.0.0(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.1(transitive)
- Removedis-number@7.0.0(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedno-case@3.0.4(transitive)
- Removednormalize-path@2.1.1(transitive)
- Removedpascal-case@3.1.2(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedremove-trailing-separator@1.1.0(transitive)
- Removedresolve-from@5.0.0(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedslash@3.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedtslib@1.14.12.0.32.2.02.3.1(transitive)
- Removedunixify@1.0.0(transitive)
- Removedvalid-url@1.0.9(transitive)
- Removedvalue-or-promise@1.0.11(transitive)
Updated@graphql-tools/load@^7.4.1