Skip to content

Commit

Permalink
minor tweaks; readme: update badges 📝; 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Feb 25, 2021
1 parent 09aa987 commit 323a5dc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions find-leg.js
Expand Up @@ -89,6 +89,7 @@ const createFindLeg = (A, B) => {
}

const findStop = createFindStop(A, B)
// todo: customisable concurrency? or even across all `findLegInAnotherHafas` calls?
const [firstStopB, lastStopB] = await Promise.all([
findStop(firstStopA),
findStop(lastStopA)
Expand Down
2 changes: 1 addition & 1 deletion find-stop.js
Expand Up @@ -46,7 +46,7 @@ const createFindStop = (A, B) => {
}

const findStopById = async (stopA) => {
debug('findStopById', stopA.id, stopA.ids, stopA.name)
debug('findStopById', stopA.id, stopA.ids || {}, stopA.name)
const idsA = stopA.ids || {}
const idA = (
idsA[endpNameB] ||
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "find-hafas-data-in-another-hafas",
"description": "Find data from one HAFAS endpoint in another one.",
"version": "4.2.0",
"version": "4.3.0",
"main": "index.js",
"files": [
"index.js",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -5,8 +5,8 @@
[![npm version](https://img.shields.io/npm/v/find-hafas-data-in-another-hafas.svg)](https://www.npmjs.com/package/find-hafas-data-in-another-hafas)
[![build status](https://api.travis-ci.org/derhuerst/find-hafas-data-in-another-hafas.svg?branch=master)](https://travis-ci.org/derhuerst/find-hafas-data-in-another-hafas)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/find-hafas-data-in-another-hafas.svg)
[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)

Public transport providers in Europe often have data about vehicles run by other companies, but almost always it is outdated or imprecise. Consider these examples:

Expand Down

0 comments on commit 323a5dc

Please sign in to comment.