Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-client

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-client - npm Package Versions

23

4.3.1

Diff

mjackson
published 4.3.0 •

Changelog

Source

[v4.3.0]

Sep 30, 2016

  • Rename onResponse to recv and enhanceFetch to enableRecv. This makes the association more clear.
  • Deprecated redundant top-level fetch export. Use the global fetch function directly instead.
  • Added debug middleware, deprecated requestInfo.
mjackson
published 4.2.0 •

Changelog

Source

[v4.2.0]

Sep 29, 2016

  • Add parse(parser) middleware that puts the result of the parse in response.body
  • Deprecated parseJSON, use parse('json') instead
  • Deprecated parseText, use parse('text') instead
  • Build everything into the package root
mjackson
published 4.1.1 •

mjackson
published 4.1.0 •

Changelog

Source

[v4.1.0]

Jun 16, 2016

  • Fixed Content-Length header for non-ASCII content bodies (see [#8])
mjackson
published 4.0.1 •

Changelog

Source

[v4.0.1]

May 18, 2016

  • Renamed handleResponse to onResponse
  • Fixed logic error with response handlers
mjackson
published 4.0.0 •

Changelog

Source

[v4.0.0]

Apr 28, 2015

  • Updated docs
mjackson
published 4.0.0-0 •

Changelog

Source

[v4.0.0-0]

Apr 27, 2016

  • handleResponse runs response handlers top to bottom, just like Express
  • Added options.responseHandlers array to specify an array of transforms to run on the response after it is received
  • Added enhanceFetch to top-level exports for adding options.responseHandlers support to an arbitrary fetch function
  • Added options.fetch to fetch functions created using createFetch so users can swap out usage of the "global" fetch function, which makes testing easier
  • Removed callback API to preserve fetch method signature
mjackson
published 3.1.0 •

Changelog

Source

[v3.1.0]

Mar 28, 2016

  • Added the init middleware
mjackson
published 3.0.1 •

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