perhaps deprecate the npm package?
Seeing as the npm package haven't been updated in two years and the suggestion in the "Readme -> Note" about using native promises when possible still stands, would it make sense to deprecate this package on npm?
I'm in the process of trying to refactor a package to using native promises, async/await and async iterators and it's sometime a risky business unknowingly if something dose some abnormal to the promise chain like tapping in and calling .delay(), .spread() or any of the other utilities after a promise chain.
I'm more okey with this kind of code:
return bluebirdPromise.delay(250)
than something like
function foo() {
return Promise.resolve(123)
}
foo().delay(250).then(console.log)
At any point i might refactor foo to a async/await and perhaps use native promises or async/await instead.
I think it would be better to depend on a spec'ed promise A+ polyfill instead.
beside, this bluebird promise did not have Promise.allSettled so i had to use globalThis.Promise.allSettled to avoid the imported bluebird-promise imported in at the top of the file.
maybe bluebird have run its course, and say that it's time to say goodby to bluebird?
you have done an amazing work with promises and made browser lookup to bluebirds promise tools and speed so a big thank you.
Source: petkaantonov/bluebird