Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

promist

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promist - npm Package Versions

23

6.0.0

Diff

rafamel
published 5.1.0 •

Changelog

Source

5.1.0 (2021-12-14)

Features

  • creation: wait can take a null delay for immediate resolution (972968f)
rafamel
published 5.0.0 •

Changelog

Source

5.0.0 (2021-12-13)

chore

  • reboot package development (0a3d779)

Features

  • classes: add CancellablePromise (1aa340e)
  • classes: add DeferredPromise (c24ad6b)
  • classes: add ExtensiblePromise (0166da2)
  • classes: add LazyPromise (d9b5984)
  • classes: add SyncPromise (e34ca8d)
  • collection: add Parallel (2ed3bdf)
  • collection: add Series methods (87ca458)
  • creation: add timeout (17d3edb)
  • creation: add until (8cc3dd2)
  • creation: add wait (67b9da7)
  • utils: add control and type guards utils (ec0cff2)

BREAKING CHANGES

  • Promist has been almost entirely rewritten and its api redesigned. Please check the latest documentation.
rafamel
published 4.0.0 •

Changelog

Source

4.0.0 (2020-08-05)

Features

  • utils: adds isPromiseLike (8cb7af2)

BREAKING CHANGES

  • utils: isPromise behavior is more restrictive and will return false for thenables; will only return true for thenable and catchable objects
rafamel
published 3.0.0 •

Changelog

Source

3.0.0 (2020-04-13)

Bug Fixes

  • utils: declares control w/ more permissive types for Generator (3703e94)

chore

  • updates setup and dependencies (a0454b4)

BREAKING CHANGES

  • Requires node +12
rafamel
published 2.0.2 •

Changelog

Source

2.0.2 (2020-02-13)

Bug Fixes

  • fixes Promist value type inference for generics (b87e128)
rafamel
published 2.0.1 •

Changelog

Source

2.0.1 (2020-02-13)

Bug Fixes

  • fixes subscribe type inference (f232232)
rafamel
published 2.0.0 •

Changelog

Source

2.0.0 (2019-10-31)

Bug Fixes

  • classes: fixes PromiseExecutor definition; fixes LazyPromist using PromiseExecutor instead of PromistExecutor (3bed547)

  • exports classes and collections from main entry point (55d7f19)

  • chore(prepares class based rewrite): (a05e28d)

Features

  • classes: adds LazyPromist (86808b8)
  • classes: adds Promist (ebec03c)
  • create: adds subscribe; renames waitUntil to until; reafactors until and wait (aab4ea4)
  • subscribe and Promist.subscribe take a second onComplete argument (128dd31)

BREAKING CHANGES

  • create: waitUntil has been renamed to until; takes ms as a third parameter instead of as second; most other create functions have been removed
  • All extend functions have been deprecated, some of the previous create function remain, perhaps with different apis, while some other have been added. The pipe and clone utilities have also been deprecated.
rafamel
published 1.0.0 •

Changelog

Source

1.0.0 (2019-10-02)

Bug Fixes

  • utils/control: updates to latest typscript (Generator) (798dbb0)

Code Refactoring

  • extend: renames status to stateful (54bdef6)

Features

  • create/deferred: guards agains unassigned values for resolve and reject (b19294c)
  • create: removes immediate (0872f71)
  • extend/timeout: doesn't declare return type as an extended promise (c87ff5f)
  • improves typings; extend functions clone input promise (71fb681)
  • utils: adds isPromist (c52e6e4)
  • utils: exports clone as an util (7a738be)
  • utils: replaces compose with pipe (4905d84)

BREAKING CHANGES

  • Typing improvements might break typescript codebases; extend functions clone the input promises, returning a new promise instance, which will break all usage relying on object mutation; extend functions don't take a second argument (previously used for returning a new promise instance instead of mutating the object)
  • extend: The state extend function -with its associated type- has been renamed stateful
  • create: Removes immediate create function, as it's entirely dispensable; it additionally relied on non-standard features
  • utils: The compose utility function has been replaced for pipe in order to preserve type safety
  • utils/control: latest TypeScript is required to get correct typings on control function
rafamel
published 0.7.0 •

Changelog

Source

0.7.0 (2019-05-13)

Features

  • create/lazy: adds lazy.fn (5212948)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc