sequelize / sequelize-pool

Resource pool implementation. It can be used to throttle expensive resources.
Other
39 stars 17 forks source link

chore: es6 all the things, avoid redundant publish #1

Closed SimonSchick closed 5 years ago

SimonSchick commented 5 years ago

As a sitenote: Sequelize(v5) no longers ships duplicate dependencies 🎉

I noticed however that this package ships tests and stuff so I figured I could fix that. I also let eslint auto fix all the let/const/arrow conversion. Lastly: The if(this instanceof ... check is redundant with es6 because class ctors cannot be invoked with new (will error).