https-proxy-agent version 4.0.0 introduces notable changes compared to its predecessor, version 3.0.1, impacting developers utilizing the package for HTTPS proxying. A primary difference lies in the dependency versions. Version 4.0.0 upgrades the "debug" dependency to version "4" and "agent-base" to version "5," while version 3.0.1 relied on "^3.1.0" and "^4.3.0" respectively. This suggests potential updates in logging and core agent functionalities, which may lead to improved debugging capabilities and potentially altered behavior related to agent management.
For developers, this dependency upgrade is critical, they will need to ensure compatibility with their existing projects. The "mocha" dependency, used for testing, sees no significant change in the major version, remaining in the "6" range for both versions, suggesting a stable testing environment. The core functionality, described as an HTTP(s) proxy http.Agent implementation for HTTPS remains consistent in both versions. The dist object reveals a slightly smaller unpacked size for version 4.0.0 (16902 bytes) compared to version 3.0.1 (16947 bytes), possibly indicating minor optimizations or refactoring. The release dates also provide context. Version 4.0.0 was released on December 10, 2019, after version 3.0.1 released on October 23, 2019, a relatively short period between versions, suggesting targeted improvements or bug fixes prompted this new release. The library is MIT licensed and maintained on GitHub, granting developers flexibility for usage and contribution.
The are not vulnerabilities for the version 4.0.0 of the package https-proxy-agent