mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
bugfixes 🐛💚, update deps
This commit is contained in:
parent
de4399fd43
commit
5814a69dd5
3 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
// todo: https://gist.github.com/anonymous/d3323a5d2d6e159ed42b12afd0380434#file-haf_products-properties-L1-L95
|
||||
const m = {
|
||||
nationalExp: {
|
||||
bitmask: 1,
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"vbb-parse-line": "^0.2.5",
|
||||
"vbb-parse-ticket": "^0.2.1",
|
||||
"vbb-short-station-name": "^0.4.0",
|
||||
"vbb-stations": "^5.8.0",
|
||||
"vbb-stations": "^5.9.0",
|
||||
"vbb-translate-ids": "^3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -49,7 +49,7 @@
|
|||
"tape": "^4.8.0",
|
||||
"tape-promise": "^2.0.1",
|
||||
"validate-fptf": "^1.0.2",
|
||||
"vbb-stations-autocomplete": "^2.9.0"
|
||||
"vbb-stations-autocomplete": "^2.11.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test/index.js",
|
||||
|
|
|
@ -30,7 +30,7 @@ const createParseDeparture = (profile, stations, lines, remarks) => {
|
|||
|
||||
// todo: follow public-transport/friendly-public-transport-format#27 here
|
||||
// see also derhuerst/vbb-rest#19
|
||||
if (pt.arr.aCncl || pt.dep.dCncl) {
|
||||
if (d.stbStop.aCncl || d.stbStop.dCncl) {
|
||||
res.cancelled = true
|
||||
res.when = res.delay = null
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue