Comparing version 0.0.3 to 0.0.4
@@ -34,3 +34,5 @@ 'use strict'; | ||
// | ||
if (!Object.getOwnPropertyDescriptor(res._headers, key).configurable) { | ||
var described = Object.getOwnPropertyDescriptor(res._headers, key); | ||
if (described && !described.configurable) { | ||
return false; | ||
@@ -37,0 +39,0 @@ } |
{ | ||
"name": "setheader", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Protect headers from being overridden before they are written to response.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5305
94