Skip to content
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

Replace some dependencies with standard js APIs #7842

Closed
4 tasks done
bwindels opened this issue Dec 12, 2018 · 0 comments · Fixed by matrix-org/matrix-react-sdk#10930
Closed
4 tasks done

Replace some dependencies with standard js APIs #7842

bwindels opened this issue Dec 12, 2018 · 0 comments · Fixed by matrix-org/matrix-react-sdk#10930
Assignees
Labels
T-Task Tasks for the team like planning

Comments

@bwindels
Copy link
Contributor

bwindels commented Dec 12, 2018

  • replace qs module with using the global URLSearchParams class
  • replace url module with using the global URL class (needs node 10.x)
  • replace bluebird module with global Promise class. Non-standard bluebird features we use that need porting:
    • Promise.delay
    • Promise.defer
    • Promise.map
    • Promise.mapSeries
    • Promise::delay
    • Promise::timeout
    • Promise::value
    • Promise::isFulfilled
    • Promise::inspect
  • replace cheerio module with global DOMParser class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants