-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix(pubsub): convert paho-mqtt ESM compatible #14362
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
Conversation
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.
Is the code in file the same as packages/pubsub/vendor/paho-mqtt/index.js?
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.
Not exactly, we've made few changes in this file directly Link
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.
A bit wary of having two files that are marginally different and the potential for their implementations to drift. Can we apply those changes to packages/pubsub/vendor/paho-mqtt/index.js and copy that file to this location as a pre-build step?
Description of changes
WHAC report on currently vendored core dependency of pubsub,
paho-mqtt
be potentially not compatible with ESM.Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.