Skip to content

Releases: compulim/on-error-resume-next

v2.0.2 (#44)

21 Jan 08:47
879c16b
Compare
Choose a tag to compare

v2.0.1 (#32)

01 Jun 07:33
8b15682
Compare
Choose a tag to compare

[2.0.1] - 2024-06-01

Fixed

  • Fixed #30. When bundling for browser, should not fail with isPromise being imported from Node.js, in PR #31.

v2.0.0 (#28)

01 Jun 01:12
e8290e9
Compare
Choose a tag to compare

[2.0.0] - 2024-06-01

Added

  • Added synchronous and asynchronous versions, in PR #24 and #25

Deprecated

  • Introduced named exports and removed default imports

  • Synchronous and asynchronous are now separated into different exports

    • Use import { onErrorResumeNext } from 'on-error-resume-next' for synchronous functions
    • Use import { onErrorResumeNext } from 'on-error-resume-next/async' for asynchronous functions, will always return Promise regardless the resolution and rejection is handled synchronously or asynchronously
    • Use import { onErrorResumeNext } from 'on-error-resume-next/auto' to auto-detect (legacy behavior), will return on return/throw, and resolve on resolve/reject

    If you are using v1, you will need to port your code as follow:

  • import onErrorResumeNext from 'on-error-resume-next';

    • import { onErrorResumeNext } from 'on-error-resume-next/auto';
    
    

[1.2.0] - 2020-05-26

[1.1.0] - 2018-10-08

08 Oct 22:53
Compare
Choose a tag to compare

Added

  • Default exports for CommonJS

Changed

  • Moved to Babel 7

[1.0.0] - 2018-03-21

21 Mar 18:08
Compare
Choose a tag to compare

Added

  • Initial commit