-
-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when migrating to ESM version #2350
Comments
I have updated the dependency: https://github.com/sindresorhus/got/releases/tag/v14.3.0 |
Hrm still getting the error so probably wasn't that :/ |
It might need this? jaredwray/keyv@bc130da |
@Stanzilla - it could need that as it is on |
Ah thank you! Do you have a rough ETA? |
@Stanzilla you can try it now. It will be fully released in the next couple weeks |
Just for tracking, keyv 5 is out now, we just need https://github.com/jaredwray/cacheable/blob/main/packages/cacheable-request/package.json to update to it as well now, then update it in got |
@Stanzilla - it is released and we are working on updating all of our systems. This is a breaking change so might take a bit to get it updated and live in |
@Stanzilla - we are planning that this will be released this month. Just FYI. @sindresorhus this could be a bit breaking as we no longer support the |
@Stanzilla - https://www.npmjs.com/package/cacheable-request has been released with Keyv v5. 🎉 The major change is that you can no longer pass the uri as a string. |
Describe the bug
I'm upgrading from v12 to v14 and getting an error that sounds ESM related
Actual behavior
Looking at the stack trace suggests that it might come from cachable-request which got uses version 10.2.14 of. There is v12 these days and v11 mentions updates for modern node versions, so maybe that's already it? https://github.com/jaredwray/cacheable/releases/tag/v11.0.0
Expected behavior
No error
...
Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: