Replace request module with Axios
The request module has officially been deprecated.
We need to switch to something else that will be supported long term. Currently thinking that Axios is the best option, in close competition with node-fetch. For now we'll move forward with the Axios plan.
SC.getStream usages:
- blacklight-core/lib/img-opt/img-opt.js (line #449)
- fshr/shared/apps/routes.js (line #41, #89)
- fshr/collections/apps/routes/tools/mgu-641-me-olapic-config/client/parse-spreadsheet/parse-spreadsheet.js (line #23)
- fshr/collections/apps/routes/tools/group-values-upload/client/parse-spreadsheet/parse-spreadsheet.js (line #44)
Note: in both collections scripts, appears to be called but the stream is not actually used.
Edited by Cory Bryant