Socket
Socket
Sign inDemoInstall

hafas-rest-api

Package Overview
Dependencies
98
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.1.0

3

index.js

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

10

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc