hafas-rest-api
Advanced tools
Comparing version 6.0.0-alpha.1 to 6.0.0-alpha.2
@@ -1,2 +0,2 @@ | ||
Copyright (c) 2023, Jannis R | ||
Copyright (c) 2024, Jannis R | ||
@@ -3,0 +3,0 @@ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. |
{ | ||
"name": "hafas-rest-api", | ||
"description": "Expose a HAFAS client via an HTTP REST API.", | ||
"version": "6.0.0-alpha.1", | ||
"version": "6.0.0-alpha.2", | ||
"main": "index.js", | ||
@@ -43,7 +43,7 @@ "type": "module", | ||
"luxon": "^3.1.1", | ||
"markdown-it": "^13.0.1", | ||
"markdown-it": "^14.0.0", | ||
"on-headers": "^1.0.2", | ||
"parse-human-relative-time": "^3.0.0", | ||
"pino": "^8.8.0", | ||
"pino-http": "^8.2.1", | ||
"pino-http": "^9.0.0", | ||
"shorthash": "0.0.2", | ||
@@ -60,3 +60,3 @@ "stringify-entities": "^4.0.3" | ||
"pino-pretty": "^10.0.1", | ||
"tap-min": "^2.0.0", | ||
"tap-min": "^3.0.0", | ||
"tape": "^5.1.1", | ||
@@ -63,0 +63,0 @@ "tape-promise": "^4.0.0" |
@@ -45,3 +45,3 @@ # hafas-rest-api | ||
----|-------------|------------|-------------- | ||
`hostname` | The public hostname of the API. | ✔︎ | – | ||
`hostname` | The public hostname of the API. | ✔︎ | [`os.hostname()`](https://nodejs.org/docs/latest-v18.x/api/os.html#oshostname) | ||
`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | – | ||
@@ -52,2 +52,3 @@ `description` | Used for the about page. | ✔︎ (with `aboutPage: true`) | – | ||
`etags` | [Express config](https://expressjs.com/en/4x/api.html#etag.options.table) for [`ETag` headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) | ✗ | `weak` | ||
`csp` | The [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) sent as an HTTP header | ✗ | `default-src 'none'` | ||
`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true` | ||
@@ -54,0 +55,0 @@ `logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false` |
75925
68
+ Addedentities@4.5.0(transitive)
+ Addedlinkify-it@5.0.0(transitive)
+ Addedmarkdown-it@14.1.0(transitive)
+ Addedmdurl@2.0.0(transitive)
+ Addedpino-http@9.0.0(transitive)
+ Addedpunycode.js@2.3.1(transitive)
+ Addeduc.micro@2.1.0(transitive)
- Removedentities@3.0.1(transitive)
- Removedlinkify-it@4.0.1(transitive)
- Removedmarkdown-it@13.0.2(transitive)
- Removedmdurl@1.0.1(transitive)
- Removedpino-http@8.6.1(transitive)
- Removeduc.micro@1.0.6(transitive)
Updatedmarkdown-it@^14.0.0
Updatedpino-http@^9.0.0