headers-utils
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -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", |
32388
620