heroku-cli-util
Advanced tools
Comparing version 3.5.1 to 3.5.2
@@ -12,3 +12,3 @@ 'use strict'; | ||
let opts = { | ||
log: context.debug, | ||
debug: context.debug, | ||
token: context.auth.password, | ||
@@ -15,0 +15,0 @@ }; |
'use strict'; | ||
let config = require('rc')('heroku', { | ||
color: true | ||
}); | ||
let fs = require('fs'); | ||
let path = require('path'); | ||
let _ = require('lodash'); | ||
let ini = require('ini'); | ||
let home = process.env.HOME || process.env.USERPROFILE || '/root'; | ||
let config = { | ||
color: true, | ||
home: home, | ||
}; | ||
try { | ||
let p = path.join(home, '.herokurc'); | ||
let iniConfig = ini.parse(fs.readFileSync(p, 'utf-8')); | ||
config = _.assign(config, iniConfig); | ||
} catch (e) {} | ||
config.host = process.env.HEROKU_HOST || 'heroku.com'; | ||
@@ -8,0 +21,0 @@ config.git_host = process.env.HEROKU_GIT_HOST || config.host; |
{ | ||
"name": "heroku-cli-util", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -22,4 +22,3 @@ "main": "index.js", | ||
"jshint": "*", | ||
"mocha": "*", | ||
"netrc": "*" | ||
"mocha": "*" | ||
}, | ||
@@ -30,6 +29,7 @@ "dependencies": { | ||
"columnify": "^1.4.1", | ||
"heroku-client": "^1.10.0", | ||
"heroku-client": "^1.10.1", | ||
"ini": "^1.3.3", | ||
"linewrap": "^0.2.1", | ||
"rc": "^1.0.1" | ||
"lodash": "^3.8.0" | ||
} | ||
} |
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 2 instances 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
17243
3
393
7
7
+ Addedini@^1.3.3
+ Addedlodash@^3.8.0
+ Addedlodash@3.10.1(transitive)
- Removedrc@^1.0.1
- Removeddeep-extend@0.6.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedrc@1.2.8(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
Updatedheroku-client@^1.10.1