@graphql-tools/utils
Advanced tools
Comparing version 5.0.1-alpha-b7ec6b7.0 to 5.0.1-alpha-bdd506c.0
@@ -7,6 +7,4 @@ import { ASTNode } from 'graphql'; | ||
export declare function isValidPath(str: string): boolean; | ||
export declare function resolveBuiltinModule<Module>(moduleName: string, option?: Module | string): Promise<Module>; | ||
export declare function resolveBuiltinModuleSync<Module>(moduleName: string, option?: Module | string): Module; | ||
export declare function compareStrings<A, B>(a: A, b: B): 0 | 1 | -1; | ||
export declare function nodeToString(a: ASTNode): string; | ||
export declare function compareNodes(a: ASTNode, b: ASTNode, customFn?: (a: any, b: any) => number): number; |
@@ -45,1 +45,2 @@ export * from './loaders'; | ||
export * from './errors'; | ||
export * from './toConfig'; |
@@ -119,3 +119,2 @@ import { GraphQLSchema, GraphQLField, GraphQLInputType, GraphQLNamedType, GraphQLFieldResolver, GraphQLResolveInfo, GraphQLIsTypeOfFn, GraphQLTypeResolver, GraphQLScalarType, DocumentNode, FieldNode, GraphQLEnumValue, GraphQLEnumType, GraphQLUnionType, GraphQLArgument, GraphQLInputField, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, InlineFragmentNode, SelectionSetNode, GraphQLDirective, GraphQLFieldConfig, FragmentDefinitionNode, SelectionNode, VariableDefinitionNode, OperationDefinitionNode, GraphQLError, ExecutionResult as GraphQLExecutionResult } from 'graphql'; | ||
} | ||
export declare type IndexedObject<V> = Record<string, V> | ReadonlyArray<V>; | ||
export declare type VisitableSchemaType = GraphQLSchema | GraphQLObjectType | GraphQLInterfaceType | GraphQLInputObjectType | GraphQLNamedType | GraphQLScalarType | GraphQLField<any, any> | GraphQLInputField | GraphQLArgument | GraphQLUnionType | GraphQLEnumType | GraphQLEnumValue; | ||
@@ -122,0 +121,0 @@ export declare type VisitorSelector = (type: VisitableSchemaType, methodName: string) => Array<SchemaVisitor | SchemaVisitorMap>; |
{ | ||
"name": "@graphql-tools/utils", | ||
"version": "5.0.1-alpha-b7ec6b7.0", | ||
"version": "5.0.1-alpha-bdd506c.0", | ||
"description": "Common package containting utils and types for GraphQL tools", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
683500
53
7
6195