Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

universalify

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Issues
File Explorer

Advanced tools

2.0.0


Changelog

Source

v2.0.0

  • 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!

1.0.0

ryanzim
published 1.0.0 •

Changelog

Source

v1.0.0

  • BREAKING: Drop support for Node versions 4, 6, & 8
  • Modernize code

0.2.0

ryanzim
published 0.2.0 •

Changelog

Source

v0.2.0

Bugfix

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

0.1.2

ryanzim
published 0.1.2 •

Changelog

Source

v0.1.2

Add engines field to package.json

0.1.1

ryanzim
published 0.1.1 •

Changelog

Source

v0.1.1

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).

0.1.0

ryanzim
published 0.1.0 •

Changelog

Source

v0.1.0

universalified functions now have their name attribute preserved

0.0.1

ryanzim
published 0.0.1 •

Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc