@whatwg-node/node-fetch
Advanced tools
Comparing version 0.7.6-alpha-20241227121459-e60dc5d611e0b845e709212dd1314922eb1935ca to 0.7.6-alpha-20241227121605-8911b685bebd9f2198f82c42c90726a4d70a56d7
@@ -26,2 +26,4 @@ "use strict"; | ||
} | ||
// `fast-url-parser` incorrectly handle URLs with ports without pathnames correctly like | ||
// `http://localhost:8080?foo=bar` -> `http://localhost/:8080?foo=bar` | ||
if (url.includes(`${this.hostname}:`) && !this.port && this.pathname.startsWith('/:')) { | ||
@@ -28,0 +30,0 @@ this.port = this.pathname.slice(2); |
@@ -22,2 +22,4 @@ import { resolveObjectURL } from 'buffer'; | ||
} | ||
// `fast-url-parser` incorrectly handle URLs with ports without pathnames correctly like | ||
// `http://localhost:8080?foo=bar` -> `http://localhost/:8080?foo=bar` | ||
if (url.includes(`${this.hostname}:`) && !this.port && this.pathname.startsWith('/:')) { | ||
@@ -24,0 +26,0 @@ this.port = this.pathname.slice(2); |
{ | ||
"name": "@whatwg-node/node-fetch", | ||
"version": "0.7.6-alpha-20241227121459-e60dc5d611e0b845e709212dd1314922eb1935ca", | ||
"version": "0.7.6-alpha-20241227121605-8911b685bebd9f2198f82c42c90726a4d70a56d7", | ||
"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
237510
6018