moleculer-db icon indicating copy to clipboard operation
moleculer-db copied to clipboard

Bluebird library for promise management shouldn't be used anymore

Open Freezystem opened this issue 2 years ago • 1 comments

As the bluebird github repo states, bluebird shouldn't be used anymore.
Moreover, the library hasn't got any release since december 2019.

Promises are available in nodeJS since v0.12.0 and the minimum version moleculer supports is nodeJS v8.x.x so this should be safe regarding backward compatibility issues.

We eventually could keep it as devDependency for tests purpose but resort to using native promise in adapters.

I'm willing to make the related PR if it's something that you think should be done.

Freezystem avatar May 04 '23 10:05 Freezystem

Good idea, a PR would be good, thanks!

icebob avatar May 21 '23 16:05 icebob