@graphql-tools/utils
13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed
11.2.2 is the newest release of 11.x.
In short
1 fixed
Security
2 advisories affect 11.1.1; 12.0.2 fixes them
- HighGraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segmentsGHSA-c4qx-w738-7hr3 · 22 Oct 2026Fixed in 12.0.2
- HighGraphQL Tools has prototype pollution in well-established utility function `mergeDeep`GHSA-7mx3-vvmw-hjmv · 5 Oct 2026Fixed in 12.0.1
Release note
The section about @graphql-tools/utils of a note shared by several packages.
@graphql-tools/utils@11.1.1
Patch Changes
#8256
981d461
Thanks @twavv! - FixmergeDeepreturningundefinedinstead of{}
when merging two or more empty objects.Previously the output accumulator was only initialized inside the per-key loop, so merging sources
with no own keys (e.g.mergeDeep([{}, {}])) left itundefined. This silently dropped
empty-object values during nested merges ({ data: {} }became{ data: undefined }), which
could surface as "Cannot return null for non-nullable field" errors when stitching schemas. The
accumulator is now initialized as soon as an object source is encountered.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.