Skip to content

v2.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 30 Apr 10:26
· 4 commits to main since this release

Breaking

  • Require Node.js 20 (#12) 4370837
  • It now runs the function in a worker thread instead of a subprocess (#12) 4370837
    • To get the previous behavior, change your import:
      -import makeSynchronous from 'make-synchronous';
      +import makeSynchronous from 'make-synchronous/subprocess';

Improvements

  • Add support for running in a worker thread (#12) 4370837
  • Accept function as a string (#12) 4370837

Meta

Huge thanks to @fisker for implementing this 🎉


v1.0.0...v2.0.0