heroku-cli-util
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -15,6 +15,10 @@ 'use strict'; | ||
host: host, | ||
headers: {}, | ||
rejectUnauthorized: !host.endsWith('herokudev.com') | ||
}; | ||
if (process.env.HEROKU_HEADERS) { | ||
opts.headers = cli.extend(opts.headers, JSON.parse(process.env.HEROKU_HEADERS)); | ||
} | ||
if (context.secondFactor) { | ||
opts.headers = {'Heroku-Two-Factor-Code': context.secondFactor}; | ||
opts.headers = cli.extend(opts.headers, {'Heroku-Two-Factor-Code': context.secondFactor}); | ||
} | ||
@@ -21,0 +25,0 @@ return new Heroku(opts); |
{ | ||
"name": "heroku-cli-util", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
652643
13606
7
16