matrix-org / matrix-org/matrix-js-sdk
Promise.defer warnings
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
Getting a lot of these warnings:
```
Warning: Promise.defer is deprecated and will be removed in a future version. Use new Promise instead.
```
Seems that this is a now deprecated method (though not likely to be removed) in bluebird that causes tons of warnings. Doesn't really matter for production apps but fairly annoying spam in development.
See also https://github.com/petkaantonov/bluebird/issues/555
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by searching the SDK for Promise.defer and checking its Bluebird usage, then compare the relevant calls with Bluebird issue 555. Done means the deprecated-warning spam is removed in development without changing the SDK’s promise behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100