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

@graphql-inspector/loaders

Package Overview
Dependencies
Maintainers
2
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.da4bdcc to 0.0.0-canary.e88122e

index.js

8

index.d.ts
import { InspectorConfig } from '@graphql-inspector/config';
import { Source, UniversalLoader, SchemaPointerSingle } from '@graphql-tools/utils';
import { Source, Loader } from '@graphql-tools/utils';
import { LoadSchemaOptions, LoadTypedefsOptions } from '@graphql-tools/load';

@@ -7,8 +7,8 @@ import { GraphQLSchema } from 'graphql';

private loaders;
register(loader: UniversalLoader): void;
register(loader: Loader): void;
registerModule(loaderName: string): void;
loadSchema(pointer: SchemaPointerSingle, options?: Omit<LoadSchemaOptions, 'loaders'>): Promise<GraphQLSchema>;
loadDocuments(pointer: SchemaPointerSingle, options?: Omit<LoadTypedefsOptions, 'loaders'>): Promise<Source[]>;
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 function useLoaders(config: InspectorConfig): Loaders;
{
"name": "@graphql-inspector/loaders",
"version": "0.0.0-canary.da4bdcc",
"version": "0.0.0-canary.e88122e",
"description": "Loaders in GraphQL Inspector",
"sideEffects": false,
"peerDependencies": {
"@graphql-inspector/config": "0.0.0-canary.da4bdcc",
"@graphql-tools/utils": "^6.0.0",
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
"@graphql-inspector/config": "0.0.0-canary.e88122e",
"@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