agenda/node_modules/neo-async
Edward Betts ea4980a5d7 Fix European trip return heuristic for weekend location tracking
Adjust European short trip heuristic from >3 days to >1 day to correctly
detect when user has returned home from European trips. This fixes the
April 29-30, 2023 case where the location incorrectly showed "Sankt Georg, Hamburg"
instead of "Bristol" when the user was free (no events scheduled) after
the foss-north trip ended on April 27.

The previous logic required more than 3 days to pass before assuming
return home from European countries, but for short European trips by
rail/ferry, users typically return within 1-2 days.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 06:38:37 +02:00
..
all.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
allLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
allSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
angelFall.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
any.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
anyLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
anySeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
apply.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
applyEach.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
applyEachSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
async.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
async.min.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
asyncify.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
auto.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
autoInject.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
cargo.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
compose.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
concat.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
concatLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
concatSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
constant.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
createLogger.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
detect.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
detectLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
detectSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
dir.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
doDuring.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
doUntil.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
doWhilst.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
during.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
each.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
eachLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
eachOf.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
eachOfLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
eachOfSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
eachSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
ensureAsync.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
every.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
everyLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
everySeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
fast.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
filter.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
filterLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
filterSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
find.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
findLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
findSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
foldl.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
foldr.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forEach.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forEachLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forEachOf.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forEachOfLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forEachOfSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forEachSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
forever.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
groupBy.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
groupByLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
groupBySeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
inject.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
iterator.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
LICENSE Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
log.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
map.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
mapLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
mapSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
mapValues.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
mapValuesLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
mapValuesSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
memoize.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
nextTick.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
omit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
omitLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
omitSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
package.json Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
parallel.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
parallelLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
pick.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
pickLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
pickSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
priorityQueue.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
queue.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
race.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
README.md Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
reduce.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
reduceRight.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
reflect.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
reflectAll.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
reject.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
rejectLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
rejectSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
retry.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
retryable.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
safe.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
select.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
selectLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
selectSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
seq.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
series.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
setImmediate.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
some.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
someLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
someSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
sortBy.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
sortByLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
sortBySeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
timeout.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
times.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
timesLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
timesSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
transform.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
transformLimit.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
transformSeries.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
tryEach.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
unmemoize.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
until.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
waterfall.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
whilst.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00
wrapSync.js Fix European trip return heuristic for weekend location tracking 2025-07-16 06:38:37 +02:00

Neo-Async

npm Travis Status Coverage Status download Code Quality: Javascript Total Alerts FOSSA

Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster.

Benchmark is here!

Bluebird's benchmark is here!

Code Coverage

coverage

Installation

In a browser

<script src="async.min.js"></script>

In an AMD loader

require(['async'], function(async) {});

Promise and async/await

I recommend to use Aigle.

It is optimized for Promise handling and has almost the same functionality as neo-async.

Node.js

standard

$ npm install neo-async
var async = require('neo-async');

replacement

$ npm install neo-async
$ ln -s ./node_modules/neo-async ./node_modules/async
var async = require('async');

Bower

bower install neo-async

Feature

JSDoc

* not in Async

Collections

Control Flow

Utils

Mode

Benchmark

Benchmark: Async vs Neo-Async

How to check

$ node perf

Environment

  • Darwin 17.3.0 x64
  • Node.js v8.9.4
  • async v2.6.0
  • neo-async v2.5.0
  • benchmark v2.1.4

Result

The value is the ratio (Neo-Async/Async) of the average speed.

Collections

function benchmark
each/forEach 2.43
eachSeries/forEachSeries 1.75
eachLimit/forEachLimit 1.68
eachOf 3.29
eachOfSeries 1.50
eachOfLimit 1.59
map 3.95
mapSeries 1.81
mapLimit 1.27
mapValues 2.73
mapValuesSeries 1.59
mapValuesLimit 1.23
filter 3.00
filterSeries 1.74
filterLimit 1.17
reject 4.59
rejectSeries 2.31
rejectLimit 1.58
detect 4.30
detectSeries 1.86
detectLimit 1.32
reduce 1.82
transform 2.46
sortBy 4.08
some 2.19
someSeries 1.83
someLimit 1.32
every 2.09
everySeries 1.84
everyLimit 1.35
concat 3.79
concatSeries 4.45

Control Flow

funciton benchmark
parallel 2.93
series 1.96
waterfall 1.29
whilst 1.00
doWhilst 1.12
until 1.12
doUntil 1.12
during 1.18
doDuring 2.42
times 4.25
auto 1.97

License

FOSSA Status