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 0.10.2 to 0.11.0

graphql/execution/values.d.ts

0

graphql/error/formatError.d.ts

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

@@ -0,0 +0,0 @@ import { getLocation } from '../language';

@@ -0,0 +0,0 @@ export { 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 { GraphQLError, locatedError } from '../error';

@@ -7,1 +7,3 @@ export {

} from './execute';
export { getDirectiveValues } from './values';

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

@@ -1,2 +0,2 @@

// Type definitions for graphql 0.10
// Type definitions for graphql 0.11
// Project: https://www.npmjs.com/package/graphql

@@ -9,2 +9,3 @@ // Definitions by: TonyYang <https://github.com/TonyPythoneer>

// Mikhail Novikov <https://github.com/freiksenet>
// Ivan Goncharov <https://github.com/IvanGoncharov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -31,2 +32,3 @@ // TypeScript Version: 2.3

responsePathAsArray,
getDirectiveValues,
ExecutionResult,

@@ -39,3 +41,33 @@ } from './execution';

ValidationContext,
// All validation rules in the GraphQL Specification.
specifiedRules,
// Individual validation rules.
ArgumentsOfCorrectTypeRule,
DefaultValuesOfCorrectTypeRule,
FieldsOnCorrectTypeRule,
FragmentsOnCompositeTypesRule,
KnownArgumentNamesRule,
KnownDirectivesRule,
KnownFragmentNamesRule,
KnownTypeNamesRule,
LoneAnonymousOperationRule,
NoFragmentCyclesRule,
NoUndefinedVariablesRule,
NoUnusedFragmentsRule,
NoUnusedVariablesRule,
OverlappingFieldsCanBeMergedRule,
PossibleFragmentSpreadsRule,
ProvidedNonNullArgumentsRule,
ScalarLeafsRule,
SingleFieldSubscriptionsRule,
UniqueArgumentNamesRule,
UniqueDirectivesPerLocationRule,
UniqueFragmentNamesRule,
UniqueInputFieldNamesRule,
UniqueOperationNamesRule,
UniqueVariableNamesRule,
VariablesAreInputTypesRule,
VariablesInAllowedPositionRule,
} from './validation';

@@ -42,0 +74,0 @@

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

@@ -0,0 +0,0 @@ export * from './ast';

@@ -0,0 +0,0 @@ // Name

