ترقية @graphql-codegen/plugin-helpers من 7.x إلى 8.x
مقارنة الواجهة العامة لـ @graphql-codegen/plugin-helpers بين 7.4.2 و8.0.0، محسوبة تلقائيًا من أنواع TypeScript. التوقيع المعدّل تغيير محتمل غير متوافق، وليس أمرًا مؤكدًا.
الملخص
| مسارات الاستيراد المحذوفة | 0 |
|---|---|
| الصادرات المحذوفة | 3 |
| التوقيعات المعدّلة | 3 |
| أعضاء الأصناف أو الواجهات المحذوفة | 0 |
| أعضاء الأصناف أو الواجهات المعدّلة | 1 |
| موقوفة حديثًا | 0 |
| تغييرات المتطلبات (engines واعتماديات peer) | 2 |
| صادرات جديدة | 1 |
الصادرات المحذوفة
| import | export | kind | قبل |
|---|---|---|---|
@graphql-codegen/plugin-helpers | isConfiguredOutput | function | (type: any): type is ConfiguredOutput |
@graphql-codegen/plugin-helpers | isOutputConfigArray | function | (type: any): type is OutputConfig[] |
@graphql-codegen/plugin-helpers | normalizeImportExtension | function | ({ emitLegacyCommonJSImports, importExtension, }: { emitLegacyCommonJSImports: boolean | undefined; importExtension: "" | `.${string}` | undefined; }): "" | `.${string}` |
التوقيعات المعدّلة
| export | قبل | بعد |
|---|---|---|
@graphql-codegen/plugin-helpers · PluginFunction | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: { [key: string]: any; outputFile?: string | undefined; allPlugins?: ConfiguredPlugin[] | undefined; pluginContext?: { [key: string]: any; } | undefined; } | undefined) => Promisable<TOutput> | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: (Partial<PluginInfo> & { [key: string]: any; }) | undefined) => Promisable<TOutput> |
@graphql-codegen/plugin-helpers · PluginValidateFn | (schema: GraphQLSchema, documents: DocumentFile[], config: T, outputFile: string, allPlugins: ConfiguredPlugin[], pluginContext?: { [key: string]: any; } | undefined) => Promisable<void> | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info: PluginInfo) => Promisable<void> |
@graphql-codegen/plugin-helpers · normalizeOutputParam | (config: OutputConfig | ConfiguredOutput | ConfiguredPlugin[]): ConfiguredOutput | (config: ConfiguredOutput | ConfiguredOutput[]): ConfiguredOutput[] |
أعضاء الأصناف أو الواجهات المحذوفة
لم يُكتشف شيء.
أعضاء الأصناف أو الواجهات المعدّلة
| member | قبل | بعد |
|---|---|---|
CodegenPlugin.plugin | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: { [key: string]: any; outputFile?: string | undefined; allPlugins?: ConfiguredPlugin[] | undefined; pluginContext?: { [key: string]: any; } | undefined; } | undefined): Promisable<PluginOutput> | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: (Partial<PluginInfo> & { [key: string]: any; }) | undefined): Promisable<PluginOutput> |
موقوفة حديثًا
لم يُكتشف شيء.
تغييرات المتطلبات (engines واعتماديات peer)
| قبل | بعد | |
|---|---|---|
engines.node | >=16 | >=22.18.0 |
peerDependencies.graphql | ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 | ^16.0.0 || ^17.0.0 |
صادرات جديدة (1)
| import | export | kind |
|---|---|---|
@graphql-codegen/plugin-helpers | PluginInfo | interface |
زوّد وكيل الذكاء الاصطناعي بهذه البيانات
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-codegen/plugin-helpers من 7 إلى 8؟
بين @graphql-codegen/plugin-helpers 7.4.2 و8.0.0 وجد Vigia عدد 3 من الصادرات المحذوفة، و3 من التوقيعات المعدّلة، و1 من أعضاء الأصناف أو الواجهات المحذوفة أو المعدّلة.
ما الذي أصبح موقوفًا في @graphql-codegen/plugin-helpers 8؟
عُلِّم 0 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في @graphql-codegen/plugin-helpers 8.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-codegen/plugin-helpers/upgrade?from=7.4.2&to=8.0.0