New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

electron-fetch

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-fetch - npm Package Versions

13

1.7.1

Diff

Changelog

Source

V1.7.1

  • Fix type declaration of signal parameter
arantes
published 1.7.0 •

Changelog

Source

V1.7.0

  • Add AbortController support (thanks @Informatic)
  • Update all dependencies
arantes
published 1.6.0 •

Changelog

Source

v1.6.0

  • Enhance: added res.buffer() api for convenience, it returns body as a Node.js buffer
  • Enhance: better old server support by handling raw deflate response
  • Enhance: skip encoding detection for non-HTML/XML response
  • Enhance: minor document update
  • Fix: HEAD request doesn't need decompression, as body is empty
  • Fix: req.body now accepts a Node.js buffer
arantes
published 1.5.0 •

Changelog

Source

v1.5.0

  • Enhance: rejected promise now use custom Error (thx to @pekeler)
  • Enhance: FetchError contains err.type and err.code, allows for better error handling (thx to @pekeler)
  • Enhance: basic support for redirect mode manual and error, allows for location header extraction (thx to @jimmywarting for the initial PR)
arantes
published 1.4.0 •

Changelog

Source

v1.4.0

  • Enhance: Request and Response now have clone method (thx to @kirill-konshin for the initial PR)
  • Enhance: Request and Response now have proper string and buffer body support (thx to @kirill-konshin)
  • Enhance: Body constructor has been refactored out (thx to @kirill-konshin)
  • Enhance: Headers now has forEach method (thx to @tricoder42)
  • Enhance: back to 100% code coverage
  • Fix: better form-data support (thx to @item4)
  • Fix: better character encoding detection under chunked encoding (thx to @dsuket for the initial PR)
arantes
published 1.3.0 •

Changelog

Source

v1.3.0

  • Enhance: now fetch.Request is exposed as well
arantes
published 1.2.1 •

Changelog

Source

v1.2.1

  • Enhance: Headers now normalized Number value to String, prevent common mistakes
arantes
published 1.2.0 •

Changelog

Source

v1.2.0

  • Enhance: now fetch.Headers and fetch.Response are exposed, making testing easier
arantes
published 1.1.0 •

Changelog

Source

v1.1.0

  • Enhance: timeout now also applies to response body (in case of slow response)
  • Fix: timeout is now cleared properly when fetch is done/has failed
arantes
published 1.0.0 •

Changelog

Source

v1.0.0

First electron-fetch version

  • Made everything compatible with Electron's net module.
  • Removed node-fetch specific options agent and compress.
  • Added electron-specific option session.

node-fetch 2.x release (base of fork)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc