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>
45 lines
1 KiB
JSON
45 lines
1 KiB
JSON
{
|
|
"name": "tapable",
|
|
"version": "2.2.1",
|
|
"author": "Tobias Koppers @sokra",
|
|
"description": "Just a little module for plugins.",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/webpack/tapable",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/webpack/tapable.git"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.4.4",
|
|
"@babel/preset-env": "^7.4.4",
|
|
"babel-jest": "^24.8.0",
|
|
"codecov": "^3.5.0",
|
|
"jest": "^24.8.0",
|
|
"prettier": "^1.17.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!lib/__tests__",
|
|
"tapable.d.ts"
|
|
],
|
|
"main": "lib/index.js",
|
|
"types": "./tapable.d.ts",
|
|
"browser": {
|
|
"util": "./lib/util-browser.js"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"travis": "yarn pretty-lint && jest --coverage && codecov",
|
|
"pretty-lint": "prettier --check lib/*.js lib/__tests__/*.js",
|
|
"pretty": "prettier --loglevel warn --write lib/*.js lib/__tests__/*.js"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"__tests__[\\\\/].+\\.js$": "babel-jest"
|
|
}
|
|
}
|
|
}
|