New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

modern-async

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modern-async - npm Package Versions

13

1.1.0

Diff

Changelog

Source

1.1.0

  • Changed most of the functions that took Iterable as argument to make them also take an AsyncIterable.
  • Changed most of the functions that used a concurrency argument to allow them to take a Queue instead.
  • Added ordered argument to find, findIndex, findLimit and findIndexLimit.
  • Added new functions filterGenerator, mapGenerator, asyncIterableWrap, queueMicrotask, and toArray.
  • Fixed delay and delayCancellable inconsistencies due to setTimeout usage. Now they use corejs' setTimeout implementation.
  • Added Typescript declarations.
nicolas-van
published 1.0.4 •

Changelog

Source

1.0.4

  • Fixed bug in forEachLimit
nicolas-van
published 1.0.3 •

Changelog

Source

1.0.3

  • Performance improvements. Notably the Queue class will now avoid calling the delay() function and will immediately trigger any pending task as soon as a task is finished. This change indirectly impacts most functions in this library as they internally use Queue. This change can produce minor behavior changes but is not considered a breaking change.
  • Improved tests.
nicolas-van
published 1.0.2 •

Changelog

Source

1.0.2

  • Altered UMD deployment to only support browsers that support async/await language feature. The reason is that bundling both regenerator-runtime and all the necessary shims is too complex. For older browsers it is easier to just process the lib with Babel then add regenerator-runtime and core-js.
nicolas-van
published 1.0.1 •

Changelog

Source

1.0.1

  • Fixed map, filter and forEach behavior in case of exception. Pending tasks were not cancelled in case of exception and the behavior in that case was not documented as opposed to other functions.
nicolas-van
published 1.0.0 •

nicolas-van
published 0.1.6 •

nicolas-van
published 0.1.5 •

nicolas-van
published 0.1.4 •

nicolas-van
published 0.1.3 •

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