Skip to content

Releases: RyanZim/universalify

v2.0.1

01 Nov 17:14
dc17e0e
Compare
Choose a tag to compare
  • Performance improvements (thanks @H4ad!)

v2.0.0

25 Jul 13:38
Compare
Choose a tag to compare
  • Properly handle falsy errors (#13). This is technically a BREAKING CHANGE, but will not affect the vast majority of users.
  • Performance improvements for fromCallback (#12).

Thanks to @joepie91 for submitting the fixes for this release!

v1.0.0

06 Mar 21:42
Compare
Choose a tag to compare
  • BREAKING: Drop support for Node versions 4, 6, & 8
  • Modernize code

v0.2.0

19 Feb 16:26
Compare
Choose a tag to compare

Bugfix

Do not pass callback to promise functions; to prevent breaking functions with optional parameters.

v0.1.2

20 Jun 11:16
Compare
Choose a tag to compare

Add engines field to package.json

v0.1.1

20 Jul 14:40
Compare
Choose a tag to compare

Bugfix

Previously, if you universalify.fromPromise()ed a function, and called it with a callback that contained an error (as is common with mocha tests), universalify would call the callback again with the error when the callback threw.

Now errors will cause an unhandled promise rejection (which is OK, because normally a callback error causes an unhandled rejection).

v0.1.0

22 Apr 14:33
Compare
Choose a tag to compare

universalified functions now have their name attribute preserved