Packages

@graphql-tools/utils

13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed

Your version

10.10.0

30 Oct 2025Where it was published

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

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 arguments

    When 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 in mergeDeep;

    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 return undefined

    • mergeDeep([undefined]) - no sources should return undefined

  • #5294
    3b99a9b
    Thanks @n1ru4l! - Do not map builtin scalars

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.