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-20241125124758-22623cd8c312a8c35092a436e5a2c631dd52f59d to 0.7.4-alpha-20241125125556-f6d4dd923d74499ecd7ef790e4704bf3bffd1892

2

cjs/fetchNodeHttp.js

@@ -87,3 +87,3 @@ "use strict";

if (fetchRequest.redirect === 'follow') {
const redirectedUrl = new URL_js_1.PonyfillURL(nodeResponse.headers.location, fetchRequest.parsedUrl || fetchRequest.url);
const redirectedUrl = new URL_js_1.PonyfillURL(nodeResponse.headers.location, fetchRequest.url);
const redirectResponse$ = fetchNodeHttp(new Request_js_1.PonyfillRequest(redirectedUrl, fetchRequest));

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

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

if (fetchRequest.redirect === 'follow') {
const redirectedUrl = new PonyfillURL(nodeResponse.headers.location, fetchRequest.parsedUrl || fetchRequest.url);
const redirectedUrl = new PonyfillURL(nodeResponse.headers.location, fetchRequest.url);
const redirectResponse$ = fetchNodeHttp(new PonyfillRequest(redirectedUrl, fetchRequest));

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

{
"name": "@whatwg-node/node-fetch",
"version": "0.7.4-alpha-20241125124758-22623cd8c312a8c35092a436e5a2c631dd52f59d",
"version": "0.7.4-alpha-20241125125556-f6d4dd923d74499ecd7ef790e4704bf3bffd1892",
"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