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>
41 lines
1,009 B
JSON
41 lines
1,009 B
JSON
{
|
|
"name": "estraverse",
|
|
"description": "ECMAScript JS AST traversal functions",
|
|
"homepage": "https://github.com/estools/estraverse",
|
|
"main": "estraverse.js",
|
|
"version": "4.3.0",
|
|
"engines": {
|
|
"node": ">=4.0"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Yusuke Suzuki",
|
|
"email": "utatane.tea@gmail.com",
|
|
"web": "http://github.com/Constellation"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/estools/estraverse.git"
|
|
},
|
|
"devDependencies": {
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-register": "^6.3.13",
|
|
"chai": "^2.1.1",
|
|
"espree": "^1.11.0",
|
|
"gulp": "^3.8.10",
|
|
"gulp-bump": "^0.2.2",
|
|
"gulp-filter": "^2.0.0",
|
|
"gulp-git": "^1.0.1",
|
|
"gulp-tag-version": "^1.3.0",
|
|
"jshint": "^2.5.6",
|
|
"mocha": "^2.1.0"
|
|
},
|
|
"license": "BSD-2-Clause",
|
|
"scripts": {
|
|
"test": "npm run-script lint && npm run-script unit-test",
|
|
"lint": "jshint estraverse.js",
|
|
"unit-test": "mocha --compilers js:babel-register"
|
|
}
|
|
}
|