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

@whatwg-node/node-fetch

Package Overview
Dependencies
Maintainers
1
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/node-fetch - npm Package Compare versions

Comparing version 0.5.13 to 0.5.14-alpha-20240724164605-68168d4c7410c581e44e67ad3c6a1f34683ac280

3

cjs/fetchNodeHttp.js

@@ -33,2 +33,5 @@ "use strict";

const nodeHeaders = headersSerializer(fetchRequest.headers);
if (nodeHeaders['accept-encoding'] == null) {
nodeHeaders['accept-encoding'] = 'gzip, deflate, br';
}
const nodeRequest = requestFn(fetchRequest.url, {

@@ -35,0 +38,0 @@ method: fetchRequest.method,

@@ -30,2 +30,5 @@ import { request as httpRequest } from 'http';

const nodeHeaders = headersSerializer(fetchRequest.headers);
if (nodeHeaders['accept-encoding'] == null) {
nodeHeaders['accept-encoding'] = 'gzip, deflate, br';
}
const nodeRequest = requestFn(fetchRequest.url, {

@@ -32,0 +35,0 @@ method: fetchRequest.method,

2

package.json
{
"name": "@whatwg-node/node-fetch",
"version": "0.5.13",
"version": "0.5.14-alpha-20240724164605-68168d4c7410c581e44e67ad3c6a1f34683ac280",
"description": "Fetch API implementation for Node",

@@ -5,0 +5,0 @@ "sideEffects": false,

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