What's Changed
Features
- CommonJS Support: Added CommonJS module format () alongside ESM for better compatibility with Jest and other testing environments that aren't fully ESM-ready
- Improved Type Defaults: Default type parameters to
any
for easier migration and reduced type friction
Pull Requests
- feat(graphql-request): default types any and support common js #1396
Contributors
Thanks to @Moumouls (Antoine Cormouls) for the contribution! 🚀
Installation:
npm install graphql-request@7.3.0
Package: https://www.npmjs.com/package/graphql-request/v/7.3.0