Comparing version 5.1.1 to 5.1.2
@@ -323,3 +323,3 @@ "use strict"; | ||
headers = Object.assign({}, headers); | ||
if (headers.authorization) | ||
if (process.env.HTTP_CALL_REDACT !== '0' && headers.authorization) | ||
headers.authorization = '[REDACTED]'; | ||
@@ -326,0 +326,0 @@ return headers; |
{ | ||
"name": "http-call", | ||
"description": "make http requests", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/http-call/issues", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
37474
5