axios-cached-dns-resolve
axios-cached-dns-resolve copied to clipboard
Uses async dns.resolve instead of synchronous dns.lookup, optional cache, and periodic background refreshing
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0. Release notes Sourced from axios's releases. Release v1.6.0 Release notes: Bug Fixes CSRF: fixed CSRF vulnerability CVE-2023-45857 (#6028) (96ee232) dns: fixed lookup function decorator...
I noticed the default cache size is 100. What's the rationale there? Shouldn't this be able to potentially hold thousands of entries without any notable impact on memory? https://github.com/tcollinsworth/axios-cached-dns-resolve/blob/e5d90cf3e024f80e3e19a9e6a5555653f9000898/axios-cached-dns-resolve.js#L19 Separately,...
when used in electron, emits error TypeError: logger.isLevelEnabled is not a function, seems pino logger in electron not has this method may be should remove : if (log.isLevelEnabled('debug')) , because...
Hi, Would you be open to supporting linux host files as part of this? It would be great to extend this to support host files which is missing from `dns.resolve`....
Is this library fully supported in TypeScript? If I try to import in any .ts file: `import { registerInterceptor } from "axios-cached-dns-resolve";` An error is returned similar to: ``` /path/to/my/repo/node_modules/axios-cached-dns-resolve/index.js:1...