Skip to content

Bump @graphql-tools/utils to v12.0.3 and @graphql-codegen/* to latest - #500

Merged
eddeee888 merged 4 commits into
masterfrom
claude/ecstatic-lamport-cdnnlo
Oct 7, 2026
Merged

eddeee888 merged 4 commits into
masterfrom
claude/ecstatic-lamport-cdnnlo

Conversation

@eddeee888

@eddeee888 eddeee888 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Removes GHSA-7mx3-vvmw-hjmv from the published packages' dependency trees. The advisory is a prototype pollution bug in mergeDeep and affects @graphql-tools/utils <=12.0.0. Previously every version of @graphql-tools/utils the server preset allowed (^11.2.2) was affected. @graphql-codegen/* and graphql-config have now released with @graphql-tools/utils ^12.0.3.

Changes

  • @eddeee888/gcg-typescript-resolver-files (minor):
    • @graphql-tools/utils ^12.0.3, @graphql-tools/merge ^9.2.6
    • @graphql-codegen/add ^7.1.1, plugin-helpers ^7.4.2, schema-ast ^6.1.1, typescript ^6.1.1, typescript-resolvers ^6.1.1
  • @eddeee888/gcg-server-config (patch): @graphql-codegen/typescript ^6.1.1, typescript-resolvers ^6.1.1
  • @eddeee888/gcg-operation-location-migration (patch): @graphql-codegen/add ^7.1.1, plugin-helpers ^7.4.2
  • Root devDependencies: re-pinned to the matching exact versions, plus @graphql-codegen/cli 7.4.5 and near-operation-file-preset 5.2.2.
  • operation-location-migration-e2e: typescript-operations 6.1.10.
  • pnpm-workspace.yaml:

Notes

  • New Node floor: @graphql-tools/utils v12 depends on @whatwg-node/promise-helpers v2, which requires Node >=22.15.0. That's why the resolver-files changeset is minor.
  • Vulnerable versions still in the lockfile, dev-only: @graphql-tools/utils 11.2.2 remains only through root dev-only tools. near-operation-file-preset 5.2.2 (its latest release) still depends on ^11, and the typescript-react-apollo alpha pulls plugin-helpers/visitor-plugin-common 6.3.0.
  • Lockfile refresh moved unrelated packages: I regenerated the lockfile with pnpm 11.7.0 and refreshed the transitive @graphql-codegen/* / @graphql-tools/* / graphql-config entries. That also moved some unrelated transitive packages, such as @jest/*, @babel/runtime, @parcel/watcher and ws, so the lockfile diff is larger than usual.

Testing

  • CI=true pnpm install --frozen-lockfile passes on a clean node_modules.
  • pnpm nx lint|test|build pass for typescript-resolver-files, server-config and operation-location-migration.
  • pnpm nx e2e typescript-resolver-files-e2e and operation-location-migration-e2e pass with no change to generated output.

🤖 Generated with Claude Code

claude added 2 commits October 7, 2026 13:20
The preset's direct dependencies no longer pull in versions affected by
GHSA-7mx3-vvmw-hjmv (prototype pollution in mergeDeep, @graphql-tools/utils
<=12.0.0). Transitive copies via @graphql-codegen/* and graphql-config clear
once those packages release with the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…/utils v12

Clears GHSA-7mx3-vvmw-hjmv from the published packages' dependency trees
now that @graphql-codegen/* and graphql-config have released with
@graphql-tools/utils ^12.0.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 08edee6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@eddeee888/gcg-typescript-resolver-files Minor
@eddeee888/gcg-server-config Patch
@eddeee888/gcg-operation-location-migration Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

claude added 2 commits October 7, 2026 13:48
…watcher builds

@graphql-codegen/* and graphql-config versions with the
GHSA-7mx3-vvmw-hjmv fix were published within pnpm's minimumReleaseAge
window, so CI rejects the lockfile. Exclude them until they age out.

@graphql-codegen/cli 7.4.5 adds @parcel/watcher, whose build script
pnpm 11 requires an explicit decision on. Deny it: the package uses its
prebuilt platform binaries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elpers v7.4.2

plugin-helpers 7.4.2 types ComplexPluginOutput prepend/append as
(string | null)[]. Array.prototype.join already renders null as an empty
string, so the generated output is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread pnpm-workspace.yaml
Comment on lines +10 to +19
minimumReleaseAgeExclude:
- '@graphql-codegen/cli'
- '@graphql-codegen/client-preset'
- '@graphql-codegen/core'
- '@graphql-codegen/gql-tag-operations'
- '@graphql-codegen/plugin-helpers'
- '@graphql-codegen/schema-ast'
- '@graphql-codegen/typescript-resolvers'
- '@graphql-codegen/visitor-plugin-common'
- graphql-config

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: these are listed by package name rather than name@version, to match the most recent exclusion in #490. They're the 9 entries CI rejected for being under a day old.

Skill: cops:pr-note


Generated by Claude Code

"devDependencies": {
"@eddeee888/gcg-operation-location-migration": "workspace:*",
"@graphql-codegen/typescript-operations": "6.1.5",
"@graphql-codegen/typescript-operations": "6.1.10",

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: bumped so the e2e project generates with the same plugin-helpers / visitor-plugin-common release line the published packages now require (6.1.10 needs ^7.4.1 / ^7.2.8), so e2e tests what ships.

Skill: cops:pr-note


Generated by Claude Code

@eddeee888
eddeee888 merged commit 2df03b5 into master Oct 7, 2026
19 checks passed
@eddeee888
eddeee888 deleted the claude/ecstatic-lamport-cdnnlo branch October 7, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants