Socket
Socket
Sign inDemoInstall

headers-utils

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

3

lib/Headers.js

@@ -71,3 +71,4 @@ "use strict";

*/
if ((init === null || init === void 0 ? void 0 : init.constructor.name) === 'Headers') {
if ((init === null || init === void 0 ? void 0 : init.constructor.name) === 'Headers' ||
init instanceof HeadersPolyfill) {
var initialHeaders = init;

@@ -74,0 +75,0 @@ initialHeaders.forEach(function (value, name) {

{
"name": "headers-utils",
"version": "3.0.0",
"version": "3.0.1",
"description": "A Headers class polyfill and transformation library.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc