hafas-rest-api
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -115,2 +115,5 @@ 'use strict' | ||
api.get('/stops/:id', stop(hafas, config)) | ||
api.get('/stops/:id/departures', noCache, departures(hafas, config)) | ||
api.get('/stops/:id/arrivals', noCache, arrivals(hafas, config)) | ||
// todo: remove `/stations/:id/*` [breaking] | ||
api.get('/stations/:id/departures', noCache, departures(hafas, config)) | ||
@@ -117,0 +120,0 @@ api.get('/stations/:id/arrivals', noCache, arrivals(hafas, config)) |
{ | ||
"name": "hafas-rest-api", | ||
"description": "Expose a HAFAS client via an HTTP REST API.", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"main": "index.js", | ||
@@ -39,3 +39,3 @@ "files": [ | ||
"hsts": "^2.1.0", | ||
"markdown-it": "^8.4.2", | ||
"markdown-it": "^9.0.1", | ||
"nocache": "^2.0.0", | ||
@@ -48,6 +48,6 @@ "parse-messy-time": "^2.1.0", | ||
"devDependencies": { | ||
"axios": "^0.18.0", | ||
"get-port": "^4.0.0", | ||
"axios": "^0.19.0", | ||
"get-port": "^5.0.0", | ||
"hafas-client": "^4.0.1", | ||
"pino-pretty": "^2.5.0", | ||
"pino-pretty": "^3.2.0", | ||
"serve-static": "^1.13.2", | ||
@@ -54,0 +54,0 @@ "tap-min": "^2.0.0", |
21370
628
+ Addedmarkdown-it@9.1.0(transitive)
- Removedmarkdown-it@8.4.2(transitive)
Updatedmarkdown-it@^9.0.1