Socket
Socket
Sign inDemoInstall

@stepzen/fetch

Package Overview
Dependencies
2
Maintainers
8
Versions
142
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @stepzen/fetch

StepZen implementation of the fetch() API for NodeJS


Version published
Maintainers
8
Install size
535 kB
Created

Readme

Source

@stepzen/fetch

StepZen wrapper for the node-fetch npm package that implements the fetch() API for NodeJS.

The main reason to create this wrapper is create a workaround for an issue affecting a small part of StepZen CLI users where some CLI calls would stall due to an incorrectly terminated TCP transmission. See https://github.com/steprz/stepzen-cli/issues/934 for more details.

This package would be obsolete either when the ISP issue with TCP configuration is fixed, or when the CLI can assume it runs on NodeJS 19 or newer. In Node 19 the default http(s) agent config changes to add the Connection: keep-alive HTTP header, and that seems to prevent the issue.

FAQs

Last updated on 20 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc