build(deps): bump @graphql-codegen/plugin-helpers from ^5.0.4 to ^6.3.0 - #215
Open
Martyniuk wants to merge 1 commit into
Open
build(deps): bump @graphql-codegen/plugin-helpers from ^5.0.4 to ^6.3.0#215Martyniuk wants to merge 1 commit into
Martyniuk wants to merge 1 commit into
Conversation
Martyniuk
force-pushed
the
build/bump-plugin-helpers-6.3.0
branch
from
August 11, 2026 10:30
266f139 to
a29d83c
Compare
Removes the vulnerable transitive lodash dependency (GHSA-r5fr-rjxr-66jc, GHSA-f23m-r3pf-42rh) from the published dependency chain: @graphql-codegen/plugin-helpers dropped lodash in 6.3.0.
Martyniuk
force-pushed
the
build/bump-plugin-helpers-6.3.0
branch
from
August 11, 2026 10:35
a29d83c to
a1267bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps
@graphql-codegen/plugin-helpersfrom^5.0.4to^6.3.0.Fixes #213
Why
plugin-helpers5.x depends onlodash: ~4.17.0, which resolves to versions affected by GHSA-r5fr-rjxr-66jc (high,_.templatecode injection) and GHSA-f23m-r3pf-42rh (moderate, prototype pollution). The tilde range can never reach a patched build — the fix only ships in lodash 4.18.x (public 4.17.23 exists but is not patched).This repo already mitigates it locally via the
lodash: '>=4.18.0'override inpnpm-workspace.yaml, but pnpm overrides don't propagate to consumers — anyone installing this package still inherits the vulnerable range. Bumping the declared dependency closes that gap.Why
^6.3.0and not^6.0.0or 7.x^6.0.0, but plugin-helpers 6.0.0–6.2.0 still declarelodash ~4.17.0— lodash was dropped in 6.3.0, the final 6.x release.change-case-all@^2.1.0, which this repo's jest 27 toolchain cannot load — with 7.1.0, 11 of 14 test suites fail (Jest encountered an unexpected tokenviaresolve-external-module-and-fn.js).^6.3.0stays on the CJS-compatible line while allowing any future 6.x patch.oldVisitandresolveExternalModuleAndFn— both unchanged in 6.3.0.Validation (node 24, pnpm 11.7.0, fresh install)
pnpm install --frozen-lockfile: passes (lockfile in sync with the manifest)pnpm test: 14/14 suites, 125/125 tests, 116 snapshots passpnpm build: cleanpnpm why lodash --prod: empty — no lodash left in the published dependency chainThe remaining
plugin-helpers@5.1.1in the lockfile comes only from devDependencies (@graphql-codegen/typescript,@graphql-codegen/testing) and does not reach consumers; it stays covered by the existing workspace override.