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