Skip to content

Bump @graphql-tools/utils, @graphql-codegen/cli, @graphql-codegen/client-preset, @graphql-codegen/plugin-helpers, @graphql-codegen/schema-ast, @graphql-codegen/visitor-plugin-common and @graphql-codegen/typescript-resolvers in /lib - #98

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/lib/multi-cf27260184

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 27, 2026

Copy link
Copy Markdown
Contributor

Bumps @graphql-tools/utils to 12.1.0 and updates ancestor dependencies @graphql-tools/utils, @graphql-codegen/cli, @graphql-codegen/client-preset, @graphql-codegen/plugin-helpers, @graphql-codegen/schema-ast, @graphql-codegen/visitor-plugin-common and @graphql-codegen/typescript-resolvers. These dependencies need to be updated together.

Updates @graphql-tools/utils from 11.2.2 to 12.1.0

Changelog

Sourced from @​graphql-tools/utils's changelog.

12.1.0

Minor Changes

  • #8445 82457d1 Thanks @​ardatan! - Fix: Preserve symbol-keyed GraphQL extensions when building, merging, or extracting schemas.

    GraphQL.js v17 allows string | symbol keys on schema/type/field extensions (via toObjMapWithSymbols). @graphql-tools was dropping those symbol keys in two places:

    1. mergeDeep only walked enumerable string keys (for...in), so symbol extensions were lost when applying schemaExtensions.
    2. extractExtensionsFromSchema did not copy non-enumerable own symbol keys (enumerable symbols already survive object rest/spread; the explicit loop covers the non-enumerable case).

    Example (bug)

    import { makeExecutableSchema } from '@graphql-tools/schema'
    const META = Symbol('META')
    const schema = makeExecutableSchema({
    typeDefs: /* GraphQL */ type Query { hello: String },
    schemaExtensions: {
    schemaExtensions: {
    [META]: { source: 'app' },
    tagged: true,
    },
    types: {},
    },
    })
    // Before: only string keys survived
    // schema.extensions === { tagged: true }
    // After: symbol keys are preserved
    // schema.extensions[META] === { source: 'app' }
    // schema.extensions.tagged === true

    Schema extension merge/extract and resolver merging always enable { enumerable: true, nonEnumerable: true } so symbol keys survive in tools' own merge/extract paths on every supported GraphQL.js major. (GraphQL.js itself may still drop symbol keys from field configs below v17 when rebuilding types.)

    mergeDeep API

    mergeDeep now accepts an options object. The old positional boolean arguments still work but are deprecated.

    import { mergeDeep } from '@graphql-tools/utils'

... (truncated)

Commits
  • 3634233 chore(release): update monorepo packages versions (#8505)
  • a75d725 fix(utils): keep argument types of defined directives in pruneSchema (#8493)
  • 98673c3 fix(utils): coerce GraphQL 17 argument defaults in getArgumentValues (#8513)
  • 82457d1 fix: preserve symbol-keyed schema extensions (#8445)
  • 691cbd7 build(deps): bump the actions-deps group across 1 directory with 16 updates (...
  • 28d08e8 chore(release): update monorepo packages versions (#8486)
  • fd95dc9 fix(utils): skip empty descriptions in getDescriptionNode (#8499)
  • a73dd1d build(deps-dev): bump the actions-deps group across 1 directory with 3 update...
  • 944121e Upcoming Release Changes (#8483)
  • 19f5b33 fix(utils): compare path keys to proto at the property access (#8482)
  • Additional commits viewable in compare view

Updates @graphql-codegen/cli from 7.4.3 to 7.4.6

Changelog

Sourced from @​graphql-codegen/cli's changelog.

7.4.6

Patch Changes

  • #10985 d8aa07f Thanks @​eddeee888! - Build with strict: true, which changes these emitted type declarations:

    • @graphql-codegen/cli: mkdirp returns Promise<string | undefined>, and the require (-r) CLI option's default is typed never[] instead of any[].
    • @graphql-codegen/visitor-plugin-common: BaseResolversVisitor and BaseTypesVisitor SchemaDefinition()/SchemaExtension() return null instead of any.
    • @graphql-codegen/visitor-plugin-common: BaseSelectionSetProcessor.typeCache is keyed by Location | undefined.
    • @graphql-codegen/visitor-plugin-common: SelectionSetToObject.buildSelectionSet returns typeInfo as { name: string; type: string } | null.
    • @graphql-codegen/visitor-plugin-common: getPossibleTypes accepts null as the type, which graphql 15's schema.getType() can return.
    • @graphql-codegen/visitor-plugin-common: removeDescription returns nodes with description: undefined instead of any.
    • @graphql-codegen/typescript: TsIntrospectionVisitor's constructor takes pluginConfig as TypeScriptPluginConfig | undefined, DirectiveDefinition() returns null and ObjectTypeDefinition() returns string | null.
    • @graphql-codegen/client-preset: the babel preset accepts options as ClientBabelPresetOptions | null | undefined.
    • @graphql-codegen/testing: mockGraphQLServer returns nock.Scope | null.
    • @graphql-codegen/graphql-modules-preset: a schema without extensions (graphql 15) throws the "requires to use GraphQL SDL" error instead of a TypeError.

    Generated output is unchanged.

  • Updated dependencies [d8aa07f]:

    • @​graphql-codegen/client-preset@​6.2.3

7.4.5

Patch Changes

... (truncated)

Commits

Updates @graphql-codegen/client-preset from 6.2.0 to 6.2.3

Changelog

Sourced from @​graphql-codegen/client-preset's changelog.

6.2.3

Patch Changes

  • #10985 d8aa07f Thanks @​eddeee888! - Build with strict: true, which changes these emitted type declarations:

    • @graphql-codegen/cli: mkdirp returns Promise<string | undefined>, and the require (-r) CLI option's default is typed never[] instead of any[].
    • @graphql-codegen/visitor-plugin-common: BaseResolversVisitor and BaseTypesVisitor SchemaDefinition()/SchemaExtension() return null instead of any.
    • @graphql-codegen/visitor-plugin-common: BaseSelectionSetProcessor.typeCache is keyed by Location | undefined.
    • @graphql-codegen/visitor-plugin-common: SelectionSetToObject.buildSelectionSet returns typeInfo as { name: string; type: string } | null.
    • @graphql-codegen/visitor-plugin-common: getPossibleTypes accepts null as the type, which graphql 15's schema.getType() can return.
    • @graphql-codegen/visitor-plugin-common: removeDescription returns nodes with description: undefined instead of any.
    • @graphql-codegen/typescript: TsIntrospectionVisitor's constructor takes pluginConfig as TypeScriptPluginConfig | undefined, DirectiveDefinition() returns null and ObjectTypeDefinition() returns string | null.
    • @graphql-codegen/client-preset: the babel preset accepts options as ClientBabelPresetOptions | null | undefined.
    • @graphql-codegen/testing: mockGraphQLServer returns nock.Scope | null.
    • @graphql-codegen/graphql-modules-preset: a schema without extensions (graphql 15) throws the "requires to use GraphQL SDL" error instead of a TypeError.

    Generated output is unchanged.

  • Updated dependencies [d8aa07f, 5078faf]:

    • @​graphql-codegen/visitor-plugin-common@​7.2.10
    • @​graphql-codegen/typescript@​6.1.2

6.2.2

Patch Changes

... (truncated)

Commits
  • 68a2ef2 chore(release): update monorepo packages versions (#11049)
  • e9081df chore(release): update monorepo packages versions (#11038)
  • 31761f9 chore(deps): bump @​graphql-tools/utils to v12 for GHSA-7mx3-vvmw-hjmv (#11043)
  • 1b0edd8 chore(release): update monorepo packages versions (#11008)
  • e972b6d [client-preset] fix: satisfy strict mode in the client preset (#4683) (#10995)
  • 2052509 [graphql-codegen-testing] fix: anchor validateTs module resolution at the cal...
  • ce7ad44 chore(release): update monorepo packages versions (#10947)
  • b545f6b [client-preset] fix: add eslint-disable to generated index.ts (#10210) (#10952)
  • a6a3348 [client-preset] feat: add skipIndexFile option to skip index.ts generation (#...
  • 0ada1c4 chore(release): update monorepo packages versions (#10919)
  • Additional commits viewable in compare view

Updates @graphql-codegen/plugin-helpers from 7.4.0 to 7.4.2

Changelog

Sourced from @​graphql-codegen/plugin-helpers's changelog.

7.4.2

Patch Changes

  • #11043 31761f9 Thanks @​eddeee888! - dependencies updates:

  • #11043 31761f9 Thanks @​eddeee888! - Update @graphql-tools/utils to v12, and other @graphql-tools/* dependencies and graphql-config to releases that use it, to pick up the fix for GHSA-7mx3-vvmw-hjmv (prototype pollution in mergeDeep, @graphql-tools/utils <= 12.0.0).

    @graphql-codegen/cli now unwraps the AggregateError that newer @graphql-tools/load versions throw, so schema and document syntax errors still print the native GraphQLError with its file location.

7.4.1

Patch Changes

  • #11025 43d0f65 Thanks @​BuddhaBing! - Widen Types.SchemaWithLoaderOptions['loader'] to accept a custom loader function (CustomSchemaLoaderFn) in addition to a path string.

    A per-entry schema custom loader ({ '<pointer>': { loader, ...options } }) is resolved by @graphql-tools/load's useCustomLoader, which already accepts either a path string (resolved via require()) or a function value at runtime (typeof loaderPointer === 'function'). Only the TypeScript type restricted loader to string, forcing consumers who pass an imported loader function (or a class instance exposing a bound loader property) to cast the schema array to bypass the type error, even though it worked correctly at runtime.

    This is additive and backward compatible — loader: string continues to type-check exactly as before.

    Also fixes a schema-cache collision for function loaders in @graphql-codegen/cli: the cache key is JSON.stringify(schemaPointerMap), and JSON.stringify drops functions, so two generates targets using different loader functions for the same pointer ({ 'schema.graphql': { loader: fnA } } vs { loader: fnB }) both keyed as {"schema.graphql":{}} and the second silently reused the first's schema. Function values are now keyed by object identity (via the existing getJsObjectId), so distinct loaders load separately while one function reused across targets still loads once.

... (truncated)

Commits

Updates @graphql-codegen/schema-ast from 6.1.0 to 6.1.1

Changelog

Sourced from @​graphql-codegen/schema-ast's changelog.

6.1.1

Patch Changes

  • #11043 31761f9 Thanks @​eddeee888! - dependencies updates:

  • #11043 31761f9 Thanks @​eddeee888! - Update @graphql-tools/utils to v12, and other @graphql-tools/* dependencies and graphql-config to releases that use it, to pick up the fix for GHSA-7mx3-vvmw-hjmv (prototype pollution in mergeDeep, @graphql-tools/utils <= 12.0.0).

    @graphql-codegen/cli now unwraps the AggregateError that newer @graphql-tools/load versions throw, so schema and document syntax errors still print the native GraphQLError with its file location.

  • Updated dependencies [31761f9, 31761f9]:

    • @​graphql-codegen/plugin-helpers@​7.4.2
Commits

Updates @graphql-codegen/visitor-plugin-common from 7.2.7 to 7.5.0

Changelog

Sourced from @​graphql-codegen/visitor-plugin-common's changelog.

7.5.0

Minor Changes

  • #11062 48ebd5d Thanks @​eddeee888! - Add enumType: 'native-with-string-values'. Enums are declared as native enums, and operation variables and input object fields accept either the enum member or its string value (E | `${E}` ).

7.4.0

Minor Changes

  • #11060 e2b3249 Thanks @​santialbo! - Add the inlineReferencedFragmentsInFragmentDocuments option. With documentMode: graphQLTag, each fragment document then includes the fragments that it spreads, so you can use it on its own. The default is false, and operation documents do not change.

    Refs #11040

7.3.0

Minor Changes

  • #11011 b3fbb13 Thanks @​eddeee888! - Add documentMode: 'plainString'. Documents are generated as plain template strings with fragments embedded, instead of TypedDocumentString instances. No class, import or type cast is generated, so each document is typed as string.

7.2.10

Patch Changes

  • #10985 d8aa07f Thanks @​eddeee888! - Build with strict: true, which changes these emitted type declarations:
    • @graphql-codegen/cli: mkdirp returns Promise<string | undefined>, and the require (-r) CLI option's default is typed never[] instead of any[].
    • @graphql-codegen/visitor-plugin-common: BaseResolversVisitor and BaseTypesVisitor SchemaDefinition()/SchemaExtension() return null instead of any.
    • @graphql-codegen/visitor-plugin-common: BaseSelectionSetProcessor.typeCache is keyed by Location | undefined.
    • @graphql-codegen/visitor-plugin-common: SelectionSetToObject.buildSelectionSet returns typeInfo as { name: string; type: string } | null.
    • @graphql-codegen/visitor-plugin-common: getPossibleTypes accepts null as the type, which

... (truncated)

Commits
  • fc18179 chore(release): update monorepo packages versions (#11077)
  • 48ebd5d [typescript-operations] feat: add native-with-string-values enumType (#7295) ...
  • da5a168 chore(release): update monorepo packages versions (#11064)
  • e2b3249 Add inlineReferencedFragmentsInFragmentDocuments option (#11060)
  • b7fbd36 chore(release): update monorepo packages versions (#11055)
  • b3fbb13 Add documentMode plainString (#11011)
  • 710d415 chore: type-check spec files with a solution-style root tsconfig (#11053)
  • 68a2ef2 chore(release): update monorepo packages versions (#11049)
  • d8aa07f chore: enable strict: true in root tsconfig (#4683) (#10985)
  • 5078faf [visitor-plugin-common] fix: satisfy strict mode in utils and the remaining f...
  • Additional commits viewable in compare view

Updates @graphql-codegen/typescript-resolvers from 6.1.0 to 6.1.1

Changelog

Sourced from @​graphql-codegen/typescript-resolvers's changelog.

6.1.1

Patch Changes

  • #11043 31761f9 Thanks @​eddeee888! - dependencies updates:

  • #11043 31761f9 Thanks @​eddeee888! - Update @graphql-tools/utils to v12, and other @graphql-tools/* dependencies and graphql-config to releases that use it, to pick up the fix for GHSA-7mx3-vvmw-hjmv (prototype pollution in mergeDeep, @graphql-tools/utils <= 12.0.0).

    @graphql-codegen/cli now unwraps the AggregateError that newer @graphql-tools/load versions throw, so schema and document syntax errors still print the native GraphQLError with its file location.

  • Updated dependencies [31761f9, 31761f9, 31761f9, 463e6ef]:

    • @​graphql-codegen/plugin-helpers@​7.4.2
    • @​graphql-codegen/visitor-plugin-common@​7.2.9
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

…ent-preset, @graphql-codegen/plugin-helpers, @graphql-codegen/schema-ast, @graphql-codegen/visitor-plugin-common and @graphql-codegen/typescript-resolvers

Bumps [@graphql-tools/utils](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/utils) to 12.1.0 and updates ancestor dependencies [@graphql-tools/utils](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/utils), [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli), [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client), [@graphql-codegen/plugin-helpers](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/utils/plugins-helpers), [@graphql-codegen/schema-ast](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/schema-ast), [@graphql-codegen/visitor-plugin-common](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/visitor-plugin-common) and [@graphql-codegen/typescript-resolvers](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/resolvers). These dependencies need to be updated together.


Updates `@graphql-tools/utils` from 11.2.2 to 12.1.0
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/utils/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/utils@12.1.0/packages/utils)

Updates `@graphql-codegen/cli` from 7.4.3 to 7.4.6
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@7.4.6/packages/graphql-codegen-cli)

Updates `@graphql-codegen/client-preset` from 6.2.0 to 6.2.3
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/client-preset@6.2.3/packages/presets/client)

Updates `@graphql-codegen/plugin-helpers` from 7.4.0 to 7.4.2
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/utils/plugins-helpers/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/plugin-helpers@7.4.2/packages/utils/plugins-helpers)

Updates `@graphql-codegen/schema-ast` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/other/schema-ast/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/schema-ast@6.1.1/packages/plugins/other/schema-ast)

Updates `@graphql-codegen/visitor-plugin-common` from 7.2.7 to 7.5.0
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/other/visitor-plugin-common/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/visitor-plugin-common@7.5.0/packages/plugins/other/visitor-plugin-common)

Updates `@graphql-codegen/typescript-resolvers` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/resolvers/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript-resolvers@6.1.1/packages/plugins/typescript/resolvers)

---
updated-dependencies:
- dependency-name: "@graphql-tools/utils"
  dependency-version: 12.1.0
  dependency-type: indirect
- dependency-name: "@graphql-codegen/cli"
  dependency-version: 7.4.6
  dependency-type: direct:development
- dependency-name: "@graphql-codegen/client-preset"
  dependency-version: 6.2.3
  dependency-type: direct:development
- dependency-name: "@graphql-codegen/plugin-helpers"
  dependency-version: 7.4.2
  dependency-type: indirect
- dependency-name: "@graphql-codegen/schema-ast"
  dependency-version: 6.1.1
  dependency-type: indirect
- dependency-name: "@graphql-codegen/visitor-plugin-common"
  dependency-version: 7.5.0
  dependency-type: indirect
- dependency-name: "@graphql-codegen/typescript-resolvers"
  dependency-version: 6.1.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants