Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-inspector/loaders

Package Overview
Dependencies
Maintainers
3
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/loaders - npm Package Compare versions

Comparing version 0.0.0-canary.6f0f272 to 0.0.0-canary.86df6bb

index.js

33

index.d.ts

@@ -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"
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc