request-headers-filter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -42,5 +42,5 @@ /** | ||
const header = rawHeader.toLowerCase(); | ||
return [header, response.headers[header]]; | ||
}) : Object.entries(response.headers); | ||
}).filter(header => header[1] !== void 0) : Object.entries(response.headers); | ||
@@ -47,0 +47,0 @@ // Clean-up response headers |
{ | ||
"name": "request-headers-filter", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Filter headers from request which will be passed to new request and/or response", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
6364
1