Files
worldmonitor/scripts/package.json
Elie Habib e4e129684b fix(fuel-prices): switch EU source CSV→XLSX, increase Spain timeout (#2151)
* fix(fuel-prices): switch EU source from CSV to XLSX, increase Spain timeout

EU Oil Bulletin dropped CSV format — all YYYY-MM CSV fallback URLs return 404.
EC now only publishes XLSX files with a stable document UUID. Switch to the
"Prices with taxes latest prices" XLSX (document ID is permanent, file is
updated in-place weekly). Uses SheetJS xlsx package added to scripts/package.json.

parseEUPrice updated to handle both "1234.56" (xlsx default) and European
"1.234,56" / "1,234.56" number formats with thousand separators.

Also increase Spain (minetur) AbortSignal timeout 30s to 60s. The endpoint
returns ~11K stations as one JSON blob; 30s was insufficient from Railway US.

* fix(fuel-prices): add URL logging to Brazil, Mexico, NZ fetchers for debuggability
2026-03-23 20:59:09 +04:00

23 lines
540 B
JSON

{
"name": "worldmonitor-railway-relay",
"version": "1.1.0",
"description": "Railway relay: AIS/OpenSky + RSS proxy + Telegram OSINT poller",
"main": "ais-relay.cjs",
"scripts": {
"start": "node ais-relay.cjs",
"telegram:session": "node telegram/session-auth.mjs"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.79.0",
"xlsx": "^0.18.5",
"@aws-sdk/client-s3": "^3.1009.0",
"sax": "^1.6.0",
"h3-js": "^4.2.1",
"telegram": "^2.22.2",
"ws": "^8.18.0"
},
"engines": {
"node": ">=20"
}
}