@graphql-tools/utils
13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed
Upgrading @graphql-tools/utils From 12.0.0 to 12.1.0
5 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 2
- advisories fixed
- 2
- new
- 7
- fixes
Security
Fixes 2 advisories affecting 12.0.0
- GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`high · GHSA-7mx3-vvmw-hjmv
- GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segmentshigh · GHSA-c4qx-w738-7hr3
- 12.0.2
Fix prototype pollution in
mergeIncrementalResult - 12.0.1
Fix prototype pollution in
mergeDeep
Release by release
- New
Fix: Preserve symbol-keyed GraphQL extensions when building, merging, or extracting schemas.
- Fixed
utils: Coerce GraphQL 17 argument defaults in getArgumentValues via local input coercion (defaults, missing variables, nested sources)
- Fixed
Keep argument types of defined directives when pruning so that unused directives such as
@key(fields: _FieldSet!)retain their full definitions instead of losing the argument together with its type.
- New
- Fixed
Skip empty and whitespace-only
descriptionvalues ingetDescriptionNode/printSchemaWithDirectives, so loaders that setdescription: ""no longer emit""""""in printed SDL.
- Fixed
- Fixed
Compare incremental path keys to
__proto__at the property access insetObjectKeyPath, in addition to the existingisSafeObjectKeycheck.
- Fixed
- Security
Fix prototype pollution in
mergeIncrementalResult
- Security
- Security
Fix prototype pollution in
mergeDeep - New
Allow
%in paths checked byisValidPath(e.g. directories from URL-encoded repo names). - Fixed
Omit mutation/subscription from
printSchemaWithDirectiveswhen those root types are no longer present on the schema (e.g. afterpruneSchema). - Fixed
Clean up
observableToAsyncIterablequeues and unsubscribe when the observable completes, so iterators do not retain references afterdone. Fixes leak detection flakes related to #8057. - Fixed
Prefer runtime
descriptionvalues over staleastNodedescriptions inprintSchemaWithDirectives/getDescriptionNode. Fixes #5508.
- Security
1 internal line (docs, tests, tooling) left out.
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.