Skip to content

Commit fbd3813

Browse files
fixes
1 parent 55afce1 commit fbd3813

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

package-lock.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
},
5454
"dependencies": {
5555
"@mapbox/polyline": "^1.2.1",
56+
"@motis-project/motis-client": "^2.1.2",
5657
"content-type": "^1.0.5",
5758
"cross-fetch": "^4.1.0",
5859
"db-hafas-stations": "2.0.0",
@@ -65,7 +66,6 @@
6566
},
6667
"devDependencies": {
6768
"@eslint/js": "^9.21.0",
68-
"@motis-project/motis-client": "^2.1.2",
6969
"@pollyjs/adapter-node-http": "^6.0.6",
7070
"@pollyjs/core": "^6.0.6",
7171
"@pollyjs/persister-fs": "^6.0.6",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**A client for [MOTIS](https://github.com/motis-project/motis) that is a drop-in replacement for [hafas-client](https://github.com/public-transport/hafas-client/) and/or [db-vendo-client](https://github.com/public-transport/db-vendo-client/), in short, everything that is more or less compatible with the [Friendly Public Transport Format (FPTF)](https://github.com/public-transport/friendly-public-transport-format).**
44

5-
[![npm version](https://img.shields.io/npm/v/motis-fptf-client.svg)](https://www.npmjs.com/package/@motis-project/motis-fptf-client)
5+
[![npm version](https://img.shields.io/npm/v/@motis-project/motis-fptf-client.svg)](https://www.npmjs.com/package/@motis-project/motis-fptf-client)
66
![ISC-licensed](https://img.shields.io/github/license/motis-project/motis-fptf-client.svg)
77

88
This is an early version. The following [FPTF](https://github.com/public-transport/friendly-public-transport-format)/[hafas-client](https://github.com/public-transport/hafas-client/) endpoints are supported:

test/e2e/motis.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ import {testReachableFrom} from './lib/reachable-from.js';
2424
const isObj = o => o !== null && 'object' === typeof o && !Array.isArray(o);
2525
const minute = 60 * 1000;
2626

27-
const T_MOCK = new Date().getTime();
27+
const T_MOCK = new Date()
28+
.getTime();
2829
const when = createWhen(tProfile.timezone, tProfile.locale, T_MOCK);
2930

3031
const cfg = {

0 commit comments

Comments
 (0)