@graphql-tools/utils को 12.x से 13.x पर अपग्रेड करना
@graphql-tools/utils 12.1.0 और 13.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 17 |
| बदले गए सिग्नेचर | 2 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 0 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 2 |
| नए एक्सपोर्ट | 0 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
@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 |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
@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 |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
कुछ नहीं मिला।
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
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 |
अपने AI एजेंट को ये तथ्य दें
Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें
कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action
अक्सर पूछे जाने वाले प्रश्न
@graphql-tools/utils को 12 से 13 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
@graphql-tools/utils 12.1.0 और 13.0.0 के बीच Vigia को 17 हटाए गए एक्सपोर्ट, 2 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
@graphql-tools/utils 13 में क्या डिप्रिकेट हुआ?
@graphql-tools/utils 13.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-tools/utils/upgrade?from=12.1.0&to=13.0.0