1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/async/CHANGELOG.md

5.3 KiB

v1.5.2

  • Allow using "consructor" as an argument in memoize ()
  • Give a better error messsage when auto dependency checking fails ()
  • Various doc updates (, , , )

v1.5.1

  • Fix issue with pause in queue with concurrency enabled ()
  • while and until now pass the final result to callback ()
  • auto will properly handle concurrency when there is no callback ()
  • auto will now properly stop execution when an error occurs (, )
  • Various doc fixes (, )

v1.5.0

  • Added transform, analogous to _.transform ()
  • map now returns an object when an object is passed in, rather than array with non-numeric keys. map will begin always returning an array with numeric indexes in the next major release. ()
  • auto now accepts an optional concurrency argument to limit the number of running tasks ()
  • Added queue#workersList(), to retrieve the list of currently running tasks. ()
  • Various code simplifications (, )
  • Various doc fixes 📜 (, , , , )

v1.4.2

  • Ensure coverage files don't get published on npm ()

v1.4.1

  • Add in overlooked detectLimit method ()
  • Removed unnecessary files from npm releases ()
  • Removed usage of a reserved word to prevent 💥 in older environments ()

v1.4.0

  • asyncify now supports promises ()
  • Added Limit versions of filter and reject ()
  • Add Limit versions of detect, some and every (, )
  • some, every and detect now short circuit early (, )
  • Improve detection of the global object (), enabling use in WebWorkers
  • whilst now called with arguments from iterator ()
  • during now gets called with arguments from iterator ()
  • Code simplifications and optimizations aplenty (diff)

v1.3.0

New Features:

  • Added constant
  • Added asyncify/wrapSync for making sync functions work with callbacks. (, )
  • Added during and doDuring, which are like whilst with an async truth test. ()
  • retry now accepts an interval parameter to specify a delay between retries. ()
  • async should work better in Web Workers due to better root detection ()
  • Callbacks are now optional in whilst, doWhilst, until, and doUntil ()
  • Various internal updates (, , , )
  • Various doc fixes (, )

Bug Fixes:

  • cargo now exposes the payload size, and cargo.payload can be changed on the fly after the cargo is created. (, , )

v1.2.1

Bug Fix:

  • Small regression with synchronous iterator behavior in eachSeries with a 1-element array. Before 1.1.0, eachSeries's callback was called on the same tick, which this patch restores. In 2.0.0, it will be called on the next tick. ()

v1.2.0

New Features:

  • Added timesLimit ()
  • concurrency can be changed after initialization in queue by setting q.concurrency. The new concurrency will be reflected the next time a task is processed. (, )

Bug Fixes:

  • Fixed a regression in each and family with empty arrays that have additional properties. (, )

v1.1.1

Bug Fix:

  • Small regression with synchronous iterator behavior in eachSeries with a 1-element array. Before 1.1.0, eachSeries's callback was called on the same tick, which this patch restores. In 2.0.0, it will be called on the next tick. ()

v1.1.0

New Features:

  • cargo now supports all of the same methods and event callbacks as queue.
  • Added ensureAsync - A wrapper that ensures an async function calls its callback on a later tick. ()
  • Optimized map, eachOf, and waterfall families of functions
  • Passing a null or undefined array to map, each, parallel and families will be treated as an empty array ().
  • The callback is now optional for the composed results of compose and seq. ()
  • Reduced file size by 4kb, (minified version by 1kb)
  • Added code coverage through nyc and coveralls ()

Bug Fixes:

  • forever will no longer stack overflow with a synchronous iterator ()
  • eachLimit and other limit functions will stop iterating once an error occurs ()
  • Always pass null in callbacks when there is no error ()
  • Ensure proper conditions when calling drain() after pushing an empty data set to a queue ()
  • each and family will properly handle an empty array ()
  • eachSeries and family will finish if the underlying array is modified during execution ()
  • queue will throw if a non-function is passed to q.push() ()
  • Doc fixes (, )

v1.0.0

No known breaking changes, we are simply complying with semver from here on out.

Changes:

  • Start using a changelog!
  • Add forEachOf for iterating over Objects (or to iterate Arrays with indexes available) ( )
  • Detect deadlocks in auto ()
  • Better support for require.js ()
  • Throw if queue created with concurrency 0 ()
  • Fix unneeded iteration in queue.resume() ()
  • Guard against timer mocking overriding setImmediate ( )
  • Miscellaneous doc fixes ( )
  • Use single noop function internally ()
  • Optimize internal _each, _map and _keys functions.