import { Options } from 'got-cjs' ; export function insecureParserHook ( options ) { if ( options . context . insecureHTTPParser !== undefined ) { options . _unixOptions = { ... options . _unixOptions , insecureHTTPParser : options . context . insecureHTTPParser , } ; } }