-
Notifications
You must be signed in to change notification settings - Fork 53
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
refactor: cleanup buildbot_build_go_functions,
zisi_parse_isc and
buildbot_nft_transpile_esm` feature flags
#4325
Conversation
After updating to zisi 5.11 with FF When this FF is now finally turned on for the tests (because it is removed), zisi is using the One example: import mathAvg from 'math-avg-mispelled'
export default () => mathAvg([]) Previously (with Is this expected? cc @Skn0tt @eduardoboucas |
Hmm, we've been using NFT for ESM functions for a while now, and maybe we just didn't update the Netlify Build tests accordingly at the time. I think this is okay. |
…ldbot_nft_transpile_esm` ff All 3 are now always on fix(deps): update @netlify/zip-it-and-ship-it to 5.11.0 chore: fix tests
} | ||
|
||
const PACKAGE_JSON_ORIGINAL_MESSAGE = 'is invalid JSON' | ||
const PACKAGE_JSON_ORIGINAL_MESSAGES = ['is invalid JSON', 'in JSON at position'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm in JSON at position
feels a bit too broad, but I guess there's no better way to catch there errors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah i tried to match as a much as possible, but there is not much. The whole error is SyntaxError: Unexpected token { in JSON at position 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
All 3 ff are now always on
Requires netlify/zip-it-and-ship-it#1113