bugfixes 🐛💚, update deps

This commit is contained in:
Jannis R 2017-12-18 23:33:29 +01:00 committed by Julius Tens
parent de4399fd43
commit 5814a69dd5
3 changed files with 4 additions and 3 deletions

View file

@ -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,

View file

@ -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",

View file

@ -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
} }