TerriaJS / terriajs-server

NodeJS server for TerriaJS, consisting of a CORS proxy, proj4 CRS lookup service, ogr2ogr conversion service, and express static server.
Other
49 stars 39 forks source link

Replace request with got #169

Open pjonsson opened 4 months ago

pjonsson commented 4 months ago

This replaces the deprecated requests library with the got library.

Unfortunately got 14.x is required for permitting followRedirect to be a function, and got 14.x requires Node 20.

pjonsson commented 4 months ago

After running yarn upgrade on top of this pull request, yarn audit reports 1 vulnerability which is rate limiting bypass in express-brute, and that vulnerability should be fixed by #162.