Http-proxy-agent version 4.0.0 introduces notable improvements and updates compared to the previous stable version 3.0.0, impacting developers utilizing the package for HTTP(S) proxying. A key difference lies in the updated dependency on agent-base, moving from version 5 to version 6, potentially bringing performance enhancements and bug fixes from that underlying library. Significantly, version 4.0.0 embraces a modern development workflow including TypeScript and related tooling.
This is evident in the addition of numerous devDependencies: @types/node, various @typescript-eslint packages, eslint along with Airbnb and Prettier configurations, eslint-import-resolver-typescript, and the typescript compiler itself. Developers leveraging TypeScript will find this version much easier to integrate into their projects, benefiting from type safety and improved code maintainability. The introduction of linting rules with ESLint ensures code quality and consistency.
Furthermore, the testing framework has been updated to mocha version 6 from version 3, likely bringing newer testing features and better performance. The package size has substantially increased in version 4.0.0, with an unpacked size of 15444 compared to 7162 in version 3.0.0, reflecting the inclusion of TypeScript-related development dependencies. The release date indicates a substantial development effort focused on modernization and code quality. If you aren't developing with Typescript, you should evaluate the tradeoff of the increased package size with the updated agent-base dependency.
The are not vulnerabilities for the version 4.0.0 of the package http-proxy-agent