Files
worldmonitor/scripts/package.json
Elie Habib d60de13362 fix(sanctions): add sax to scripts/package.json + raise consumer-prices health thresholds (#2033)
Sanctions seed has been failing since PR #2008 with:
  ERR_MODULE_NOT_FOUND: Cannot find package 'sax'
PR #2008 replaced fast-xml-parser with SAX streaming but only updated
the root package.json, not scripts/package.json which is the Railway
container manifest. Railway runs npm ci from scripts/ so sax was never
installed. Add sax ^1.6.0 and remove the now-unused fast-xml-parser.

Also raise consumer-prices SEED_META maxStaleMin from 90-120 to 1500 min.
publish.ts runs once daily at 02:30 UTC; all five consumer-prices keys
were permanently STALE_SEED for 22+ hours/day after the daily run.
1500 min (25h) = 24h cadence + 1h grace before warning.
2026-03-22 08:48:55 +04:00

22 lines
517 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",
"@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"
}
}