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>
49 lines
1 KiB
JSON
49 lines
1 KiB
JSON
{
|
|
"name": "balanced-match",
|
|
"description": "Match balanced character pairs, like \"{\" and \"}\"",
|
|
"version": "1.0.2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/juliangruber/balanced-match.git"
|
|
},
|
|
"homepage": "https://github.com/juliangruber/balanced-match",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "tape test/test.js",
|
|
"bench": "matcha test/bench.js"
|
|
},
|
|
"devDependencies": {
|
|
"matcha": "^0.7.0",
|
|
"tape": "^4.6.0"
|
|
},
|
|
"keywords": [
|
|
"match",
|
|
"regexp",
|
|
"test",
|
|
"balanced",
|
|
"parse"
|
|
],
|
|
"author": {
|
|
"name": "Julian Gruber",
|
|
"email": "mail@juliangruber.com",
|
|
"url": "http://juliangruber.com"
|
|
},
|
|
"license": "MIT",
|
|
"testling": {
|
|
"files": "test/*.js",
|
|
"browsers": [
|
|
"ie/8..latest",
|
|
"firefox/20..latest",
|
|
"firefox/nightly",
|
|
"chrome/25..latest",
|
|
"chrome/canary",
|
|
"opera/12..latest",
|
|
"opera/next",
|
|
"safari/5.1..latest",
|
|
"ipad/6.0..latest",
|
|
"iphone/6.0..latest",
|
|
"android-browser/4.2..latest"
|
|
]
|
|
}
|
|
}
|