js-utils

Collection of JavaScript (TypeScript) utilities.

OTHER License

Downloads
1.4K
Stars
1
Committers
1

Bot releases are visible (Hide)

js-utils - v0.0.12

Published by birdofpreyru 5 months ago

  • [#8] Barrier's resolve() and reject() methods now return the Barrier instance itself, to allow for chaining.
js-utils - v0.0.11

Published by birdofpreyru 5 months ago

  • [#9] Cleans-up unnecessary dependencies.
  • [#10] Reverts the change #8 from the previous, v0.0.10 release — it turned out to easily cause hard-to-troubleshoot infinite await loops in the host code.
js-utils - v0.0.10

Published by birdofpreyru 5 months ago

Note: Documentation pages referenced below will be updated later (see https://github.com/birdofpreyru/react-utils/issues/350).

  • [#7] Exports Listener type (for Emitter).
  • [#8] Barrier's resolve() and reject() methods now return the Barrier instance itself, to allow for chaining.Reverted in v0.0.11 because of the critical issue #10 this change turned out to cause.
  • Update of dependencies.
js-utils - v0.0.9 Latest Release

Published by birdofpreyru 8 months ago

js-utils - v0.0.8

Published by birdofpreyru 8 months ago

js-utils - v0.0.7

Published by birdofpreyru 9 months ago

  • [#3] Modifies types of all exported time constants (SEC_MS, MIN_MS, HOUR_MS, DAY_MS, YEAR_MS) to be the exact number literals, matching their values, rather than general number.
  • [#4] Patches Emitter to ensure that emitted data are delivered the exact set of listeners connected to the emitter at the moment of .emit() call, even if some of these listeners further remove / add listeners to that emitter.
  • Updates dependencies.
js-utils - v0.0.6

Published by birdofpreyru over 1 year ago

  • Updates dependencies.
  • Updates codebase organization.
js-utils - v0.0.5

Published by birdofpreyru over 1 year ago

  • [#2] Emitter: Adds .removeAllListeners() method.
  • Updates dependencies.
js-utils - v0.0.4

Published by birdofpreyru over 1 year ago

  • [#1] Improves typings.
  • Updates dependencies & README.
js-utils - v0.0.3

Published by birdofpreyru over 1 year ago

  • Adds tests + Minor fixes.
js-utils - v0.0.2

Published by birdofpreyru over 1 year ago

  • Fixes the new timer() implementation.
  • Exports Timer class, which is the actual object behind timer() function.
js-utils - v0.0.1

Published by birdofpreyru over 1 year ago