derhuerst / generate-vbb-graph

Generate a JSON graph from Berlin & Brandenburg public transport.
https://github.com/derhuerst/generate-vbb-graph
ISC License
8 stars 2 forks source link

update VBB data in dependencies #23

Closed Dabendorf closed 3 years ago

Dabendorf commented 3 years ago

Hey, I have been using generate-vbb-graph for a long time and I just realised that I always gives me information which isn't up to date. The data I get from it still includes names like "S Betriebsbahnhof Schöneweide", but does not include new data from the BER (like S Waßmannsdorf).

So it always gives me data from mid of 2020. Is that a bug? Is is potentially the case that the code links to an old server?

Many greetings and thanks

derhuerst commented 3 years ago

Correct, this tool pulls the data from several npm packages, which are outdated by now:

https://github.com/derhuerst/generate-vbb-graph/blob/7d911cce0610d66f08d4d9824a9484863876e511/package.json#L29-L43

Dabendorf commented 3 years ago

Hey, thanks for your answer. Is there a package among all of your interesting projects which pulls the new data in the same format as the old one?

Edit: I didn't see your last answer, sorry

derhuerst commented 3 years ago

This guide explains what needs to be done whenever the upstream GTFS dataset changes:

https://gist.github.com/derhuerst/84b4aae1ee7e4f3f4d88267fdd0cccc1

In the past months, I didn't have the time or motivation to update the vbb-* npm packages, I just deployed the GTFS to vbb-gtfs.jannisr.de.

Dabendorf commented 3 years ago

Hey, thank you for your answer. I am trying to understand the concept and ran in a bit of trouble. I am trying to find out how those 11 csv-files could be mapped to the data which is known to be edges and nodes. The nodes are obviously somehow derived from stops.csv.

But where does the data from edges come from? I am a bit confused about how trips, routes, transfers etc work together as I did not find any file which clearly has data "from" - "to".

derhuerst commented 3 years ago

The data format is called General Transit Feed Specification (GTFS); There are examples at Google GTFS docs and inside the sample-gtfs-feed npm package.

derhuerst commented 3 years ago

If you want to, you can maintain the vbb-* npm packages! It shouldn't be too much work to run npm run build && npm publish once a month.

Dabendorf commented 3 years ago

I cannot code JavaScript, but if it’s only about running commands, I can sure arrange that. :)

derhuerst commented 3 years ago

You'd need a UNIX-like environment where you have Node.js (which includes the npm CLI) installed.

derhuerst commented 3 years ago

Do you have an npm registry account with 2 factor authentication?

Dabendorf commented 3 years ago

Its all set up. The npm account is called dorpapst.

derhuerst commented 3 years ago

I have added you as a maintainer of these npm packages and the respective GitHub repos:

Please make sure to

If you've done it once, it will be a lot easier and faster next time.

Thanks for maintaining these! 💚 If you have any question, just ping me via GitHub, Twitter or eMail.

Dabendorf commented 3 years ago

Hey, Thank you very much for that and thanks for the trust. Just a couple of minor questions: So I need to download everyone of those and run npm run build && npm publish in terminal within the package's folder?

And then I should probably change the current version numbers in generate-vbb-graph/package.json?

I will have a look for the style guide and the other things, otherwise everything should be alright (of course I use 2FA)

Edit: of course, I need to change the version number inside the package.json as well

derhuerst commented 3 years ago

So I need to download everyone of those and run npm run build && npm publish in terminal within the package's folder?

Yes, basically. And git push the commit that increases the version number.

And then I should probably change the current version numbers in generate-vbb-graph/package.json?

npm follows SemVer by default. For example, because generate-vbb-graph/package.json depends on version ^4.0.0 of vbb-lines, npm will automatically install the latest 4.0.0-compatible version (4.11.0 currently).

So except if you do breaking changes (and release them as a new major version), you won't have to update generate-vbb-graph.

I will have a look for the style guide and the other things [...].

Yeah, I don't have strict style requirements; I just want to be able to continue maintenance without much friction in the case that you don't have the time/motivation anymore. I'm definitely open to changing and/or automating some things!

Dabendorf commented 3 years ago

Thanks for all the explanation and for letting me being a part of it.

I will try to do the changes on the weekend. Have a wonderful day!

Dabendorf commented 3 years ago

Hello hello, I am getting the following message when trying to run npm run build in any of the projects:

vbb-shapes@3.2.1 download
> curl -L --compressed --etag-compare build/shapes.csv.etag --etag-save build/shapes.csv.etag https://vbb-gtfs.jannisr.de/latest/shapes.csv -o build/shapes.csv

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Your SSL certificate expired just today.

