Socket
Socket
Sign inDemoInstall

heroku-cli-util

Package Overview
Dependencies
22
Maintainers
31
Versions
155
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.11 to 6.1.12

6

lib/auth.js

@@ -37,6 +37,6 @@ 'use strict'

const netrc = new Netrc()
const hosts = [vars.apiHost, vars.gitHost]
const hosts = [vars.apiHost, vars.httpGitHost]
hosts.forEach(host => {
netrc.machines[vars.apiHost].login = email
netrc.machines[vars.apiHost].password = token
netrc.machines[host].login = email
netrc.machines[host].password = token
})

@@ -43,0 +43,0 @@ netrc.save()

@@ -19,4 +19,12 @@ 'use strict'

}
get httpGitHost () {
if (this.env.HEROKU_GIT_HOST) return this.env.HEROKU_GIT_HOST
if (this.host.startsWith('http')) {
const u = url.parse(this.host)
if (u.host) return u.host
}
return `git.${this.host}`
}
}
module.exports = new Vars(process.env)
{
"name": "heroku-cli-util",
"description": "Set of helpful CLI utilities",
"version": "6.1.11",
"version": "6.1.12",
"author": "Jeff Dickey (@dickeyxxx)",

@@ -6,0 +6,0 @@ "bugs": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc