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>
44 lines
1 KiB
JSON
44 lines
1 KiB
JSON
{
|
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
|
|
"name": "which",
|
|
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
|
|
"version": "2.0.2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/isaacs/node-which.git"
|
|
},
|
|
"main": "which.js",
|
|
"bin": {
|
|
"node-which": "./bin/node-which"
|
|
},
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"isexe": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"mkdirp": "^0.5.0",
|
|
"rimraf": "^2.6.2",
|
|
"tap": "^14.6.9"
|
|
},
|
|
"scripts": {
|
|
"test": "tap",
|
|
"preversion": "npm test",
|
|
"postversion": "npm publish",
|
|
"prepublish": "npm run changelog",
|
|
"prechangelog": "bash gen-changelog.sh",
|
|
"changelog": "git add CHANGELOG.md",
|
|
"postchangelog": "git commit -m 'update changelog - '${npm_package_version}",
|
|
"postpublish": "git push origin --follow-tags"
|
|
},
|
|
"files": [
|
|
"which.js",
|
|
"bin/node-which"
|
|
],
|
|
"tap": {
|
|
"check-coverage": true
|
|
},
|
|
"engines": {
|
|
"node": ">= 8"
|
|
}
|
|
}
|