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 paths | 0 |
|---|---|
| Removed exports | 17 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 2 |
| New exports | 0 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@graphql-tools/utils | isPromise | variable | any |
@graphql-tools/utils | withCancel | function | <T, TAsyncIterable extends AsyncIterable<T>, TReturn = any>(asyncIterable: TAsyncIterable, onCancel: (value?: TReturn | undefined) => void | Promise<void>): TAsyncIterable |
@graphql-tools/utils | fakePromise | variable | any |
@graphql-tools/utils | MaybePromise | variable | any |
@graphql-tools/utils | debugTimerEnd | function | (name: string): void |
@graphql-tools/utils | createDeferred | variable | any |
@graphql-tools/utils | debugTimerStart | function | (name: string): void |
@graphql-tools/utils | getAbortPromise | variable | (signal: AbortSignal): Promise<unknown> |
@graphql-tools/utils | mapMaybePromise | function | <TInput, TOutput>(input: MaybePromise<TInput>, onSuccess: (value: TInput) => MaybePromise<TOutput>, onError?: ((err: any) => MaybePromise<TOutput>) | undefined): MaybePromise<TOutput> |
@graphql-tools/utils | mapAsyncIterator | variable | any |
@graphql-tools/utils | getArgumentValues | function | (def: any, node: any, variableValues?: Record<string, any> | undefined, variableSources?: Record<string, unknown> | undefined): Record<string, any> |
@graphql-tools/utils | createGraphQLError | function | (message: string, options?: GraphQLErrorOptions | undefined): GraphQLError |
@graphql-tools/utils | isGraphQLErrorLike | function | (error: any): boolean |
@graphql-tools/utils | PromiseWithResolvers | interface | interface |
@graphql-tools/utils | getAsyncIterableWithCancel | function | <T, TAsyncIterable extends AsyncIterable<T>, TReturn = any>(asyncIterable: TAsyncIterable, onCancel: (value?: TReturn | undefined) => void | Promise<void>): TAsyncIterable |
@graphql-tools/utils | getAsyncIteratorWithCancel | function | <T, TReturn = any>(asyncIterator: AsyncIterator<T, any, any>, onCancel: (value?: TReturn | undefined) => void | Promise<void>): AsyncIterator<T, any, any> |
@graphql-tools/utils | registerAbortSignalListener | function | (signal: AbortSignal, listener: () => void): void |
Changed signatures
| export | Before | After |
|---|---|---|
@graphql-tools/utils · inspect | any | (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)
| Before | After | |
|---|---|---|
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