New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@whatwg-node/node-fetch

Package Overview
Dependencies
Maintainers
1
Versions
629
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.0.6-alpha-20230207100807-5eb50c6 to 0.0.6-alpha-20230207114030-349e836

11

index.js

@@ -732,7 +732,8 @@ 'use strict';

else {
for (const key in headersInit) {
const value = headersInit[key];
if (value != null) {
const normalizedValue = Array.isArray(value) ? value.join(', ') : value;
this.map.set(key, normalizedValue);
for (const initKey in headersInit) {
const initValue = headersInit[initKey];
if (initValue != null) {
const normalizedValue = Array.isArray(initValue) ? initValue.join(', ') : initValue;
const normalizedKey = initKey.toLowerCase();
this.map.set(normalizedKey, normalizedValue);
}

@@ -739,0 +740,0 @@ }

{
"name": "@whatwg-node/node-fetch",
"version": "0.0.6-alpha-20230207100807-5eb50c6",
"version": "0.0.6-alpha-20230207114030-349e836",
"description": "Fetch API implementation for Node",

@@ -5,0 +5,0 @@ "sideEffects": false,

Sorry, the diff of this file is not supported yet

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