Skip to content

Releases: regevbr/busywait.js

v4.0.0

14 Dec 13:04
7125543
Compare
Choose a tag to compare

v4.0.0

BREAKING CHANGES

  • Dropped support for node versions below 14

Fixed

  • functions with async modifier were not recognized as functions

v3.1.3

13 Oct 14:01
196a100
Compare
Choose a tag to compare

Fixed

  • Support for node 18

v3.1.2

12 Apr 10:59
c2be90b
Compare
Choose a tag to compare

add support for node 17

v3.1.1

11 Apr 12:03
9941669
Compare
Choose a tag to compare

add support for node 16

v3.1.0

03 May 08:29
e2eda93
Compare
Choose a tag to compare

v3.1.0

Added

  • Added total delay information to the checked function call

Fixed

  • Stopped messing the global stop with the __awaiter helper function
  • Fixed checkFn doc in readme

v3.0.0

02 May 15:03
e3872f8
Compare
Choose a tag to compare

v3.0.0

Breaking changes

  • Errors are now an instance of Error and not plain strings
  • Options type was modified
  • Return type was modified

Added

  • Exponential backoff (with optional full jitter) support
  • Added to the result, the time it took to finish
  • Added delay information to the checked function call

Fixed

  • Better type inference
  • Updated readme
  • Updated all dependencies to the latest versions

v2.0.0

02 May 11:50
f3c26bc
Compare
Choose a tag to compare

Breaking changes

  • Removed redundant export methods
  • Sync check functions will be considered as failed only if they throw error

Added

  • Full typescript support #9
  • Added test coverage

Fixed

  • Updated readme
  • Updated all dependencies to the latest versions

v1.1.0: busywait-7 (#8)

10 Nov 20:43
33c5935
Compare
Choose a tag to compare
* #7 - protect the options argumnet and refrain form using the async reserved keyword

* #7 - protect the options argumnet and refrain form using the async reserved keyword

v1.0.10

08 Nov 09:57
d8d155e
Compare
Choose a tag to compare
Update package.json

v1.0.9

08 Nov 09:44
4ba829a
Compare
Choose a tag to compare
#5 - add to resolved value of the checkFn to the resolve of the busyw…