-
Notifications
You must be signed in to change notification settings - Fork 35
fix(exports parser): handle as default
export
#1658
Conversation
Yup, your fix is pretty much the same as mine from Friday :D I've added the code from your screenshot as a test case to 7dfba88. Going to close your PR, and merge mine - will ping here again once it's deployed. |
@Skn0tt Thanks for that! Do you guys have stats on how many users are on older versions of |
The update went out to the CLI in https://github.com/netlify/cli/releases/tag/v17.5.3 and was deployed to our CI build system a couple minutes ago.
I'm not aware of a way, nor did I find something in the code :/ This might be something we could build, will look into it.
Just ran the numbers for you. It seems like in the past 24hrs of If the regex is straight-forward for you, then that might be the best bet. If it isn't, maybe you could try to detect the version of the Netlify CLI that's being used to build, and warn/error on versions below |
It would be relatively reliable and easy to string replace. I will do that.
Yes, it will help in a similar situation in the future. |
Opened an internal issue about it, let's see when we get to it 🤷 |
@lilnasy it's now possible to detect the version of the Netlify CLI that's running using the |
…1657) * fix: detect alt version of remix handler * chore: add another test for astro-style config Test case taken from netlify/zip-it-and-ship-it#1658. Co-Authored-By: @lilnasy * Update tests/unit/runtimes/node/in_source_config.test.ts Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com> --------- Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
Summary
runtimeAPIVersion
failing to be correctly detected as v2 hereThe implementation may be done better, I don't have the full context of the codebase. Feel free to improve upon it.