You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fetch-http2

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-http2 - npm Package Versions

2

1.5.0

Diff
a
andrewbarba
published 1.5.0 •
a
andrewbarba
published 1.4.0 •

Changelog

Source

1.4.0

  • Add support for keepAlive: false which will not cache client instances and close them on each request
  • Expose res.close() to close the underlying request/response
  • Expose res.destroy() the destroy the underlying request/response and the underlying http client
a
andrewbarba
published 1.3.0 •

Changelog

Source

1.3.0

  • New strongly typed timeout error
  • Properly implement request timeouts
  • Convert lint to Biome
a
andrewbarba
published 1.2.1 •

Changelog

Source

1.2.1

  • Fix potential race condition when sending a request
  • Convert test suite to vitest
  • Fix types on node.js v20
a
andrewbarba
published 1.1.0 •

Changelog

Source

1.1.0

  • Return statusText
a
andrewbarba
published 1.0.5 •

Changelog

Source

1.0.5

  • Support Node.js 16.x
a
andrewbarba
published 1.0.4 •

Changelog

Source

1.0.4

  • Default keepAlive of 20s
  • Fix logic when passing keepAlive: false
a
andrewbarba
published 1.0.3 •

Changelog

Source

1.0.3

  • Default keepAlive of 5s
a
andrewbarba
published 1.0.2 •

Changelog

Source

1.0.2

  • Fix type of response headers
a
andrewbarba
published 1.0.1 •

Changelog

Source

1.0.1

  • Initial Release
2