Node-fetch is a lightweight module, ideal for developers seeking to bring the window.fetch API, familiar from browsers, to Node.js environments. Versions 1.7.2 and 1.7.3 share the same core functionality, providing a simple and consistent way to make HTTP requests. Both versions list "encoding" and "is-stream" as dependencies ensuring robust handling of various data encodings and stream processing.
The primary difference between the two versions resides in their release dates and potentially very minor internal fixes or optimizations not explicitly detailed in the metadata. Version 1.7.3 was released on September 8, 2017, roughly a month after version 1.7.2, released August 8, 2017. Developers upgrading from 1.7.2 to 1.7.3 would likely experience the same API and feature set.
For developers using Node-fetch, the consistent API across these versions provides stability. Key features include easy request creation, handling various HTTP methods (GET, POST, PUT, DELETE, etc.), and processing responses with promises. The library's development dependencies, such as Bluebird, Chai, and Mocha indicate a focus on code quality and thorough testing, giving developers confidence in its reliability.
All the vulnerabilities related to the version 1.7.3 of the package
node-fetch forwards secure headers to untrusted sites
node-fetch forwards secure headers such as authorization
, www-authenticate
, cookie
, & cookie2
when redirecting to a untrusted site.