+1
-1
| The MIT License (MIT) | ||
| Copyright (c) 2017, Julius Tens, Jannis R | ||
| Copyright (c) 2018, Julius Tens, Jannis R | ||
@@ -4,0 +4,0 @@ Permission is hereby granted, free of charge, to any person obtaining a |
+6
-6
| { | ||
| "name": "db-prices", | ||
| "description": "Find the cheapest routes using the DB Sparpreise API.", | ||
| "version": "2.0.1", | ||
| "version": "3.0.0", | ||
| "keywords": [ | ||
@@ -17,3 +17,3 @@ "train", | ||
| ], | ||
| "author": "Julius Tens <mail@juliustens.de>", | ||
| "author": "Julius Tens <mail@juliustens.eu>", | ||
| "contributors": [ | ||
@@ -31,10 +31,10 @@ "Jannis R <mail@jannisr.de>" | ||
| "dependencies": { | ||
| "fetch-ponyfill": "^4.0.0", | ||
| "fetch-ponyfill": "^5.0.0", | ||
| "lodash.minby": "^4.6.0", | ||
| "moment-timezone": "^0.5.5", | ||
| "query-string": "^4.3.4", | ||
| "query-string": "^5.0.0", | ||
| "slugg": "^1.2.0" | ||
| }, | ||
| "devDependencies": { | ||
| "db-stations": "^1.0.1", | ||
| "db-stations": "^2.0.0", | ||
| "is-roughly-equal": "^0.1", | ||
@@ -47,3 +47,3 @@ "tap-spec": "^4.1.1", | ||
| "test": "node test.js | tap-spec", | ||
| "prepublishOnly": "npm test" | ||
| "prepare": "npm test" | ||
| }, | ||
@@ -50,0 +50,0 @@ "engine": { |
+2
-2
@@ -48,3 +48,3 @@ 'use strict' | ||
| }, | ||
| start: when(data.dep), | ||
| departure: when(data.dep), | ||
| departurePlatform: data.pd || null, | ||
@@ -57,3 +57,3 @@ destination: { | ||
| }, | ||
| end: when(data.arr), | ||
| arrival: when(data.arr), | ||
| arrivalPlatform: data.pa || null, | ||
@@ -60,0 +60,0 @@ line: { |
+3
-2
@@ -7,2 +7,3 @@ # db-prices | ||
| [](https://travis-ci.org/juliuste/db-prices) | ||
| [](https://greenkeeper.io/) | ||
| [](https://david-dm.org/juliuste/db-prices) | ||
@@ -76,3 +77,3 @@ [](https://david-dm.org/juliuste/db-prices#info=devDependencies) | ||
| }, | ||
| start: '2017-06-05T08:53:00.000Z', | ||
| departure: '2017-06-05T08:53:00.000Z', | ||
| departurePlatform: '13', | ||
@@ -84,3 +85,3 @@ destination: { | ||
| }, | ||
| end: '2017-06-05T13:17:00.000Z', | ||
| arrival: '2017-06-05T13:17:00.000Z', | ||
| arrivalPlatform: '7', | ||
@@ -87,0 +88,0 @@ line: { |
10160
1.1%116
0.87%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated