[istanbul](https://www.npmjs.com/package/istanbul) and
[escodegen](https://www.npmjs.com/package/escodegen) have optional
dependencies, which for some reason `npm ls` in npm version 3 fails to
handle properly. We don't need these packages, but installing them does
little harm so it seems to be the best way to make our precommit-hook
scripts pass for all users.
OSM data includes two almost identical 'Keskustori, Tampere' entries.
The second one does not have additional 'name.ru' property. This is
no longer considered as a difference in deduping.
For when we have multiple active API versions, we have code to redirect
from one running API server to another. Right now, we've disabled the
beta/legacy API server and haven't released a V2 yet, so we currently
have no proxying configured.
Right now the default with no configuration is to simply return an
error. However that means that request to http://search.mapzen.com/
return that unfriendly error. We have a nice friendly /v1 page, so in
the case of no proxy being set up, it makes sense to redirect to that.
This moves things around to be a bit more organized:
* Puts our standard header with links to pelias/pelias, Mapzen Search,
etc first
* moves the badges together
* The link to the documentation was going to a silly page that just
linked to another page, so it's a direct link now.
* Adds a small description sentence
peliasAdmin was supposed to be a parameter to the multi match view, but
instead it was being sent to the score view and ignored.
Thanks to @trescube for catching this.
This module has helper methods for logging. Currently it has methods to:
* detect if DNT is enabled
* remove sensitive information from input fields for logging
According to the NPM docs on [engine](https://docs.npmjs.com/files/package.json#engines),
this specification was only ever advisory, and is now depricated. It
seems to cause NPM to pull in a very old version of NPM, which causes
warnings when installing dependencies.