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

@types/graphql

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/graphql - npm Package Compare versions

Comparing version 14.0.1 to 14.0.2

0

graphql/error/formatError.d.ts

@@ -0,0 +0,0 @@ import { GraphQLError } from "./GraphQLError";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ export { GraphQLError } from "./GraphQLError";

@@ -0,0 +0,0 @@ import { GraphQLError } from "./GraphQLError";

@@ -0,0 +0,0 @@ import { GraphQLError } from "./GraphQLError";

@@ -0,0 +0,0 @@ import { Source } from "../language/source";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

export { execute, defaultFieldResolver, responsePathAsArray, ExecutionArgs, ExecutionResult } from "./execute";
export { getDirectiveValues } from "./values";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import Maybe from "./tsutils/Maybe";

1

graphql/index.d.ts

@@ -18,2 +18,3 @@ // Type definitions for graphql 14.0

// Curtis Layne <https://github.com/clayne11>
// Jonathan Cardoso <https://github.com/JCMais>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -20,0 +21,0 @@ // TypeScript Version: 2.3

export type MaybePromise<T> = Promise<T> | T;

@@ -0,0 +0,0 @@ import { Source } from "./source";

@@ -0,0 +0,0 @@ export { getLocation, SourceLocation } from "./location";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import { Token } from "./ast";

@@ -0,0 +0,0 @@ import { Source } from "./source";

@@ -0,0 +0,0 @@ import { NamedTypeNode, TypeNode, ValueNode, DocumentNode } from "./ast";

@@ -0,0 +0,0 @@ import { ASTNode } from "./ast";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ interface Location {

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

9

graphql/package.json
{
"name": "@types/graphql",
"version": "14.0.1",
"version": "14.0.2",
"description": "TypeScript definitions for graphql",

@@ -81,2 +81,7 @@ "license": "MIT",

"githubUsername": "clayne11"
},
{
"name": "Jonathan Cardoso",
"url": "https://github.com/JCMais",
"githubUsername": "JCMais"
}

@@ -91,4 +96,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "9c5f5efc56c40dd10e7ad5f5d6fc6bef656ac23b300616d58037d97d676b656a",
"typesPublisherContentHash": "74e07e30329ec0d29b4ea00b310c30c6e88cd8dd4b8cbea029e2917e754e4afe",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 24 Sep 2018 18:30:23 GMT
* Last updated: Mon, 08 Oct 2018 17:40:32 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by TonyYang <https://github.com/TonyPythoneer>, Caleb Meredith <https://github.com/calebmer>, Dominic Watson <https://github.com/intellix>, Firede <https://github.com/firede>, Kepennar <https://github.com/kepennar>, Mikhail Novikov <https://github.com/freiksenet>, Ivan Goncharov <https://github.com/IvanGoncharov>, Hagai Cohen <https://github.com/DxCx>, Ricardo Portugal <https://github.com/rportugal>, Tim Griesser <https://github.com/tgriesser>, Dylan Stewart <https://github.com/dyst5422>, Alessio Dionisi <https://github.com/adnsio>, Divyendu Singh <https://github.com/divyenduz>, Brad Zacher <https://github.com/bradzacher>, Curtis Layne <https://github.com/clayne11>.
These definitions were written by TonyYang <https://github.com/TonyPythoneer>, Caleb Meredith <https://github.com/calebmer>, Dominic Watson <https://github.com/intellix>, Firede <https://github.com/firede>, Kepennar <https://github.com/kepennar>, Mikhail Novikov <https://github.com/freiksenet>, Ivan Goncharov <https://github.com/IvanGoncharov>, Hagai Cohen <https://github.com/DxCx>, Ricardo Portugal <https://github.com/rportugal>, Tim Griesser <https://github.com/tgriesser>, Dylan Stewart <https://github.com/dyst5422>, Alessio Dionisi <https://github.com/adnsio>, Divyendu Singh <https://github.com/divyenduz>, Brad Zacher <https://github.com/bradzacher>, Curtis Layne <https://github.com/clayne11>, Jonathan Cardoso <https://github.com/JCMais>.
export { subscribe, createSourceEventStream } from "./subscribe";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ // Conveniently represents flow's "Maybe" type https://flow.org/en/docs/types/maybe/

@@ -157,5 +157,4 @@ import Maybe from "../tsutils/Maybe";

*/
export class GraphQLList<T extends GraphQLType> {
interface GraphQLList<T extends GraphQLType> {
readonly ofType: T;
constructor(ofType: T);
toString(): string;

@@ -166,2 +165,10 @@ toJSON(): string;

interface _GraphQLList<T extends GraphQLType> {
(type: T): GraphQLList<T>;
new (type: T): GraphQLList<T>;
}
export const GraphQLList: _GraphQLList<GraphQLType>;
/**

@@ -187,5 +194,4 @@ * Non-Null Modifier

*/
export class GraphQLNonNull<T extends GraphQLNullableType> {
interface GraphQLNonNull<T extends GraphQLNullableType> {
readonly ofType: T;
constructor(ofType: T);
toString(): string;

@@ -196,2 +202,9 @@ toJSON(): string;

interface _GraphQLNonNull<T extends GraphQLNullableType> {
(type: T): GraphQLNonNull<T>;
new (type: T): GraphQLNonNull<T>;
}
export const GraphQLNonNull: _GraphQLNonNull<GraphQLNullableType>;
export type GraphQLWrappingType = GraphQLList<any> | GraphQLNonNull<any>;

@@ -198,0 +211,0 @@

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ export {

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ import { GraphQLScalarType } from "./definition";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { GraphQLSchema } from "./schema";

@@ -0,0 +0,0 @@ import { GraphQLError } from "../error/GraphQLError";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { IntrospectionQuery } from "./introspectionQuery";

@@ -0,0 +0,0 @@ import { GraphQLError } from "../error/GraphQLError";

@@ -0,0 +0,0 @@ import { DocumentNode } from "../language/ast";

@@ -0,0 +0,0 @@ import { DocumentNode } from "../language/ast";

@@ -0,0 +0,0 @@ import { GraphQLSchema } from "../type/schema";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { GraphQLSchema } from "../type/schema";

@@ -0,0 +0,0 @@ // The GraphQL query recommended for a full schema introspection.

@@ -0,0 +0,0 @@ import { GraphQLSchema } from "../type/schema";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { GraphQLInputType } from "../type/definition";

@@ -0,0 +0,0 @@ import { GraphQLError } from "../error/GraphQLError";

@@ -0,0 +0,0 @@ import { GraphQLSchema } from "../type/schema";

@@ -0,0 +0,0 @@ import { GraphQLSchema } from "../type/schema";

@@ -0,0 +0,0 @@ import { DocumentNode, OperationDefinitionNode } from "../language/ast";

@@ -0,0 +0,0 @@ import { GraphQLType, GraphQLCompositeType, GraphQLAbstractType } from "../type/definition";

@@ -0,0 +0,0 @@ import { TypeNode, NamedTypeNode, ListTypeNode, NonNullTypeNode } from "../language/ast";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

@@ -0,0 +0,0 @@ export { validate } from "./validate";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext, SDLValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext, SDLValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { SDLValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import Maybe from "../../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import Maybe from "../../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext, SDLValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import Maybe from "../../tsutils/Maybe";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ASTValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationContext } from "../ValidationContext";

@@ -0,0 +0,0 @@ import { ValidationRule, SDLValidationRule } from "./ValidationContext";

@@ -0,0 +0,0 @@ import { GraphQLError } from "../error";

@@ -0,0 +0,0 @@ import Maybe from "../tsutils/Maybe";

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