agenda/node_modules/es-module-shims/package.json
Edward Betts ea4980a5d7 Fix European trip return heuristic for weekend location tracking
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>
2025-07-16 06:38:37 +02:00

60 lines
1.5 KiB
JSON

{
"name": "es-module-shims",
"version": "1.9.0",
"description": "Shims for the latest ES module features",
"main": "dist/es-module-shims.js",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./dist/es-module-shims.js"
},
"./debug": {
"types": "./index.d.ts",
"default": "./dist/es-module-shims.debug.js"
},
"./wasm": {
"types": "./index.d.ts",
"default": "./dist/es-module-shims.wasm.js"
}
},
"types": "index.d.ts",
"type": "module",
"files": [
"CHANGELOG.md",
"dist",
"index.d.ts"
],
"author": "Guy Bedford",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-replace": "^2.4.2",
"es-module-lexer": "1.5.0",
"kleur": "^4.1.4",
"mime-types": "^2.1.33",
"mocha": "^9.1.1",
"npm-run-all": "^4.1.5",
"open": "^8.0.8",
"preact": "^10.5.14",
"pretty-ms": "^3.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.58.0",
"tachometer": "^0.5.10",
"terser": "^5.10.0"
},
"directories": {
"test": "test"
},
"scripts": {
"build": "npm install -g chomp ; chomp build",
"test": "npm install -g chomp ; chomp test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guybedford/es-module-shims.git"
},
"bugs": {
"url": "https://github.com/guybedford/es-module-shims/issues"
},
"homepage": "https://github.com/guybedford/es-module-shims#readme"
}