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>
80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"name": "leaflet.geodesic",
|
|
"version": "2.7.1",
|
|
"description": "Add-on to draw geodesic lines with leaflet",
|
|
"main": "dist/leaflet.geodesic.js",
|
|
"module": "dist/leaflet.geodesic.esm.js",
|
|
"browser": "dist/leaflet.geodesic.umd.min.js",
|
|
"types": "dist/leaflet.geodesic.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/henrythasler/Leaflet.Geodesic.git"
|
|
},
|
|
"keywords": [
|
|
"leaflet",
|
|
"geodesic",
|
|
"arc"
|
|
],
|
|
"author": "Henry Thasler",
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/henrythasler/Leaflet.Geodesic/issues"
|
|
},
|
|
"homepage": "https://github.com/henrythasler/Leaflet.Geodesic#readme",
|
|
"directories": {
|
|
"example": "./docs",
|
|
"test": "./spec"
|
|
},
|
|
"peerDependencies": {
|
|
"leaflet": "^1.9.4"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
"@rollup/plugin-terser": "^0.4.3",
|
|
"@rollup/plugin-typescript": "^11.1.4",
|
|
"@types/benchmark": "^2.1.3",
|
|
"@types/chai": "^4.3.6",
|
|
"@types/geojson": "^7946.0.11",
|
|
"@types/jest": "^29.5.5",
|
|
"@types/leaflet": "^1.9.6",
|
|
"@types/node": "^20.7.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
"@typescript-eslint/parser": "^6.7.3",
|
|
"benchmark": "^2.1.4",
|
|
"chai": "^4.3.10",
|
|
"coveralls": "^3.1.1",
|
|
"eslint": "^8.50.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"leaflet": "^1.9.4",
|
|
"prettier": "^3.0.3",
|
|
"rollup": "^3.29.4",
|
|
"rollup-plugin-dts": "^6.0.2",
|
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
"ts-jest": "^29.1.1",
|
|
"tslib": "^2.6.2",
|
|
"typedoc": "^0.25.1",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"scripts": {
|
|
"test": "jest \"^(?!.*benchmark).*$\" --coverage --",
|
|
"test:solo": "jest --coverage --",
|
|
"benchmark": "jest benchmark",
|
|
"linter": "eslint src/**/*.ts",
|
|
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
"docs": "typedoc",
|
|
"build:tools": "tsc tools/prebuild.ts && tsc tools/postbuild.ts",
|
|
"prebuild": "node tools/prebuild.js",
|
|
"build": "rollup --config rollup.config.prod.ts --configPlugin typescript",
|
|
"build:dev": "npm run prebuild && rollup --config rollup.config.dev.ts --configPlugin typescript && npm run postbuild",
|
|
"postbuild": "node tools/postbuild.js"
|
|
},
|
|
"np": {
|
|
"publish": false
|
|
}
|
|
}
|