-
Notifications
You must be signed in to change notification settings - Fork 45
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
Updates codebase from commonjs to es-modules syntax #33
Updates codebase from commonjs to es-modules syntax #33
Conversation
* Updates mocha package to the latest version (it needs to work with es modules)
@@ -32,7 +33,7 @@ | |||
"devDependencies": { | |||
"eslint": "^6.7.2", | |||
"eslint-plugin-bpmn-io": "^0.10.0", | |||
"mocha": "^6.2.2", | |||
"mocha": "^10.2.0", |
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.
Updating to the latest version was neccessary to correctly work with es-modules syntax
Looks good to me. |
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.
Looks great. I'll follow up with some cosmetic changes (update to README and stuff). 🎉
Released Great job! 🎉 |
@nikku, cool! Thanks for your kind words! And thanks a lot for your help 😊 |
Description
This PR should resolve the "TypeError: BpmnModdle is not a constructor" error. And should be consistent solution as for Node.js as for browser environment.
Related PRs:
Related issues: