Оновлення @graphql-codegen/visitor-plugin-common з 7.x до 8.x
Порівняння публічного API @graphql-codegen/visitor-plugin-common 7.5.0 і 8.0.0, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.
Підсумок
| Видалені шляхи імпорту | 0 |
|---|---|
| Видалені експорти | 0 |
| Змінені сигнатури | 1 |
| Видалені члени класів або інтерфейсів | 10 |
| Змінені члени класів або інтерфейсів | 0 |
| Нові застарівання | 0 |
| Зміни вимог (engines, peer-залежності) | 2 |
| Нові експорти | 1 |
Видалені експорти
Не виявлено.
Змінені сигнатури
| export | Було | Стало |
|---|---|---|
@graphql-codegen/visitor-plugin-common · ImportDeclaration | { outputPath: string; importSource: ImportSource<T>; baseOutputDir: string; baseDir: string; typesImport: boolean; emitLegacyCommonJSImports?: boolean | undefined; importExtension: "" | `.${string}`; } | { outputPath: string; importSource: ImportSource<T>; baseOutputDir: string; baseDir: string; typesImport: boolean; importExtension: "" | `.${string}`; } |
Видалені члени класів або інтерфейсів
| member | import | Було |
|---|---|---|
RawConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
ParsedConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
RawTypesConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
ParsedTypesConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
RawDocumentsConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
RawResolversConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
ParsedDocumentsConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
ParsedResolversConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
ClientSideBasePluginConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
RawClientSideBasePluginConfig.emitLegacyCommonJSImports | @graphql-codegen/visitor-plugin-common | boolean | undefined |
Змінені члени класів або інтерфейсів
Не виявлено.
Нові застарівання
Не виявлено.
Зміни вимог (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/visitor-plugin-common | hasFragmentVariables | function |
Передайте ці дані своєму ШІ-агенту
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 для pull request
Поширені запитання
Які несумісні зміни під час оновлення @graphql-codegen/visitor-plugin-common з 7 до 8?
Між @graphql-codegen/visitor-plugin-common 7.5.0 і 8.0.0 Vigia знайшла видалених експортів: 0, змінених сигнатур: 1, видалених або змінених членів класів та інтерфейсів: 10.
Що застаріло в @graphql-codegen/visitor-plugin-common 8?
У @graphql-codegen/visitor-plugin-common 8.0.0 новими застарілими позначено експортів або членів: 0.
Для агентів
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-codegen/visitor-plugin-common/upgrade?from=7.5.0&to=8.0.0