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
554
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.5-alpha-20241210210919-680ecc3291b1c6c284e87af6977d8a107e1ec8cc to 0.7.5-alpha-20241210211414-d3ba0200610c3de61aea13ae4383d2db8ad54ac2

2

cjs/fetchNodeHttp.js

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

// Skip using parsed URL if it's an IPv6 address (starting with brackets)
if (fetchRequest.parsedUrl && !fetchRequest.parsedUrl.hostname.startsWith('[')) {
if (fetchRequest.parsedUrl && !fetchRequest.parsedUrl.hostname?.startsWith('[')) {
nodeRequest = requestFn({

@@ -40,0 +40,0 @@ auth: fetchRequest.parsedUrl.username

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

// Skip using parsed URL if it's an IPv6 address (starting with brackets)
if (fetchRequest.parsedUrl && !fetchRequest.parsedUrl.hostname.startsWith('[')) {
if (fetchRequest.parsedUrl && !fetchRequest.parsedUrl.hostname?.startsWith('[')) {
nodeRequest = requestFn({

@@ -37,0 +37,0 @@ auth: fetchRequest.parsedUrl.username

{
"name": "@whatwg-node/node-fetch",
"version": "0.7.5-alpha-20241210210919-680ecc3291b1c6c284e87af6977d8a107e1ec8cc",
"version": "0.7.5-alpha-20241210211414-d3ba0200610c3de61aea13ae4383d2db8ad54ac2",
"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