Open benasher44 opened 1 month ago
we can get our project to compile by adding this to our tsconfig
"strictBuiltinIteratorReturn": false,
but would prefer to keep that setting enabled if possible.
Same issue. The tsconfig setting "strictBuiltinIteratorReturn": false
prevents the error, but it would be nice to keep it enabled. FYI https://github.com/isaacs/node-lru-cache/issues/354 lru cache issue has been recently fixed in the source library so hopefully the dependency can be fixed.
Describe the bug
The build fails compiling with TS 5.6:
Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue
Expected behavior
Compiles successfully
Screenshots or Videos
No response
Platform
@graphql-yoga/*
version(s): 5.6.1Additional context
lru-cache v10.x doesn't seem to be compatible with TS 5.6, but lru-cache v11 seems to be fine. Upgrading would require dropping support for node less 20 though, so this would require graphql-yoga to go to v6. Maybe it's time?