@graphql-tools/utils
Advanced tools
Comparing version 5.0.1-alpha-cf1d5c6.0 to 5.0.1-alpha-d3da75f.0
import { ASTNode } from 'graphql'; | ||
export declare const asArray: <T>(fns: T | T[]) => T[]; | ||
export declare function chainFunctions(funcs: any[]): any; | ||
export declare function isEqual<T>(a: T, b: T): boolean; | ||
@@ -5,0 +4,0 @@ export declare function isNotEqual<T>(a: T, b: T): boolean; |
@@ -12,3 +12,2 @@ export * from './loaders'; | ||
export * from './validate-documents'; | ||
export * from './resolvers-composition'; | ||
export * from './fix-schema-ast'; | ||
@@ -21,1 +20,27 @@ export * from './parse-graphql-json'; | ||
export * from './types'; | ||
export * from './filterSchema'; | ||
export * from './clone'; | ||
export * from './heal'; | ||
export * from './SchemaVisitor'; | ||
export * from './SchemaDirectiveVisitor'; | ||
export * from './visitSchema'; | ||
export * from './getResolversFromSchema'; | ||
export * from './forEachField'; | ||
export * from './forEachDefaultValue'; | ||
export * from './map'; | ||
export * from './rewire'; | ||
export * from './mergeDeep'; | ||
export * from './Interfaces'; | ||
export * from './fieldNodes'; | ||
export * from './stub'; | ||
export * from './fragments'; | ||
export * from './selectionSets'; | ||
export * from './getResponseKeyFromInfo'; | ||
export * from './transforms'; | ||
export * from './fields'; | ||
export * from './collectFields'; | ||
export * from './transformInputValue'; | ||
export * from './mapAsyncIterator'; | ||
export * from './updateArgument'; | ||
export * from './implementsAbstractType'; | ||
export * from './errors'; |
import { DocumentNode, GraphQLSchema, ParseOptions, BuildSchemaOptions } from 'graphql'; | ||
import { GraphQLSchemaValidationOptions } from 'graphql/type/schema'; | ||
export declare class Source { | ||
export interface Source { | ||
document?: DocumentNode; | ||
@@ -8,7 +8,2 @@ schema?: GraphQLSchema; | ||
location?: string; | ||
constructor({ document, location, schema }: { | ||
document?: DocumentNode; | ||
location?: string; | ||
schema?: GraphQLSchema; | ||
}); | ||
} | ||
@@ -15,0 +10,0 @@ export declare type SingleFileOptions = ParseOptions & GraphQLSchemaValidationOptions & BuildSchemaOptions & { |
{ | ||
"name": "@graphql-tools/utils", | ||
"version": "5.0.1-alpha-cf1d5c6.0", | ||
"version": "5.0.1-alpha-d3da75f.0", | ||
"description": "Common package containting utils and types for GraphQL tools", | ||
@@ -9,5 +9,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"aggregate-error": "3.0.1", | ||
"camel-case": "4.1.1", | ||
"lodash": "4.17.15" | ||
"camel-case": "4.1.1" | ||
}, | ||
@@ -24,5 +22,5 @@ "repository": "git@github.com:ardatan/graphql-tools.git", | ||
"devDependencies": { | ||
"@types/aggregate-error": "1.0.1", | ||
"graphql-scalars": "1.1.2", | ||
"iterall": "1.3.0" | ||
"@types/dateformat": "3.0.1", | ||
"dateformat": "3.0.3", | ||
"graphql-scalars": "1.1.2" | ||
}, | ||
@@ -29,0 +27,0 @@ "publishConfig": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
683017
2
52
6211
1
- Removedaggregate-error@3.0.1
- Removedlodash@4.17.15
- Removedaggregate-error@3.0.1(transitive)
- Removedclean-stack@2.2.0(transitive)
- Removedindent-string@4.0.0(transitive)
- Removedlodash@4.17.15(transitive)