dotansimha / dotansimha/graphql-code-generator
Deprecated dependency warning: node-domexception@1.0.0 in @graphql-tools/github-loader
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
### 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_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.