@graphql-tools/import
8.0.9 · 10 Nov 2026MIT13.6M / weekRepositoryHomepagenpmAtom feed
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
processImportkeeps the AST nodes collected from#importinstead 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 Queryafter 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-lineabove 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.