Aktualizacja @graphql-tools/utils z 12.x do 13.x
Porównanie publicznego API @graphql-tools/utils 12.1.0 i 13.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 17 |
| Zmienione sygnatury | 2 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 0 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 2 |
| Nowe eksporty | 0 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
@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 |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@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 |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
Nie wykryto.
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
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 |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @graphql-tools/utils z 12 do 13?
Między @graphql-tools/utils 12.1.0 a 13.0.0 Vigia znalazła 17 usuniętych eksportów, 2 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @graphql-tools/utils 13?
0 eksportów lub składowych oznaczono w @graphql-tools/utils 13.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-tools/utils/upgrade?from=12.1.0&to=13.0.0