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>
54 lines
1 KiB
JSON
54 lines
1 KiB
JSON
{
|
|
"name": "graceful-fs",
|
|
"description": "A drop-in replacement for fs, making various improvements.",
|
|
"version": "4.2.11",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/isaacs/node-graceful-fs"
|
|
},
|
|
"main": "graceful-fs.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"preversion": "npm test",
|
|
"postversion": "npm publish",
|
|
"postpublish": "git push origin --follow-tags",
|
|
"test": "nyc --silent node test.js | tap -c -",
|
|
"posttest": "nyc report"
|
|
},
|
|
"keywords": [
|
|
"fs",
|
|
"module",
|
|
"reading",
|
|
"retry",
|
|
"retries",
|
|
"queue",
|
|
"error",
|
|
"errors",
|
|
"handling",
|
|
"EMFILE",
|
|
"EAGAIN",
|
|
"EINVAL",
|
|
"EPERM",
|
|
"EACCESS"
|
|
],
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"import-fresh": "^2.0.0",
|
|
"mkdirp": "^0.5.0",
|
|
"rimraf": "^2.2.8",
|
|
"tap": "^16.3.4"
|
|
},
|
|
"files": [
|
|
"fs.js",
|
|
"graceful-fs.js",
|
|
"legacy-streams.js",
|
|
"polyfills.js",
|
|
"clone.js"
|
|
],
|
|
"tap": {
|
|
"reporter": "classic"
|
|
}
|
|
}
|