Vigia

Upgrading @graphql-tools/utils from 12.x to 13.x

Comparison of the public API of @graphql-tools/utils 12.1.0 and 13.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports17
Changed signatures2
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)2
New exports0

Removed exports

importexportkindBefore
@graphql-tools/utilsisPromisevariableany
@graphql-tools/utilswithCancelfunction<T, TAsyncIterable extends AsyncIterable<T>, TReturn = any>(asyncIterable: TAsyncIterable, onCancel: (value?: TReturn | undefined) => void | Promise<void>): TAsyncIterable
@graphql-tools/utilsfakePromisevariableany
@graphql-tools/utilsMaybePromisevariableany
@graphql-tools/utilsdebugTimerEndfunction(name: string): void
@graphql-tools/utilscreateDeferredvariableany
@graphql-tools/utilsdebugTimerStartfunction(name: string): void
@graphql-tools/utilsgetAbortPromisevariable(signal: AbortSignal): Promise<unknown>
@graphql-tools/utilsmapMaybePromisefunction<TInput, TOutput>(input: MaybePromise<TInput>, onSuccess: (value: TInput) => MaybePromise<TOutput>, onError?: ((err: any) => MaybePromise<TOutput>) | undefined): MaybePromise<TOutput>
@graphql-tools/utilsmapAsyncIteratorvariableany
@graphql-tools/utilsgetArgumentValuesfunction(def: any, node: any, variableValues?: Record<string, any> | undefined, variableSources?: Record<string, unknown> | undefined): Record<string, any>
@graphql-tools/utilscreateGraphQLErrorfunction(message: string, options?: GraphQLErrorOptions | undefined): GraphQLError
@graphql-tools/utilsisGraphQLErrorLikefunction(error: any): boolean
@graphql-tools/utilsPromiseWithResolversinterfaceinterface
@graphql-tools/utilsgetAsyncIterableWithCancelfunction<T, TAsyncIterable extends AsyncIterable<T>, TReturn = any>(asyncIterable: TAsyncIterable, onCancel: (value?: TReturn | undefined) => void | Promise<void>): TAsyncIterable
@graphql-tools/utilsgetAsyncIteratorWithCancelfunction<T, TReturn = any>(asyncIterator: AsyncIterator<T, any, any>, onCancel: (value?: TReturn | undefined) => void | Promise<void>): AsyncIterator<T, any, any>
@graphql-tools/utilsregisterAbortSignalListenerfunction(signal: AbortSignal, listener: () => void): void

Changed signatures

exportBeforeAfter
@graphql-tools/utils · inspectany(value: unknown, toJSONDepth?: number | undefined): string
@graphql-tools/utils · collectSubFields(schema: GraphQLSchema, fragments: Record<string, FragmentDefinitionNode>, variableValues: VariableValues<Record<string, unknown>>, returnType: GraphQLObjectType, fieldNodes: FieldNode[]): FieldsAndPatches(schema: GraphQLSchema, fragments: Record<string, FragmentDefinitionNode>, variableValues: VariableValues<Record<string, unknown>>, returnType: GraphQLObjectType, fieldNodes: FieldNode[]): FieldsAndPatches

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
engines.node>=16.0.0>=22.18.0
peerDependencies.graphql^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0^16.0.0 || ^17.0.0

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading @graphql-tools/utils from 12 to 13?

Between @graphql-tools/utils 12.1.0 and 13.0.0, Vigia found 17 removed exports, 2 changed signatures and 0 removed or changed class or interface members.

What became deprecated in @graphql-tools/utils 13?

0 exports or members are newly marked as deprecated in @graphql-tools/utils 13.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-tools/utils/upgrade?from=12.1.0&to=13.0.0