summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* BREAKING CHANGE: remove partial application feature of applyEachapplyeach-no-partialAlexander Early2019-05-185-52/+18
|
* chore: Add Azure Pipelines for CI (Windows, Linux, Mac) (#1630), Fix async ↵Pablo Núñez2019-04-0719-83/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function serialization in Safari. * Add azure pipelines CI. * Publish test results. * Enable coveralls * Use Safari for OSX browser tests. * Adding missing lib files to karma (only Safari complained). * Rename with dot so it gets better placed in order. * Use ci instead of install, so we stick with package-lock.json * Use npm test instead of mocha directly. It just needed a double -- escape. * Move DISPLAY to Linux only, with value set just once. * Use variables for DISPLAY, browser tests and coveralls. * Simplify steps with a browser name variable. * Run junit reporter on CI only. * DISPLAY should be already an environment variable. * Use vmImage for consistency with other OS. * Don't use verbose npm@1 task. * No need to setTimeout, let's `done` on the callback. * Don't resume twice. Check queue length on callback for safety, setTimeout may be delayed. * Avoid time dependency, act on events instead. * Avoid dependency on timing to final assertion. * Rewrite test to avoid setTimeout * Fix formatting. * Make diff more significant (125+50 ~= 200) * Make diff more significant to avoid race conditions. * Wait a bit more so default 5 retries did happen. * Make delays shorter to avoid "Timeout of 250ms exceeded" * Shorten delay to avoid 200ms test timeout in browser tests. * Shorten timeout to mitigate 200ms test timeout. * Add more diff on delays to enforce test behavior. * Make delays more significant to avoid race conditions. * Stop using setTimeout and rely on events to push new items, so order is enforced. * Fix async function serialization in Safari. * Add more delay so 4 never completes before 3. * Ensure 3 never completes before 4. * Use drain instead of task count. Trying to ensure done is called from Windows browser tests that fail frequently. * Ensure 2 starts before 3 arrives.Avoid expected 'process 2 3' to equal 'process 2' * Add retries to browser tests. * Don't fail all on Mac & Windows browser tests. * Ensure 3 happens before 2, it fails sparely on OSX. AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 3, 2 ] * Avoid unnecessary multilines. * Use Edge for Windows browser tests.
* feat: add flatMap aliases for concatAlexander Early2019-03-094-0/+6
| | | | Closes #1625
* fix: Reflect passes value on error (#1633)Alex Early2019-03-094-17/+38
| | | | | | * Reflects any values passed even if function has error * fix async function tests
* initialize results in whilst [fixes #1626] (#1628)Hubert Argasinski2019-03-012-1/+19
|
* Remove --save option as it isn't required anymore (#1624)Steve Moser2019-03-011-3/+3
|
* fix: stop priorityQueue from draining while items still pending (#1623)André Guedes2019-02-202-1/+37
| | | | | | | | | | | | | | | | * fix: priorityQueue drains while items still pending Priority queue should check if the underlying queue is idle before draining. Currently the priorityQueue drains if an empty array of tasks is pushed even if other tasks are processing. * test: adds test for priorityQueue draining before tasks ended * test: lint fix * test: adds running assert to drain on test/priorityQueue.js Co-Authored-By: andrebsguedes <andrebsguedes@gmail.com>
* fix: send proper retry count to retry's interaval func (#1621)Alex Early2019-02-132-2/+7
| | | Closes #1578
* Fixes #1610 (#1615)Sam Radhakrishnan2019-02-131-0/+3
|
* chore: maybe fix xvfb in travis?Alexander Early2019-02-131-2/+3
|
* Fixes #1582 (#1597)Hubert Argasinski2018-11-2728-16/+917
| | | | | | * ensure err is passed on for cancelable methods * fix test descriptions
* feat: Use heap tree in priority queue (#1595)yemreinci2018-11-204-10/+275
| | | | | | * use heap tree in priority queue * small refactor
* docs: Set focus on search input on page load (#1591)David Stepanov2018-10-291-1/+1
|
* --save no longer needed (#1585)Joe Cortopassi2018-10-041-1/+1
| | | `--save` is on by default as of [npm 5](https://blog.npmjs.org/post/161081169345/v500), so `npm install aphrodite` is functionally equivalent to `npm install --save aphrodite` now
* Version 3.0.1-0v3.0.1-0Alexander Early2018-09-301-1/+1
|
* Update built filesAlexander Early2018-09-303-4/+4
|
* Update built filesAlexander Early2018-09-304-7031/+6053
|
* update changelog for 3.0.0-rc1Alexander Early2018-09-301-0/+36
|
* feat: await-able Async methods (#1572)Alex Early2018-09-3077-201/+987
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make each and family awaitable * dont pretend they're AsyncFunctions * check errors * ensure function name is preserved somehow * awaitable concat * awaitable detect * awaitable every/filter * awaitable groupBy * awaitable map/mapValues * awaitable reduce * awaitable reject * awaitable some * awaitable transform * awaitable times * awaitable auto * awaitable compose/seq * awaitable whilst/until (lol) * awaitable forever * awaitable parallel/race * awaitable retry * awaitable series (lol) * awaitable tryEach * awaitable waterfall (lol) * lint * cleanup, remove noop and unused internal functions
* sentence fix (#1581)Tony2018-09-211-1/+1
| | | Just a little thing I noticed :)
* Small typo :) (#1579)Jake Mingolla2018-09-171-1/+1
|
* feat: Add cargoQueue type and tests (#1567)Justin Chase2018-08-074-1642/+2037
| | | | | | | | | | * Add cargo queue type and tests * remove only on tests * make failing test more deterministic * Dont define a new type
* update depsAlexander Early2018-08-052-439/+1246
|
* [wip] initial async generator support (#1560)Alex Early2018-08-0552-198/+1243
| | | feat: initial async generator support
* [issue-1568][bug]: make sure error object defined before access its message ↵Reed Feng2018-08-022-1/+14
| | | | (#1569)
* Updated concat documentation (#1564)Alexander Cerutti2018-07-201-3/+2
| | | Concat function, since v2.5.0, returns back array results in the original order.
* breaking: remove during, make test functions in until/whilst async (#1557)Alex Early2018-07-1012-330/+99
| | | | | | | | * remove during, make test functions in until/whilst async * add during aliases fix docs * regenerate index
* Add limit value to `mapLimit` example (#1558)Abraham Williams2018-07-091-1/+1
|
* feat: Iterable queues (#1556)Alex Early2018-07-094-8/+44
| | | | | | * feat: iterable queues * docs
* fix autoInject testsAlexander Early2018-07-084-86/+57
|
* prefer destructuringAlexander Early2018-07-0855-61/+61
|
* disallow variable shadowingAlexander Early2018-07-0824-133/+120
|
* add pitfall about array mutation. Closes #1393Alexander Early2018-07-081-0/+4
|
* clarify applyEach docs. Closes #1501Alexander Early2018-07-081-2/+7
|
* update transform docs. Closes #1543Alexander Early2018-07-081-2/+2
|
* ES6-ify codebase (#1553)Alex Early2018-07-08125-3130/+2660
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cancelable foreach * cancelable waterfall * cancellable auto * fix lint * fix tests * cancelable whilst/until/during/forever * fix waterfall test. It WILL get there * docs * use rest params instead of slice * clean up internals * remove property func * clarify uses of createTester * happy path async funtions in asyncify * stop using arguments * DLL to class * moar arrows * fix merge issues * remove forOwn * moar arrows * fix merge mistake * even more arrows, what can stop him * mo more fn.apply(null,...) * remove more spurious uses of apply * update lint config * just when you thought there couldn't possibly be more arrows * use eslint:recommended * even less uses or aguments * get rid of prototype cuteness * fix concat tests * fix more tests
* limits of less than 1 are now an error (#1552)Alex Early2018-07-017-47/+50
| | | | | | * BREAKING CHANGE: limits of less than 1 are now an error * fix lint
* feat: Canceling flows (#1542)Alex Early2018-07-0121-7/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cancelable foreach * cancelable waterfall * cancellable auto * fix lint * fix tests * cancelable whilst/until/during/forever * fix waterfall test. It WILL get there * docs * auto should not start other tasks once canceled * simplify waterfall, add test for arrays * simplify eachOf * cancelable retry * cancelable eachOf for arrays * revert test tweak
* Merge pull request #1540 from ORESoftware/patch-1Alex Early2018-06-031-0/+5
|\ | | | | need to demonstrate error cb not just drain cb
| * need to demonstrate error cb not just drain cbOperations Research Engineering Software+2018-06-031-0/+5
| | | | | | need to demonstrate to users how to use a single error callback
* | force update makeAlexander Early2018-06-031-0/+1
| |
* | wtf make?Alexander Early2018-06-031-0/+1
|/
* clean up debuggingAlexander Early2018-06-032-9/+1
|
* does travis have xenial?Alexander Early2018-06-031-1/+1
|
* update makeAlexander Early2018-06-031-0/+3
|
* update to trusty in travis?Alexander Early2018-06-031-0/+2
|
* more debugAlexander Early2018-06-032-2/+6
|
* more debuggingAlexander Early2018-06-031-1/+2
|
* makefile debuggingAlexander Early2018-06-031-2/+8
|
* Merge pull request #1538 from suguru03/fix-memoize-testAlex Early2018-06-031-2/+2
|\ | | | | Fix a memoize test case