@@ -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 @@ /**

@@ -0,0 +0,0 @@ export class Source {

@@ -0,0 +0,0 @@ export const QueryDocumentKeys: {

28

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

@@ -9,23 +9,34 @@ "license": "MIT",

"name": "TonyYang",
"url": "https://github.com/TonyPythoneer"
"url": "https://github.com/TonyPythoneer",
"githubUsername": "TonyPythoneer"
},
{
"name": "Caleb Meredith",
"url": "https://github.com/calebmer"
"url": "https://github.com/calebmer",
"githubUsername": "calebmer"
},
{
"name": "Dominic Watson",
"url": "https://github.com/intellix"
"url": "https://github.com/intellix",
"githubUsername": "intellix"
},
{
"name": "Firede",
"url": "https://github.com/firede"
"url": "https://github.com/firede",
"githubUsername": "firede"
},
{
"name": "Kepennar",
"url": "https://github.com/kepennar"
"url": "https://github.com/kepennar",
"githubUsername": "kepennar"
},
{
"name": "Mikhail Novikov",
"url": "https://github.com/freiksenet"
"url": "https://github.com/freiksenet",
"githubUsername": "freiksenet"
},
{
"name": "Ivan Goncharov",
"url": "https://github.com/IvanGoncharov",
"githubUsername": "IvanGoncharov"
}

@@ -40,5 +51,4 @@ ],

"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "5b7445f64a7164184475f07c2931c793c9568bbd9c93dc5d9af67f618ac1036f",
"typesPublisherContentHash": "086e809b67c1a7757200750bc431e7639c39f398dec7eb6cd383966845f66c4f",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Wed, 02 Aug 2017 13:47:41 GMT
* Last updated: Fri, 01 Sep 2017 21:51:05 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>.
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>.
export { subscribe, createSourceEventStream } from './subscribe';

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

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

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

@@ -0,0 +0,0 @@ // GraphQL Schema definition

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

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

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

// Helper to assert that provided names are valid.
export function assertValidName(name: string): void;

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

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

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

@@ -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 { DocumentNode, OperationDefinitionNode } from '../language/ast';

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

@@ -0,0 +0,0 @@ import { DirectiveLocationEnum } from '../type/directives';

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

@@ -0,0 +0,0 @@ import { ValueNode } from '../language/ast';

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

@@ -0,0 +0,0 @@ import { TypeNode } from '../language/ast';

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

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

export { validate, ValidationContext } from './validate';
export { specifiedRules } from './specifiedRules';
// Spec Section: "Argument Values Type Correctness"
export {
ArgumentsOfCorrectType as ArgumentsOfCorrectTypeRule
} from './rules/ArgumentsOfCorrectType';
// Spec Section: "Variable Default Values Are Correctly Typed"
export {
DefaultValuesOfCorrectType as DefaultValuesOfCorrectTypeRule
} from './rules/DefaultValuesOfCorrectType';
// Spec Section: "Field Selections on Objects, Interfaces, and Unions Types"
export {
FieldsOnCorrectType as FieldsOnCorrectTypeRule
} from './rules/FieldsOnCorrectType';
// Spec Section: "Fragments on Composite Types"
export {
FragmentsOnCompositeTypes as FragmentsOnCompositeTypesRule
} from './rules/FragmentsOnCompositeTypes';
// Spec Section: "Argument Names"
export {
KnownArgumentNames as KnownArgumentNamesRule
} from './rules/KnownArgumentNames';
// Spec Section: "Directives Are Defined"
export {
KnownDirectives as KnownDirectivesRule
} from './rules/KnownDirectives';
// Spec Section: "Fragment spread target defined"
export {
KnownFragmentNames as KnownFragmentNamesRule
} from './rules/KnownFragmentNames';
// Spec Section: "Fragment Spread Type Existence"
export {
KnownTypeNames as KnownTypeNamesRule
} from './rules/KnownTypeNames';
// Spec Section: "Lone Anonymous Operation"
export {
LoneAnonymousOperation as LoneAnonymousOperationRule
} from './rules/LoneAnonymousOperation';
// Spec Section: "Fragments must not form cycles"
export {
NoFragmentCycles as NoFragmentCyclesRule
} from './rules/NoFragmentCycles';
// Spec Section: "All Variable Used Defined"
export {
NoUndefinedVariables as NoUndefinedVariablesRule
} from './rules/NoUndefinedVariables';
// Spec Section: "Fragments must be used"
export {
NoUnusedFragments as NoUnusedFragmentsRule
} from './rules/NoUnusedFragments';
// Spec Section: "All Variables Used"
export {
NoUnusedVariables as NoUnusedVariablesRule
} from './rules/NoUnusedVariables';
// Spec Section: "Field Selection Merging"
export {
OverlappingFieldsCanBeMerged as OverlappingFieldsCanBeMergedRule
} from './rules/OverlappingFieldsCanBeMerged';
// Spec Section: "Fragment spread is possible"
export {
PossibleFragmentSpreads as PossibleFragmentSpreadsRule
} from './rules/PossibleFragmentSpreads';
// Spec Section: "Argument Optionality"
export {
ProvidedNonNullArguments as ProvidedNonNullArgumentsRule
} from './rules/ProvidedNonNullArguments';
// Spec Section: "Leaf Field Selections"
export {
ScalarLeafs as ScalarLeafsRule
} from './rules/ScalarLeafs';
// Spec Section: "Subscriptions with Single Root Field"
export {
SingleFieldSubscriptions as SingleFieldSubscriptionsRule
} from './rules/SingleFieldSubscriptions';
// Spec Section: "Argument Uniqueness"
export {
UniqueArgumentNames as UniqueArgumentNamesRule
} from './rules/UniqueArgumentNames';
// Spec Section: "Directives Are Unique Per Location"
export {
UniqueDirectivesPerLocation as UniqueDirectivesPerLocationRule
} from './rules/UniqueDirectivesPerLocation';
// Spec Section: "Fragment Name Uniqueness"
export {
UniqueFragmentNames as UniqueFragmentNamesRule
} from './rules/UniqueFragmentNames';
// Spec Section: "Input Object Field Uniqueness"
export {
UniqueInputFieldNames as UniqueInputFieldNamesRule
} from './rules/UniqueInputFieldNames';
// Spec Section: "Operation Name Uniqueness"
export {
UniqueOperationNames as UniqueOperationNamesRule
} from './rules/UniqueOperationNames';
// Spec Section: "Variable Uniqueness"
export {
UniqueVariableNames as UniqueVariableNamesRule
} from './rules/UniqueVariableNames';
// Spec Section: "Variables are Input Types"
export {
VariablesAreInputTypes as VariablesAreInputTypesRule
} from './rules/VariablesAreInputTypes';
// Spec Section: "All Variable Usages Are Allowed"
export {
VariablesInAllowedPosition as VariablesInAllowedPositionRule
} from './rules/VariablesInAllowedPosition';

@@ -0,0 +0,0 @@ import { ValidationContext } from './validate'; // It needs to check.

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

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