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
576
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.6-alpha-20241227121459-e60dc5d611e0b845e709212dd1314922eb1935ca to 0.7.6-alpha-20241227121605-8911b685bebd9f2198f82c42c90726a4d70a56d7

2

cjs/URL.js

@@ -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);

2

package.json
{
"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,

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