@whatwg-node/node-fetch
Advanced tools
Comparing version 0.7.4-alpha-20241125134618-c16c2cc24251a5902f85c9dcc0ecdd373f7568ff to 0.7.4-alpha-20241125135107-f57895e3cc8e9724899983c32c8b503cbd283558
@@ -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 => { |
{ | ||
"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, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
230220
5931