consumerfinance.gov icon indicating copy to clipboard operation
consumerfinance.gov copied to clipboard

ROUT: update jsonp-p to use fetch

Open anselmbradford opened this issue 2 years ago • 1 comments

https://github.com/cfpb/consumerfinance.gov/blob/main/cfgov/unprocessed/apps/rural-or-underserved-tool/js/call-census.js#L1 and https://github.com/cfpb/consumerfinance.gov/blob/main/cfgov/unprocessed/apps/rural-or-underserved-tool/js/call-tiger.js#L1 uses a 6 year old package jsonp-p https://www.npmjs.com/package/jsonp-p

I would imagine this could be updated to use a native fetch call and the dependency could be tossed.

anselmbradford avatar Dec 02 '22 22:12 anselmbradford