Is there an easy fix for that or should I wait until it got renewed?

derhuerst commented 3 years ago

I have fixed the outdated SSL certificate on vbb-gtfs.jannisr.de, it should work now.

Dabendorf commented 3 years ago

Hey, thank you! It finally worked for seven of the eight packages. The only one which does not work is the following:

vbb-find-stations git:(master) npm run build                        
npm ERR! Missing script: "build"
npm ERR! 
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/lukas/.npm/_logs/2021-04-16T08_06_20_343Z-debug.log

npm run shows me that there are prepublish and test available, but no build. Should I choose one of these?

The other seven are updated, both in npm and on git, if I didn't do something horribly wrong. Do you think that generate-vbb-graph -p suburban,subway,regional,tram,ferry,bus in this project here would then download the data from 2021? I just run it as a test, but there are still old data. But that's of course under the circumstance that I only updated seven of the eight packages above so far.

derhuerst commented 3 years ago

The only one which does not work is [...] vbb-find-stations. npm run shows me that there are prepublish and test available, but no build. Should I choose one of these?

Right, I forgot that vbb-find-stations doesn't have a build script; You don't have to do anything about it because, if you install vbb-find-stations using npm, it will automatically install the latest dependencies (e.g. vbb-stations@7.3.1, which you have just published).

The other seven are updated, both in npm and on git, if I didn't do something horribly wrong.

Great!

Dabendorf commented 3 years ago

Wonderful. I just had a short research concerning my generate-vbb-graph question. Is it possible that the dependency for vbb-stations is too old? The current version of it is "version": "7.3.1", but here, the package version still refers to 6.1.0. That might be the reason why I get too old data?

derhuerst commented 3 years ago

Do you think that generate-vbb-graph -p suburban,subway,regional,tram,ferry,bus in this project here would then download the data from 2021? I just run it as a test, but there are still old data. But that's of course under the circumstance that I only updated seven of the eight packages above so far.

How are you using generate-vbb-graph?

Then, you should be able to generate the graph using the latest data.

Dabendorf commented 3 years ago

I had it installed via npm. The upgrade command does not change the results and so I uninstalled it fully and tried it again via:

sudo npm install -g  generate-vbb-graph
generate-vbb-graph -p suburban,subway,regional,tram,ferry,bus

I still get data from 2020

So there is either something I do wrong or some old data still being around. But I guess the first one shouldn't be possible since I reinstalled everything

Dabendorf commented 3 years ago

More information from my npm:

➜  ~ npm list -g --depth=0           
/usr/lib
├── generate-vbb-graph@1.0.5
├── npm@7.10.0
├── rimraf@3.0.2
├── vbb-find-stations@3.0.1
├── vbb-graph@0.29.0
└── vbb-stations@7.3.1

Does it work on your PC?

derhuerst commented 3 years ago

You can print the full tree of dependencies using npm list -g --depth=5.

Dabendorf commented 3 years ago

That's a long one:

  ~ npm list -g --depth=5
