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
548
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.7.4-alpha-20241125134618-c16c2cc24251a5902f85c9dcc0ecdd373f7568ff to 0.7.4-alpha-20241125135107-f57895e3cc8e9724899983c32c8b503cbd283558

1

cjs/fetchNodeHttp.js

@@ -90,3 +90,2 @@ "use strict";

const redirectedUrl = new URL_js_1.PonyfillURL(nodeResponse.headers.location, fetchRequest.parsedUrl || fetchRequest.url);
console.log('Redirecting to', nodeResponse.headers.location, redirectedUrl.toString());
const redirectResponse$ = fetchNodeHttp(new Request_js_1.PonyfillRequest(redirectedUrl, fetchRequest));

@@ -93,0 +92,0 @@ resolve(redirectResponse$.then(redirectResponse => {

@@ -87,3 +87,2 @@ import { request as httpRequest } from 'http';

const redirectedUrl = new PonyfillURL(nodeResponse.headers.location, fetchRequest.parsedUrl || fetchRequest.url);
console.log('Redirecting to', nodeResponse.headers.location, redirectedUrl.toString());
const redirectResponse$ = fetchNodeHttp(new PonyfillRequest(redirectedUrl, fetchRequest));

@@ -90,0 +89,0 @@ resolve(redirectResponse$.then(redirectResponse => {

2

package.json
{
"name": "@whatwg-node/node-fetch",
"version": "0.7.4-alpha-20241125134618-c16c2cc24251a5902f85c9dcc0ecdd373f7568ff",
"version": "0.7.4-alpha-20241125135107-f57895e3cc8e9724899983c32c8b503cbd283558",
"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