bugfixes 🐛💚, update deps

This commit is contained in:
Jannis R 2017-12-18 23:33:29 +01:00
parent 28e601553d
commit c304119de5
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
'use strict'
// todo: https://gist.github.com/anonymous/d3323a5d2d6e159ed42b12afd0380434#file-haf_products-properties-L1-L95
const m = {
nationalExp: {
bitmask: 1,

View file

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

View file

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