/usr/lib
├─┬ generate-vbb-graph@1.0.5
│ ├── hifo@1.0.0
│ ├── lodash.isequal@4.5.0
│ ├── merged-vbb-stations@1.12.0
│ ├── mri@1.1.6
│ ├─┬ ndjson@1.5.0
│ │ ├── json-stringify-safe@5.0.1
│ │ ├── minimist@1.2.5
│ │ ├─┬ split2@2.2.0
│ │ │ └── through2@2.0.5 deduped
│ │ └── through2@2.0.5 deduped
│ ├── projections@1.0.0
│ ├─┬ pump@3.0.0
│ │ ├─┬ end-of-stream@1.4.4
│ │ │ └── once@1.4.0 deduped
│ │ └─┬ once@1.4.0
│ │   └── wrappy@1.0.2
│ ├─┬ through2@2.0.5
│ │ ├─┬ readable-stream@2.3.7
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── inherits@2.0.4
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@2.0.1
│ │ │ ├── safe-buffer@5.1.2
│ │ │ ├─┬ string_decoder@1.1.1
│ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ └── util-deprecate@1.0.2
│ │ └── xtend@4.0.2
│ ├─┬ vbb-line-variant-score@0.2.0
│ │ ├── merged-vbb-stations@1.12.0 deduped
│ │ └── vbb-stations@6.11.0 deduped
│ ├─┬ vbb-lines@4.11.1
│ │ ├── ndjson@1.5.0 deduped
│ │ ├── pump@3.0.0 deduped
│ │ ├─┬ stream-filter@2.1.0
│ │ │ ├── through2@2.0.5 deduped
│ │ │ └── xtend@4.0.2 deduped
│ │ └── stream-sink@2.2.2
│ ├── vbb-short-station-name@1.0.1
│ ├─┬ vbb-stations@6.11.0
│ │ └── lodash.get@4.4.2
│ └─┬ vbb-trips@3.13.1
│   ├── ndjson@1.5.0 deduped
│   ├── stream-filter@2.1.0 deduped
│   └─┬ through2-map@3.0.0
│     ├── through2@2.0.5 deduped
│     └── xtend@4.0.2 deduped
├─┬ npm@7.7.6
│ ├─┬ @npmcli/arborist@2.2.9
│ │ ├─┬ @npmcli/installed-package-contents@1.0.7
│ │ │ ├─┬ npm-bundled@1.1.1
│ │ │ │ └── npm-normalize-package-bin@1.0.1 deduped
│ │ │ └── npm-normalize-package-bin@1.0.1 deduped
│ │ ├─┬ @npmcli/map-workspaces@1.0.3
│ │ │ ├── @npmcli/name-from-folder@1.0.1 deduped
│ │ │ ├── glob@7.1.6 deduped
│ │ │ ├── minimatch@3.0.4 deduped
│ │ │ └── read-package-json-fast@2.0.2 deduped
│ │ ├─┬ @npmcli/metavuln-calculator@1.1.1
│ │ │ ├── cacache@15.0.6 deduped
│ │ │ ├── pacote@11.3.1 deduped
│ │ │ └── semver@7.3.5 deduped
│ │ ├─┬ @npmcli/move-file@1.1.2
│ │ │ ├── mkdirp@1.0.4 deduped
│ │ │ └── rimraf@3.0.2 deduped
│ │ ├── @npmcli/name-from-folder@1.0.1
│ │ ├── @npmcli/node-gyp@1.0.2
│ │ ├── @npmcli/run-script@1.8.4 deduped
│ │ ├─┬ bin-links@2.2.1
│ │ │ ├─┬ cmd-shim@4.1.0
│ │ │ │ └── mkdirp-infer-owner@2.0.0 deduped
│ │ │ ├── mkdirp@1.0.4 deduped
│ │ │ ├── npm-normalize-package-bin@1.0.1 deduped
│ │ │ ├── read-cmd-shim@2.0.0
│ │ │ ├── rimraf@3.0.2 deduped
│ │ │ └── write-file-atomic@3.0.3 deduped
│ │ ├── cacache@15.0.6 deduped
│ │ ├── common-ancestor-path@1.0.1
│ │ ├── json-parse-even-better-errors@2.3.1 deduped
│ │ ├── json-stringify-nice@1.1.1
│ │ ├── mkdirp-infer-owner@2.0.0 deduped
│ │ ├─┬ npm-install-checks@4.0.0
│ │ │ └── semver@7.3.5 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ ├── npm-pick-manifest@6.1.1 deduped
│ │ ├── npm-registry-fetch@9.0.0 deduped
│ │ ├── pacote@11.3.1 deduped
│ │ ├── parse-conflict-json@1.1.1 deduped
│ │ ├── promise-all-reject-late@1.0.1
│ │ ├── promise-call-limit@1.0.1
│ │ ├── read-package-json-fast@2.0.2 deduped
│ │ ├── readdir-scoped-modules@1.1.0 deduped
│ │ ├── semver@7.3.5 deduped
│ │ ├── tar@6.1.0 deduped
│ │ ├── treeverse@1.0.4 deduped
│ │ └── walk-up-path@1.0.0
│ ├── @npmcli/ci-detect@1.3.0
│ ├─┬ @npmcli/config@2.0.0
│ │ ├── ini@2.0.0 deduped
│ │ ├── mkdirp-infer-owner@2.0.0 deduped
│ │ ├── nopt@5.0.0 deduped
│ │ ├── semver@7.3.5 deduped
│ │ └── walk-up-path@1.0.0 deduped
│ ├─┬ @npmcli/run-script@1.8.4
│ │ ├── @npmcli/node-gyp@1.0.2 deduped
│ │ ├─┬ @npmcli/promise-spawn@1.3.2
│ │ │ └── infer-owner@1.0.4 deduped
│ │ ├── infer-owner@1.0.4
│ │ ├── node-gyp@7.1.2 deduped
│ │ └── read-package-json-fast@2.0.2 deduped
│ ├── abbrev@1.1.1
│ ├── ansicolors@0.3.2
│ ├── ansistyles@0.1.3
│ ├── archy@1.0.0
│ ├── byte-size@7.0.1
│ ├─┬ cacache@15.0.6
│ │ ├── @npmcli/move-file@1.1.2 deduped
│ │ ├── chownr@2.0.0 deduped
│ │ ├─┬ fs-minipass@2.1.0
│ │ │ └── minipass@3.1.3 deduped
│ │ ├── glob@7.1.6 deduped
│ │ ├── infer-owner@1.0.4 deduped
│ │ ├─┬ lru-cache@6.0.0
│ │ │ └── yallist@4.0.0 deduped
│ │ ├─┬ minipass-collect@1.0.2
│ │ │ └── minipass@3.1.3 deduped
│ │ ├─┬ minipass-flush@1.0.5
│ │ │ └── minipass@3.1.3 deduped
│ │ ├── minipass-pipeline@1.2.4 deduped
│ │ ├── minipass@3.1.3 deduped
│ │ ├── mkdirp@1.0.4 deduped
│ │ ├─┬ p-map@4.0.0
│ │ │ └─┬ aggregate-error@3.1.0
│ │ │   ├── clean-stack@2.2.0
│ │ │   └── indent-string@4.0.0
│ │ ├── promise-inflight@1.0.1
│ │ ├── rimraf@3.0.2 deduped
│ │ ├── ssri@8.0.1 deduped
│ │ ├── tar@6.1.0 deduped
│ │ └─┬ unique-filename@1.1.1
│ │   └─┬ unique-slug@2.0.2
│ │     └── imurmurhash@0.1.4 deduped
│ ├─┬ chalk@4.1.0
│ │ ├─┬ ansi-styles@4.3.0
│ │ │ └─┬ color-convert@2.0.1
│ │ │   └── color-name@1.1.4
│ │ └─┬ supports-color@7.2.0
│ │   └── has-flag@4.0.0
│ ├── chownr@2.0.0
│ ├─┬ cli-columns@3.1.2
│ │ ├─┬ string-width@2.1.1
│ │ │ ├── is-fullwidth-code-point@2.0.0
│ │ │ └─┬ strip-ansi@4.0.0
│ │ │   └── ansi-regex@3.0.0
│ │ └─┬ strip-ansi@3.0.1
│ │   └── ansi-regex@2.1.1
│ ├─┬ cli-table3@0.6.0
│ │ ├── colors@1.4.0
│ │ ├── object-assign@4.1.1
│ │ └─┬ string-width@4.2.2
│ │   ├── emoji-regex@8.0.0
│ │   ├── is-fullwidth-code-point@3.0.0
│ │   └─┬ strip-ansi@6.0.0
│ │     └── ansi-regex@5.0.0
│ ├─┬ columnify@1.5.4
│ │ ├── strip-ansi@3.0.1 deduped
│ │ └─┬ wcwidth@1.0.1
│ │   └─┬ defaults@1.0.3
│ │     └── clone@1.0.4
│ ├─┬ glob@7.1.6
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ ├── once@1.4.0 deduped
│ │ │ └── wrappy@1.0.2
│ │ ├── inherits@2.0.4
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.11
│ │ │   ├── balanced-match@1.0.0
│ │ │   └── concat-map@0.0.1
│ │ ├─┬ once@1.4.0
│ │ │ └── wrappy@1.0.2 deduped
│ │ └── path-is-absolute@1.0.1
│ ├── graceful-fs@4.2.6
│ ├─┬ hosted-git-info@4.0.2
│ │ └── lru-cache@6.0.0 deduped
│ ├── ini@2.0.0
│ ├─┬ init-package-json@2.0.2
│ │ ├── glob@7.1.6 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ ├─┬ promzard@0.3.0
│ │ │ └── read@1.0.7 deduped
│ │ ├── read-package-json@3.0.1 deduped
│ │ ├── read@1.0.7 deduped
│ │ ├── semver@7.3.5 deduped
│ │ ├─┬ validate-npm-package-license@3.0.4
│ │ │ ├─┬ spdx-correct@3.1.1
│ │ │ │ ├── spdx-expression-parse@3.0.1 deduped
│ │ │ │ └── spdx-license-ids@3.0.7
│ │ │ └─┬ spdx-expression-parse@3.0.1
│ │ │   ├── spdx-exceptions@2.3.0
│ │ │   └── spdx-license-ids@3.0.7 deduped
│ │ └── validate-npm-package-name@3.0.0 deduped
│ ├─┬ is-cidr@4.0.2
│ │ └─┬ cidr-regex@3.1.1
│ │   └── ip-regex@4.3.0
│ ├── json-parse-even-better-errors@2.3.1
│ ├── leven@3.1.0
│ ├─┬ libnpmaccess@4.0.1
│ │ ├── aproba@2.0.0
│ │ ├── minipass@3.1.3 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ └── npm-registry-fetch@9.0.0 deduped
│ ├─┬ libnpmdiff@2.0.4
│ │ ├─┬ @npmcli/disparity-colors@1.0.1
│ │ │ └── ansi-styles@4.3.0 deduped
│ │ ├── @npmcli/installed-package-contents@1.0.7 deduped
│ │ ├── binary-extensions@2.2.0
│ │ ├── diff@5.0.0
│ │ ├── minimatch@3.0.4 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ ├── pacote@11.3.1 deduped
│ │ └── tar@6.1.0 deduped
│ ├─┬ libnpmfund@1.0.2
│ │ └── @npmcli/arborist@2.2.9 deduped
│ ├─┬ libnpmhook@6.0.1
│ │ ├── aproba@2.0.0 deduped
│ │ └── npm-registry-fetch@9.0.0 deduped
│ ├─┬ libnpmorg@2.0.1
│ │ ├── aproba@2.0.0 deduped
│ │ └── npm-registry-fetch@9.0.0 deduped
│ ├─┬ libnpmpack@2.0.1
│ │ ├── @npmcli/run-script@1.8.4 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ └── pacote@11.3.1 deduped
│ ├─┬ libnpmpublish@4.0.0
│ │ ├─┬ normalize-package-data@3.0.2
│ │ │ ├── hosted-git-info@4.0.2 deduped
│ │ │ ├─┬ resolve@1.20.0
│ │ │ │ ├─┬ is-core-module@2.2.0
│ │ │ │ │ └── has@1.0.3
│ │ │ │ └── path-parse@1.0.6
│ │ │ ├── semver@7.3.5 deduped
│ │ │ └── validate-npm-package-license@3.0.4 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ ├── npm-registry-fetch@9.0.0 deduped
│ │ ├── semver@7.3.5 deduped
│ │ └── ssri@8.0.1 deduped
│ ├─┬ libnpmsearch@3.1.0
│ │ └── npm-registry-fetch@9.0.0 deduped
│ ├─┬ libnpmteam@2.0.2
│ │ ├── aproba@2.0.0 deduped
│ │ └── npm-registry-fetch@9.0.0 deduped
│ ├─┬ libnpmversion@1.1.0
│ │ ├─┬ @npmcli/git@2.0.6
│ │ │ ├── @npmcli/promise-spawn@1.3.2 deduped
│ │ │ ├── lru-cache@6.0.0 deduped
│ │ │ ├── mkdirp@1.0.4 deduped
│ │ │ ├── npm-pick-manifest@6.1.1 deduped
│ │ │ ├── promise-inflight@1.0.1 deduped
│ │ │ ├── promise-retry@2.0.1 deduped
│ │ │ ├── semver@7.3.5 deduped
│ │ │ ├── unique-filename@1.1.1 deduped
│ │ │ └── which@2.0.2 deduped
│ │ ├── @npmcli/run-script@1.8.4 deduped
│ │ ├── json-parse-even-better-errors@2.3.1 deduped
│ │ ├── semver@7.3.5 deduped
│ │ └── stringify-package@1.0.1
│ ├─┬ make-fetch-happen@8.0.14
│ │ ├─┬ agentkeepalive@4.1.4
│ │ │ ├─┬ debug@4.3.1
│ │ │ │ └── ms@2.1.2
│ │ │ ├── depd@1.1.2
│ │ │ └─┬ humanize-ms@1.2.1
│ │ │   └── ms@2.1.3 deduped
│ │ ├── cacache@15.0.6 deduped
│ │ ├── http-cache-semantics@4.1.0
│ │ ├─┬ http-proxy-agent@4.0.1
│ │ │ ├── @tootallnate/once@1.1.2
│ │ │ ├─┬ agent-base@6.0.2
│ │ │ │ └── debug@4.3.1 deduped
│ │ │ └── debug@4.3.1 deduped
│ │ ├─┬ https-proxy-agent@5.0.0
│ │ │ ├── agent-base@6.0.2 deduped
│ │ │ └── debug@4.3.1 deduped
│ │ ├── is-lambda@1.0.1
│ │ ├── lru-cache@6.0.0 deduped
│ │ ├── minipass-collect@1.0.2 deduped
│ │ ├─┬ minipass-fetch@1.3.3
│ │ │ ├─┬ encoding@0.1.13
│ │ │ │ └─┬ iconv-lite@0.6.2
│ │ │ │   └── safer-buffer@2.1.2
│ │ │ ├─┬ minipass-sized@1.0.3
│ │ │ │ └── minipass@3.1.3 deduped
│ │ │ ├── minipass@3.1.3 deduped
│ │ │ └── minizlib@2.1.2 deduped
│ │ ├── minipass-flush@1.0.5 deduped
│ │ ├── minipass-pipeline@1.2.4 deduped
│ │ ├── minipass@3.1.3 deduped
│ │ ├─┬ promise-retry@2.0.1
│ │ │ ├── err-code@2.0.3
│ │ │ └── retry@0.12.0
│ │ ├─┬ socks-proxy-agent@5.0.0
│ │ │ ├── agent-base@6.0.2 deduped
│ │ │ ├── debug@4.3.1 deduped
│ │ │ └─┬ socks@2.6.0
│ │ │   ├── ip@1.1.5
│ │ │   └── smart-buffer@4.1.0
│ │ └── ssri@8.0.1 deduped
│ ├─┬ minipass-pipeline@1.2.4
│ │ └── minipass@3.1.3 deduped
│ ├─┬ minipass@3.1.3
│ │ └── yallist@4.0.0
│ ├─┬ mkdirp-infer-owner@2.0.0
│ │ ├── chownr@2.0.0 deduped
│ │ ├── infer-owner@1.0.4 deduped
│ │ └── mkdirp@1.0.4 deduped
│ ├── mkdirp@1.0.4
│ ├── ms@2.1.3
│ ├─┬ node-gyp@7.1.2
│ │ ├── env-paths@2.2.1
│ │ ├── glob@7.1.6 deduped
│ │ ├── graceful-fs@4.2.6 deduped
│ │ ├── nopt@5.0.0 deduped
│ │ ├── npmlog@4.1.2 deduped
│ │ ├─┬ request@2.88.2
│ │ │ ├── aws-sign2@0.7.0
│ │ │ ├── aws4@1.11.0
│ │ │ ├── caseless@0.12.0
│ │ │ ├─┬ combined-stream@1.0.8
│ │ │ │ └── delayed-stream@1.0.0
│ │ │ ├── extend@3.0.2
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@2.3.3
│ │ │ │ ├── asynckit@0.4.0
│ │ │ │ ├── combined-stream@1.0.8 deduped
│ │ │ │ └── mime-types@2.1.29 deduped
│ │ │ ├─┬ har-validator@5.1.5
│ │ │ │ ├─┬ ajv@6.12.6
│ │ │ │ │ ├── fast-deep-equal@3.1.3
│ │ │ │ │ ├── fast-json-stable-stringify@2.1.0
│ │ │ │ │ ├── json-schema-traverse@0.4.1
│ │ │ │ │ └── uri-js@4.4.1
│ │ │ │ └── har-schema@2.0.0
│ │ │ ├─┬ http-signature@1.2.0
│ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ ├─┬ jsprim@1.4.1
│ │ │ │ │ ├── assert-plus@1.0.0 deduped
│ │ │ │ │ ├── extsprintf@1.3.0
│ │ │ │ │ ├── json-schema@0.2.3
│ │ │ │ │ └── verror@1.10.0
│ │ │ │ └─┬ sshpk@1.16.1
│ │ │ │   ├── asn1@0.2.4
│ │ │ │   ├── assert-plus@1.0.0 deduped
│ │ │ │   ├── bcrypt-pbkdf@1.0.2
│ │ │ │   ├── dashdash@1.14.1
│ │ │ │   ├── ecc-jsbn@0.1.2
│ │ │ │   ├── getpass@0.1.7
│ │ │ │   ├── jsbn@0.1.1
│ │ │ │   ├── safer-buffer@2.1.2 deduped
│ │ │ │   └── tweetnacl@0.14.5
│ │ │ ├── is-typedarray@1.0.0 deduped
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├─┬ mime-types@2.1.29
│ │ │ │ └── mime-db@1.46.0
│ │ │ ├── oauth-sign@0.9.0
│ │ │ ├── performance-now@2.1.0
│ │ │ ├── qs@6.5.2
│ │ │ ├── safe-buffer@5.1.2
│ │ │ ├─┬ tough-cookie@2.5.0
│ │ │ │ ├── psl@1.8.0
│ │ │ │ └── punycode@2.1.1
│ │ │ ├─┬ tunnel-agent@0.6.0
│ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ └── uuid@3.4.0
│ │ ├── rimraf@3.0.2 deduped
│ │ ├── semver@7.3.5 deduped
│ │ ├── tar@6.1.0 deduped
│ │ └── which@2.0.2 deduped
│ ├─┬ nopt@5.0.0
│ │ └── abbrev@1.1.1 deduped
│ ├─┬ npm-audit-report@2.1.4
│ │ └── chalk@4.1.0 deduped
│ ├─┬ npm-package-arg@8.1.2
│ │ ├── hosted-git-info@4.0.2 deduped
│ │ ├── semver@7.3.5 deduped
│ │ └── validate-npm-package-name@3.0.0 deduped
│ ├─┬ npm-pick-manifest@6.1.1
│ │ ├── npm-install-checks@4.0.0 deduped
│ │ ├── npm-normalize-package-bin@1.0.1
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ └── semver@7.3.5 deduped
│ ├─┬ npm-profile@5.0.2
│ │ └── npm-registry-fetch@9.0.0 deduped
│ ├─┬ npm-registry-fetch@9.0.0
│ │ ├── @npmcli/ci-detect@1.3.0 deduped
│ │ ├── lru-cache@6.0.0 deduped
│ │ ├── make-fetch-happen@8.0.14 deduped
│ │ ├── minipass-fetch@1.3.3 deduped
│ │ ├─┬ minipass-json-stream@1.0.1
│ │ │ ├── jsonparse@1.3.1
│ │ │ └── minipass@3.1.3 deduped
│ │ ├── minipass@3.1.3 deduped
│ │ ├─┬ minizlib@2.1.2
│ │ │ ├── minipass@3.1.3 deduped
│ │ │ └── yallist@4.0.0 deduped
│ │ └── npm-package-arg@8.1.2 deduped
│ ├── npm-user-validate@1.0.1
│ ├─┬ npmlog@4.1.2
│ │ ├─┬ are-we-there-yet@1.1.5
│ │ │ ├── delegates@1.0.0
│ │ │ └─┬ readable-stream@2.3.7
│ │ │   ├── core-util-is@1.0.2
│ │ │   ├── inherits@2.0.4 deduped
│ │ │   ├── isarray@1.0.0
│ │ │   ├── process-nextick-args@2.0.1
│ │ │   ├── safe-buffer@5.1.2 deduped
│ │ │   ├─┬ string_decoder@1.1.1
│ │ │   │ └── safe-buffer@5.1.2 deduped
│ │ │   └── util-deprecate@1.0.2
│ │ ├── console-control-strings@1.1.0
│ │ ├─┬ gauge@2.7.4
│ │ │ ├── aproba@1.2.0
│ │ │ ├── console-control-strings@1.1.0 deduped
│ │ │ ├── has-unicode@2.0.1
│ │ │ ├── object-assign@4.1.1 deduped
│ │ │ ├── signal-exit@3.0.3 deduped
│ │ │ ├─┬ string-width@1.0.2
│ │ │ │ ├── code-point-at@1.1.0
│ │ │ │ ├─┬ is-fullwidth-code-point@1.0.0
│ │ │ │ │ └── number-is-nan@1.0.1
│ │ │ │ └── strip-ansi@3.0.1 deduped
│ │ │ ├── strip-ansi@3.0.1 deduped
│ │ │ └─┬ wide-align@1.1.3
│ │ │   └── string-width@2.1.1 deduped
│ │ └── set-blocking@2.0.0
│ ├── opener@1.5.2
│ ├─┬ pacote@11.3.1
│ │ ├── @npmcli/git@2.0.6 deduped
│ │ ├── @npmcli/installed-package-contents@1.0.7 deduped
│ │ ├── @npmcli/promise-spawn@1.3.2 deduped
│ │ ├── @npmcli/run-script@1.8.4 deduped
│ │ ├── cacache@15.0.6 deduped
│ │ ├── chownr@2.0.0 deduped
│ │ ├── fs-minipass@2.1.0 deduped
│ │ ├── infer-owner@1.0.4 deduped
│ │ ├── minipass@3.1.3 deduped
│ │ ├── mkdirp@1.0.4 deduped
│ │ ├── npm-package-arg@8.1.2 deduped
│ │ ├─┬ npm-packlist@2.1.5
│ │ │ ├── glob@7.1.6 deduped
│ │ │ ├─┬ ignore-walk@3.0.3
│ │ │ │ └── minimatch@3.0.4 deduped
│ │ │ ├── npm-bundled@1.1.1 deduped
│ │ │ └── npm-normalize-package-bin@1.0.1 deduped
│ │ ├── npm-pick-manifest@6.1.1 deduped
│ │ ├── npm-registry-fetch@9.0.0 deduped
│ │ ├── promise-retry@2.0.1 deduped
│ │ ├── read-package-json-fast@2.0.2 deduped
│ │ ├── rimraf@3.0.2 deduped
│ │ ├── ssri@8.0.1 deduped
│ │ └── tar@6.1.0 deduped
│ ├─┬ parse-conflict-json@1.1.1
│ │ ├── json-parse-even-better-errors@2.3.1 deduped
│ │ ├── just-diff-apply@3.0.0
│ │ └── just-diff@3.0.2
│ ├── qrcode-terminal@0.12.0
│ ├─┬ read-package-json-fast@2.0.2
│ │ ├── json-parse-even-better-errors@2.3.1 deduped
│ │ └── npm-normalize-package-bin@1.0.1 deduped
│ ├─┬ read-package-json@3.0.1
│ │ ├── glob@7.1.6 deduped
│ │ ├── json-parse-even-better-errors@2.3.1 deduped
│ │ ├── normalize-package-data@3.0.2 deduped
│ │ └── npm-normalize-package-bin@1.0.1 deduped
│ ├─┬ read@1.0.7
│ │ └── mute-stream@0.0.8
│ ├─┬ readdir-scoped-modules@1.1.0
│ │ ├── debuglog@1.0.1
│ │ ├─┬ dezalgo@1.0.3
│ │ │ ├── asap@2.0.6
│ │ │ └── wrappy@1.0.2 deduped
│ │ ├── graceful-fs@4.2.6 deduped
│ │ └── once@1.4.0 deduped
│ ├─┬ rimraf@3.0.2
│ │ └── glob@7.1.6 deduped
│ ├─┬ semver@7.3.5
│ │ └── lru-cache@6.0.0 deduped
│ ├─┬ ssri@8.0.1
│ │ └── minipass@3.1.3 deduped
│ ├─┬ tar@6.1.0
│ │ ├── chownr@2.0.0 deduped
│ │ ├── fs-minipass@2.1.0 deduped
│ │ ├── minipass@3.1.3 deduped
│ │ ├── minizlib@2.1.2 deduped
│ │ ├── mkdirp@1.0.4 deduped
│ │ └── yallist@4.0.0 deduped
│ ├── text-table@0.2.0
│ ├── tiny-relative-date@1.3.0
│ ├── treeverse@1.0.4
│ ├─┬ validate-npm-package-name@3.0.0
│ │ └── builtins@1.0.3
│ ├─┬ which@2.0.2
│ │ └── isexe@2.0.0
│ └─┬ write-file-atomic@3.0.3
│   ├── imurmurhash@0.1.4
│   ├── is-typedarray@1.0.0
│   ├── signal-exit@3.0.3
│   └─┬ typedarray-to-buffer@3.1.5
│     └── is-typedarray@1.0.0 deduped
├─┬ rimraf@3.0.2
│ └─┬ glob@7.1.6
│   ├── fs.realpath@1.0.0
│   ├─┬ inflight@1.0.6
│   │ ├── once@1.4.0 deduped
│   │ └── wrappy@1.0.2
│   ├── inherits@2.0.4
│   ├─┬ minimatch@3.0.4
│   │ └─┬ brace-expansion@1.1.11
│   │   ├── balanced-match@1.0.2
│   │   └── concat-map@0.0.1
│   ├─┬ once@1.4.0
│   │ └── wrappy@1.0.2 deduped
│   └── path-is-absolute@1.0.1
├─┬ vbb-find-stations@3.0.1
│ ├─┬ vbb-stations-autocomplete@4.3.1
│ │ ├─┬ synchronous-autocomplete@2.3.0
│ │ │ ├── hifo@1.0.0
│ │ │ ├── leven@3.1.0
│ │ │ └─┬ protocol-buffers-encodings@1.1.1
│ │ │   ├─┬ signed-varint@2.0.1
│ │ │   │ └── varint@5.0.0 deduped
│ │ │   └── varint@5.0.0
│ │ └─┬ vbb-tokenize-station@0.3.0
│ │   └── normalize-for-search@2.1.0
│ └─┬ vbb-stations@7.3.1
│   └── lodash.get@4.4.2
├─┬ vbb-graph@0.29.0
│ └── semver@5.7.1
└─┬ vbb-stations@7.3.1
  └── lodash.get@4.4.2
derhuerst commented 3 years ago

Ah, generate-vbb-graph still uses vbb-stations@^6, whereas vbb-stations@7.3.1 is the latest. I will fix it.

edit: and merged-vbb-stations@^1

derhuerst commented 3 years ago

Published an updated version generate-vbb-graph@2.0.0 with updated dependencies. Thanks for reporting!

Dabendorf commented 3 years ago

Wonderful! It actually works, thank you for your effort and thank you for letting me be part. I will try to keep the packages you gave me access to up to date. Thanks for making public transport accessible. screenshot

The photo shows the new updated photo of Berlin public transport including the BER from my train-coloureur project (https://github.com/Dabendorf/Dabendorf-Traincoloureur)