@graphql-tools/utils
13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed
10.11.0 is the newest release of 10.x.
In short
1 new2 fixed
Security
1 advisory affects 10.10.0; 12.0.1 fixes them
- 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@10.10.0
Minor Changes
#5269
fded91e
Thanks @uroslates! - Add default values to the argumentsWhen the schema is like following;
type Query { getAllPages(currentPage: Int = 0, pageSize: Int = 10, pageType: getAllPages_pageType = ContentPage, sort: String = "asc"): PagesList } enum getAllPages_pageType { ContentPage CategoryPage CatalogPage } type PagesList { ... }The generated operation will be like following;
query getAllPages_query($currentPage: Int = 0, $pageSize: Int = 10, $pageType: getAllPages_pageType = ContentPage, $sort: String = "asc") { getAllPages(currentPage: $currentPage, pageSize: $pageSize, pageType: $pageType, sort: $sort) { ... } }
Patch Changes
#7012
fd105f4
Thanks @ardatan! - Fix the bug inmergeDeep;The following inputs and outputs are corrected;
mergeDeep([{a:2}, undefined])- Any nullish values should be ignored so it should return{a:2}mergeDeep()- no sources should returnundefinedmergeDeep([undefined])- no sources should returnundefined
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.