Node-fetch is a lightweight module that brings the window.fetch API, familiar to browser-based JavaScript developers, to Node.js and io.js environments. Version 1.7.0 builds upon the foundation laid by version 1.6.3, offering developers an updated and potentially improved experience for making HTTP requests. Examining the differences reveals subtle shifts in the development landscape.
Both versions share core dependencies like encoding and is-stream, essential for handling data encoding and stream processing, respectively. However, notable changes appear in the devDependencies. Version 1.7.0 replaces coveralls with codecov, suggesting a shift in code coverage reporting tools. This may indicate a preference for Codecov's features or integration capabilities. The core functionality and API exposed to developers remain consistent, focusing on providing a simple-to-use fetch API for server-side JavaScript. Developers upgrading should ensure their testing and continuous integration pipelines are compatible with Codecov if they rely on code coverage metrics. The update doesn't include any breaking changes, so the migration should be seamless. Both versions come with an MIT license, offering developers the freedom to use and modify the library as needed. They depend on libraries that are considered stable and used actively on the Javascript ecosystem.
All the vulnerabilities related to the version 1.7.0 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.