| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| October 09, 2026 source code.tar.gz | 2026-10-09 | 2.6 MB | |
| October 09, 2026 source code.zip | 2026-10-09 | 3.1 MB | |
| README.md | 2026-10-09 | 16.1 kB | |
| Totals: 3 Items | 5.8 MB | 3 | |
@graphql-codegen/cli@7.4.6
Patch Changes
-
#10985
d8aa07fThanks @eddeee888! - Build withstrict: true, which changes these emitted type declarations:@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r) CLI option'sdefaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, which graphql 15'sschema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the "requires to use GraphQL SDL" error instead of aTypeError.
Generated output is unchanged.
-
Updated dependencies [
d8aa07f]:- @graphql-codegen/client-preset@6.2.3
@graphql-codegen/visitor-plugin-common@7.2.10
Patch Changes
-
#10985
d8aa07fThanks @eddeee888! - Build withstrict: true, which changes these emitted type declarations:@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r) CLI option'sdefaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, which graphql 15'sschema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the "requires to use GraphQL SDL" error instead of aTypeError.
Generated output is unchanged.
-
#11039
5078fafThanks @eddeee888! - Fix type errors invisitor-plugin-common(utils,imports,naming,mappers,types,variables-to-object,convert-schema-enum-to-declaration-block-string,selection-set-processor/baseandoptimize-operations) understrict: true:transformCommentacceptsundefinedandnull, which it already handles by returning an empty string.blockdeclares its param asstring[] | null | undefined, which it already handles by returning an empty string.DeclarationBlock's fields are typed asstring | null(_nameasstring | NameNode | null), andwithBlockacceptsnull, which renders the same as no block.DeclarationBlockfalls back to returning the block unchanged whenblockTransformeris passed asundefined, instead of throwing.buildScalarsaccepts anundefinedscalars mapping, which it already handles by using only the defaults and the schema.buildTypeImportaccepts a nullishidentifierandsource, and throws a descriptive error when either is missing.ParsedEnumValuesMap'smappedValues,sourceIdentifier,sourceFileandimportIdentifieracceptnull, whichparseEnumValuesalready emits.transformMappersdefaultsrawMappersto{}.OperationVariablesToObject.getName,OperationVariablesToObject.transformandBaseSelectionSetProcessor.buildSelectionSetFromStringsmay returnnull, which they already return.buildEnumValuesBlockthrows a descriptive error when an enum value is not defined on the schema's enum.optimizeOperationsthrows a descriptive error when a document file has no parsed document.unique's default key usesString(item).convertSchemaEnumToDeclarationBlockStringtreats an enum node withoutvaluesas empty instead of throwing.generateFragmentImportStatementtreats a missingidentifiersas empty.getDeprecationReasonreturns the default reason for a@deprecateddirective without arguments.isOneOfInputObjectTypereturnsfalseinstead ofundefined.buildEnumValuesBlocktreats a non-enum schema type with the enum's name as having no schema enum.OperationVariablesToObjectemits''instead of the textundefined/nullwhen a variable has no name or no type identifier.
Generated output is unchanged, except in the cases above.
@graphql-codegen/typescript@6.1.2
Patch Changes
-
#10985
d8aa07fThanks @eddeee888! - Build withstrict: true, which changes these emitted type declarations:@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r) CLI option'sdefaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, which graphql 15'sschema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the "requires to use GraphQL SDL" error instead of aTypeError.
Generated output is unchanged.
-
Updated dependencies [
d8aa07f,5078faf]:- @graphql-codegen/visitor-plugin-common@7.2.10
@graphql-codegen/client-preset@6.2.3
Patch Changes
-
#10985
d8aa07fThanks @eddeee888! - Build withstrict: true, which changes these emitted type declarations:@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r) CLI option'sdefaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, which graphql 15'sschema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the "requires to use GraphQL SDL" error instead of aTypeError.
Generated output is unchanged.
-
Updated dependencies [
d8aa07f,5078faf]:- @graphql-codegen/visitor-plugin-common@7.2.10
- @graphql-codegen/typescript@6.1.2
@graphql-codegen/graphql-modules-preset@6.1.3
Patch Changes
-
#10985
d8aa07fThanks @eddeee888! - Build withstrict: true, which changes these emitted type declarations:@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r) CLI option'sdefaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, which graphql 15'sschema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the "requires to use GraphQL SDL" error instead of aTypeError.
Generated output is unchanged.
-
Updated dependencies [
d8aa07f,5078faf]:- @graphql-codegen/visitor-plugin-common@7.2.10
@graphql-codegen/testing@5.0.6
Patch Changes
-
#10985
d8aa07fThanks @eddeee888! - Build withstrict: true, which changes these emitted type declarations:@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r) CLI option'sdefaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, which graphql 15'sschema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the "requires to use GraphQL SDL" error instead of aTypeError.
Generated output is unchanged.