Packages

@graphql-tools/import

8.0.9 · 10 Nov 2026MIT13.6M / weekRepositoryHomepagenpmAtom feed

Your version

8.0.6

22 Oct 2026Where it was published

8.0.9 is the newest release of 8.x.

In short

1 faster2 internal

Release note

The section about @graphql-tools/import of a note shared by several packages.

@graphql-tools/import@8.0.6

Patch Changes

  • processImport keeps the AST nodes collected from #import instead of printing every definition to SDL and parsing that string again.

    A type that many other types depend on is stored in each of those sets, so the same node was printed over and over. Two files can also carry identical SDL (for example the same type Query after a field import). Those are still de-duplicated: skip a node already seen, and skip a second node that prints to the same SDL. The first node is kept. Leading comments stay on that node (for example # eslint-disable-next-line above a query).

    const document = processImport('./schema.graphql');
    // document.definitions are the nodes parsed from the imported files

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.