From 96448bf900f8c9988be4eb96c8285b9c49510331 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 23 Jan 2018 00:50:21 +0100 Subject: [PATCH] update deps --- p/vbb/index.js | 2 +- package.json | 8 ++++---- test/vbb.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/p/vbb/index.js b/p/vbb/index.js index 2c9325c6..a3fb5a94 100644 --- a/p/vbb/index.js +++ b/p/vbb/index.js @@ -63,7 +63,7 @@ const parseLocation = (profile, l) => { res.id = to12Digit(res.id) if (!res.location.latitude || !res.location.longitude) { const [s] = getStations(res.id) - if (s) Object.assign(res.location, s.coordinates) + if (s) Object.assign(res.location, s.location) } } return res diff --git a/package.json b/package.json index 07500129..a13c2d1d 100644 --- a/package.json +++ b/package.json @@ -33,14 +33,14 @@ "dependencies": { "fetch-ponyfill": "^4.1.0", "lodash": "^4.17.4", - "luxon": "^0.2.11", + "luxon": "^0.3.1", "pinkie-promise": "^2.0.1", "query-string": "^5.0.0", "slugg": "^1.2.0", - "vbb-parse-line": "^0.2.5", + "vbb-parse-line": "^0.3.0", "vbb-parse-ticket": "^0.2.1", "vbb-short-station-name": "^0.4.0", - "vbb-stations": "^5.9.0", + "vbb-stations": "^6.1.0", "vbb-translate-ids": "^3.1.0" }, "devDependencies": { @@ -52,7 +52,7 @@ "tape": "^4.8.0", "tape-promise": "^2.0.1", "validate-fptf": "^1.2.0", - "vbb-stations-autocomplete": "^2.11.0" + "vbb-stations-autocomplete": "^3.0.0" }, "scripts": { "test": "node test/index.js", diff --git a/test/vbb.js b/test/vbb.js index d04edfb3..b8031524 100644 --- a/test/vbb.js +++ b/test/vbb.js @@ -50,7 +50,7 @@ const assertValidLine = (t, l) => { } // todo -const findStation = (query) => stations(query, true, false) +const findStation = (query) => stations(query, true, false)[0] const test = tapePromise(tape) const client = createClient(vbbProfile)