New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/apollo-engine-loader

Package Overview
Dependencies
Maintainers
3
Versions
1188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/apollo-engine-loader - npm Package Compare versions

Comparing version 5.0.1-alpha-d6cdbf5.0 to 5.0.1-alpha-d95fd59.0

3

index.cjs.js

@@ -26,2 +26,5 @@ 'use strict';

'apollo-client-version': '2.6.8',
'Content-Type': 'application/json',
Accept: 'application/json',
...options.headers,
},

@@ -28,0 +31,0 @@ body: JSON.stringify({

15

index.d.ts

@@ -1,9 +0,18 @@

import { SchemaLoader, Source } from '@graphql-tools/utils';
export declare class ApolloEngineLoader implements SchemaLoader {
import { SchemaLoader, Source, SingleFileOptions } from '@graphql-tools/utils';
export interface ApolloEngineOptions extends SingleFileOptions {
engine: {
endpoint: string;
apiKey: string;
};
graph: string;
variant: string;
headers?: Record<string, string>;
}
export declare class ApolloEngineLoader implements SchemaLoader<ApolloEngineOptions> {
loaderId(): string;
canLoad(ptr: string): Promise<boolean>;
canLoadSync(): boolean;
load(_: 'apollo-engine', options: any): Promise<Source>;
load(_: 'apollo-engine', options: ApolloEngineOptions): Promise<Source>;
loadSync(): never;
}
export declare const SCHEMA_QUERY = "\n query GetSchemaByTag($tag: String!, $id: ID!) {\n service(id: $id) {\n ... on Service {\n __typename\n schema(tag: $tag) {\n hash\n __schema: introspection {\n queryType {\n name\n }\n mutationType {\n name\n }\n subscriptionType {\n name\n }\n types(filter: { includeBuiltInTypes: true }) {\n ...IntrospectionFullType\n }\n directives {\n name\n description\n locations\n args {\n ...IntrospectionInputValue\n }\n }\n }\n }\n }\n }\n }\n\n fragment IntrospectionFullType on IntrospectionType {\n kind\n name\n description\n fields {\n name\n description\n args {\n ...IntrospectionInputValue\n }\n type {\n ...IntrospectionTypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...IntrospectionInputValue\n }\n interfaces {\n ...IntrospectionTypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...IntrospectionTypeRef\n }\n }\n\n fragment IntrospectionInputValue on IntrospectionInputValue {\n name\n description\n type {\n ...IntrospectionTypeRef\n }\n defaultValue\n }\n\n fragment IntrospectionTypeRef on IntrospectionType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n";

@@ -22,2 +22,5 @@ import { fetch } from 'cross-fetch';

'apollo-client-version': '2.6.8',
'Content-Type': 'application/json',
Accept: 'application/json',
...options.headers,
},

@@ -24,0 +27,0 @@ body: JSON.stringify({

{
"name": "@graphql-tools/apollo-engine-loader",
"version": "5.0.1-alpha-d6cdbf5.0",
"version": "5.0.1-alpha-d95fd59.0",
"description": "A set of utils for faster development of GraphQL tools",
"peerDependencies": {
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "5.0.1-alpha-d6cdbf5.0",
"@graphql-tools/utils": "5.0.1-alpha-d95fd59.0",
"cross-fetch": "3.0.4",

@@ -11,0 +11,0 @@ "tslib": "1.11.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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