Commit graph

678 commits

Author SHA1 Message Date
Jannis R
3e01303e43 CFL profile 2019-05-20 20:06:24 +02:00
Jannis R
26069806e0 remove 0 milliseconds from docs & tests 2019-04-29 18:23:40 +01:00
Jannis R
831bcaf4c9 ISO date+time: suppress milliseconds if 0 2019-04-29 18:23:40 +01:00
Jannis R
ed97522908
link to db-netz-hafas, changelog 📝, 4.0.3
[ci skip]
2019-04-01 19:24:37 +02:00
Jannis R
6aa57d4616
handle missing dirTxt 🐛 2019-04-01 19:22:10 +02:00
Jannis R
ab00a9360f
changelog 📝, 4.0.2 2019-03-27 18:58:56 +01:00
Jannis R
133cee9988
parseWarning: expose id 🐛 2019-03-27 18:58:34 +01:00
Jannis R
b88090dd30
br2nl -> @derhuerst/br2nl 2019-03-27 18:31:56 +01:00
Jannis R
9503ef1cda
changelog 📝, 4.0.1 2019-03-19 12:58:37 +01:00
Jannis R
5d49fd0a20 parseDateTime: fix tzOffset + daysOffset 🐛
closes #106
2019-03-19 12:56:49 +01:00
Jannis R
8bfc4aee0f test for parseDateTime 2019-03-19 12:56:49 +01:00
Jannis R
29aea9a5ef
journeys: fix opt.results === null 🐛 2019-03-01 11:37:25 +01:00
Jannis R
16f98b943e
changelog & "migration to 4" guide 📝, 4.0.0
[ci skip]
2019-02-28 17:02:18 +01:00
Jannis R
3b0740d310
adapt tests to 7e39a2f 2019-02-28 16:45:40 +01:00
Jannis R
7e39a2f333
formerScheduled… -> scheduled… 💥 2019-02-28 16:45:40 +01:00
Jannis R
16461733e4
Error -> TypeError 💥 2019-02-28 16:45:40 +01:00
Jannis R
fbde6a171b
createClientWithRetry -> withRetrying 💥 2019-02-28 16:45:40 +01:00
Jannis R
748f8ce6b0
createThrottledClient -> withThrottling 💥 2019-02-28 16:45:40 +01:00
Jannis R
c04e041338
make tests more robust 💚 2019-02-28 16:45:40 +01:00
Jannis R
eab850e058
adapt docs & tests to eb3ffba 📝 2019-02-28 16:45:31 +01:00
Jannis R
eb3ffba4fc
make POIs objects with poi: true 💥
fixes #42
2019-02-28 16:45:31 +01:00
Jannis R
4a79b91680
parseLocation: L param as fallback ID 2019-02-28 16:45:31 +01:00
Jannis R
9c449958c4
remove (arrival|departure).trip, movement.trip 💥 2019-02-28 16:45:31 +01:00
Jannis R
fcc2a23fc1
ÖBB journeys: fix opt.results 🐛 2019-02-28 16:45:31 +01:00
Jannis R
8566bcc85f
journeys tests: expect 4 results
The default nr of results returned by HAFAS seems to be `3`, so we pick
a different one to assert that the `results` option actually works.
2019-02-28 16:45:31 +01:00
Jannis R
ea17443bd8
tweak "writing a profile" guide 📝
[ci skip]
2019-02-28 16:45:31 +01:00
Jannis R
567cc98409
DB, INSA, Nah.SH, ÖBB: nationalExp -> nationalExpress 💥 2019-02-28 16:45:31 +01:00
Jannis R
c1bb9a6a5c
adapt docs & tests to 0e1fcb0 📝 2019-02-28 16:45:18 +01:00
Jannis R
0e1fcb0c99
leg.mode: 'walking' -> leg.walking: true 💥 2019-02-28 16:45:18 +01:00
Jannis R
a972dad7b8
departures/arrivals, locations, nearby, stop: opt.stationLines -> linesOfStops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
8f9b22e296
locations, nearby: opt.stations -> opt.stops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
d7e439b948
NODE_DEBUG -> DEBUG 💥 2019-02-28 16:45:18 +01:00
Jannis R
61e7d14531
journeys: let opt.transfers default to -1 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
a1c40ad084
adapt tests to fcc53b5 2019-02-28 16:45:09 +01:00
Jannis R
b2b2d11dfe
adapt docs to fcc53b5 📝
[ci skip]
2019-02-28 16:44:59 +01:00
Milan
fcc53b5d2a
journeys: return object with journeys, earlierRef, laterRef 💥
Previously, an array with additional attributes `earlierRef` and `laterRef` was returned.
When JSON-stringified, the attributes were missing.
2019-02-28 16:44:59 +01:00
Jannis R
cb535cdabe
remove line.class & line.productCode from docs 📝
adapting to 8dd4ef5
2019-02-28 16:44:59 +01:00
Jannis R
a1ffad3071
parseLine: remove line.class & line.productCode 💥 2019-02-28 16:44:59 +01:00
Jannis R
3bc2eff530
locations: default opt.results to 5 💥 📝 2019-02-28 16:44:58 +01:00
Jannis R
88c78c243f
adapt tests to 96ff59d 2019-02-28 16:44:46 +01:00
Jannis R
0fa9610b30
tests: trip validator 2019-02-28 16:44:46 +01:00
Jannis R
0daa1c5fef
adapt docs & examples to 96ff59d 📝 2019-02-28 16:44:36 +01:00
Jannis R
96ff59dc43
leg.id -> leg.tripId 💥 2019-02-28 16:44:36 +01:00
Jannis R
2e12206c0b
adapt tests to bad0af8 2019-02-28 16:44:22 +01:00
Jannis R
8b87868fba
adapt docs & examples to bad0af8 📝 2019-02-28 16:44:10 +01:00
Jannis R
bad0af8e25
rename station(id) -> stop(id) 💥 2019-02-28 16:44:10 +01:00
Jannis R
bbff1f4c63
movement.nextStops -> movement.nextStopovers 💥 2019-02-28 16:44:10 +01:00
Jannis R
59584a3402
tests: co/yield -> async/await 2019-02-28 16:44:10 +01:00
Jannis R
bf3c4c58a1
require Node >=8.3.0 💥 💚 2019-02-28 16:44:09 +01:00
Jannis R
ca1105f139
parseDateTime: parse timezone offset if given 💥 2019-02-28 16:44:09 +01:00