@heroku-cli/command
Advanced tools
Comparing version 8.4.0 to 8.4.1
@@ -96,2 +96,5 @@ "use strict"; | ||
if (opts.retryAuth !== false && err.http.statusCode === 401 && err.body.id === 'unauthorized') { | ||
if (process.env.HEROKU_API_KEY) { | ||
throw new Error('The token provided to HEROKU_API_KEY is invalid. Please double-check that you have the correct token, or run `heroku login` without HEROKU_API_KEY set.'); | ||
} | ||
if (!self.authPromise) | ||
@@ -98,0 +101,0 @@ self.authPromise = self.login(); |
{ | ||
"name": "@heroku-cli/command", | ||
"description": "base class for Heroku CLI commands", | ||
"version": "8.4.0", | ||
"version": "8.4.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/heroku-cli-command/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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
60472
1257
19
15