Parse-SDK-JS
Parse-SDK-JS copied to clipboard
Remove legacy import circular reference
New Issue Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
- [x] I can reproduce the issue with the latest versions of Parse Server and the Parse JS SDK.
Issue Description
Legacy import are in the form of const Parse = require('parse').Parse. This can be solved using export statement.
https://github.com/parse-community/Parse-SDK-JS/blob/cfb25ef322632c4136de3ab416f719f014f66027/src/Parse.ts#L417-L418
🚀 Thanks for opening this issue!
ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.