readme: minor tweaks 📝; changelog 📝; 5.15.1

[ci skip]
This commit is contained in:
Jannis R 2021-02-12 23:55:39 +01:00
parent c6fb966177
commit 9f82d3305c
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
4 changed files with 22 additions and 5 deletions

View file

@ -1,5 +1,15 @@
# Changelog
## `5.15.1`
- 7025d3bc ÖBB: enable `remarks()`
- cb8d92be use `LOCAL_ADDRESS` environment variable to pick network interface address
- 92f1831c `departures()`/`arrivals()`: document `opt.products` 📝
- 7025d3bc/c6fb9661 ÖBB: change `ver` to `1.33` 🐛
- 78bbf9b6 VKG, VVT `departures()`: disable `getPasslist` & `stbFltrEquiv` 🐛
[🏷 `5.15.1`](https://github.com/public-transport/hafas-client/releases/tag/5.15.1), 2021-02-12
## `5.15.0`
- 7106d24a add [*VOS* profile](../p/vos)

View file

@ -1,7 +1,7 @@
{
"name": "hafas-client",
"description": "Client for HAFAS public transport APIs.",
"version": "5.15.0",
"version": "5.15.1",
"main": "index.js",
"files": [
"index.js",
@ -20,7 +20,7 @@
"em0lar <hello@em0lar.de>",
"Adrian Böhme <hannsadrian@gmail.com> (https://github.com/Adwirawien)"
],
"homepage": "https://github.com/public-transport/hafas-client/tree/5.15.0",
"homepage": "https://github.com/public-transport/hafas-client/tree/5.15.1",
"repository": "public-transport/hafas-client",
"bugs": "https://github.com/public-transport/hafas-client/issues",
"funding": {

View file

@ -120,7 +120,7 @@ const parseLocation = (ctx, l) => {
return res
}
// We use a "visitied list" to prevent endless recursion.
// We use a "visited list" to prevent endless recursion.
const seen = Symbol('parseLocation seen items')
const parseLocationWithoutCycles = (ctx, l, ...args) => {
if (ctx[seen] && ctx[seen].includes(l)) return null

View file

@ -3,11 +3,18 @@
**A client for the "mobile APIs" of [HAFAS](https://de.wikipedia.org/wiki/HAFAS) public transport management systems**.
[![npm version](https://img.shields.io/npm/v/hafas-client.svg)](https://www.npmjs.com/package/hafas-client)
[![build status](https://img.shields.io/travis/public-transport/hafas-client.svg?branch=5)](https://travis-ci.org/public-transport/hafas-client)
[![build status](https://img.shields.io/github/workflow/status/public-transport/hafas-client/test/5)](https://github.com/public-transport/hafas-client/actions?query=branch%3A5)
![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-client.svg)
[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)
- [Background](#background)
- [Supported networks/endpoints](#supported-networks-endpoints)
- [Installing](#installing)
- [Usage](#usage)
- [Related Projects](#related-projects)
- [Contributing](#contributing)
## Background
@ -20,7 +27,7 @@ Most customers get their own, **separate HAFAS deployments**; They all use the s
Strictly speaking, permission is necessary to use this library with a HAFAS "mobile" endpoint. It merely tries to remove the *technical* barrier of accessing the data, in order to kick-start an ecosystem or apps and services that will eventually rely on [*openly available* data](https://opendatahandbook.org/solutions/en/Public-Transport-Data/).
## supported networks/endpoints
## Supported networks/endpoints
`hafas-client` has [built-in support for many public transportation networks](p/readme.md).