NYCPlanning / labs-search-api

Typeahead search API that returns addresses and POI from mapzen, lots, zoning changes, etc
Other
3 stars 0 forks source link

Task/13465 node 18 #72

Closed TylerMatteo closed 1 year ago

TylerMatteo commented 1 year ago

This PR's main purpose is upgrading Search API to run on Node v18, in preparation for 16 going end of life in September 2023. Additionally, I made a few other changes for quality of life and refactoring out dependencies that are no longer maintained:

Note about city-map-alteration and city-map-street-search helpers

In the process of trying to refactor these helpers, I realized that they have not been working because the column names in the query don't exist in the table it is querying. These helpers are only used in Streets, so I'll make another PR there to disable them. It looks like the table being queried was changed in this PR but it's not clear if these queries worked when that change was first made. In any case, we will have to investigate to get these helpers working again.