Skip to content

Deprecated dependency warning: node-domexception@1.0.0 in @graphql-tools/github-loader #10555

@Srishailam

Description

@Srishailam

Is your feature request related to a problem? Please describe.

Describe the bug

When running yarn install, a deprecation warning appears for node-domexception@1.0.0 which is a transitive dependency of @graphql-codegen/cli.

Warning message

Describe the solution you'd like

Environment

  • @graphql-codegen/cli version: 6.1.0
  • Node.js version: 20.9.0
  • Package manager: Yarn 1.x

Expected behavior

No deprecation warnings from transitive dependencies.

Suggested fix

The node-domexception package is deprecated because modern Node.js (v18+) has native DOMException support. The dependency chain could be updated:

  • Update @graphql-tools/github-loader to use a newer fetch implementation
  • Or update the transitive dependencies to versions that don't rely on node-domexception

Additional context

This is a low-priority cosmetic issue but causes noise in CI/CD logs.

Describe alternatives you've considered

No response

Any additional important details?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions