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>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "watchpack",
|
|
"version": "2.4.1",
|
|
"description": "",
|
|
"main": "./lib/watchpack.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"files": [
|
|
"lib/"
|
|
],
|
|
"scripts": {
|
|
"pretty-files": "prettier \"lib/**.*\" \"test/**/*.js\" --write",
|
|
"lint": "eslint lib",
|
|
"test:only": "mocha",
|
|
"test:coverage": "istanbul cover node_modules/mocha/bin/_mocha",
|
|
"pretest": "yarn lint",
|
|
"test": "mocha"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/webpack/watchpack.git"
|
|
},
|
|
"author": "Tobias Koppers @sokra",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/webpack/watchpack/issues"
|
|
},
|
|
"homepage": "https://github.com/webpack/watchpack",
|
|
"devDependencies": {
|
|
"coveralls": "^3.0.0",
|
|
"eslint": "^5.11.1",
|
|
"eslint-config-prettier": "^4.3.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"istanbul": "^0.4.3",
|
|
"mocha": "^5.0.1",
|
|
"prettier": "^1.11.0",
|
|
"rimraf": "^2.6.2",
|
|
"should": "^8.3.1",
|
|
"write-file-atomic": "^3.0.1"
|
|
},
|
|
"dependencies": {
|
|
"glob-to-regexp": "^0.4.1",
|
|
"graceful-fs": "^4.1.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.13.0"
|
|
}
|
|
}
|