heroku-cli-util
Advanced tools
Comparing version 5.8.4 to 5.9.0
@@ -34,1 +34,2 @@ 'use strict'; | ||
exports.open = require('./lib/open'); | ||
exports.got = require('./lib/got'); |
@@ -40,3 +40,3 @@ 'use strict'; | ||
let httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy; | ||
let httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy || process.env.HTTP_PROXY || process.env.http_proxy; | ||
@@ -48,2 +48,3 @@ function setupHttpProxy() { | ||
process.env.HEROKU_HTTP_PROXY_PORT = proxy.port; | ||
process.env.HEROKU_HTTP_PROXY_AUTH = proxy.auth; | ||
} | ||
@@ -50,0 +51,0 @@ |
{ | ||
"name": "heroku-cli-util", | ||
"version": "5.8.4", | ||
"version": "5.9.0", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -25,3 +25,4 @@ "main": "index.js", | ||
"mocha-junit-reporter": "1.9.1", | ||
"nock": "7.2.2" | ||
"nock": "7.2.2", | ||
"proxyquire": "1.7.4" | ||
}, | ||
@@ -32,6 +33,8 @@ "dependencies": { | ||
"co": "4.6.0", | ||
"heroku-client": "2.4.1", | ||
"heroku-client": "2.4.2", | ||
"lodash": "4.6.1", | ||
"opn": "3.0.3" | ||
"opn": "3.0.3", | ||
"tunnel-agent": "0.4.2", | ||
"got": "6.1.1" | ||
} | ||
} |
@@ -193,2 +193,11 @@ # heroku-cli-util | ||
## HTTP calls | ||
`heroku-cli-util` includes an instance of [got](https://www.npmjs.com/package/got) that will correctly use HTTP proxies. | ||
```js | ||
let cli = require('heroku-cli-util'); | ||
let rsp = yield cli.got('https://google.com'); | ||
``` | ||
## Mocking | ||
@@ -195,0 +204,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 3 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
68972
25
1706
277
8
7
18
+ Addedgot@6.1.1
+ Addedtunnel-agent@0.4.2
+ Addedcapture-stack-trace@1.0.2(transitive)
+ Addedcreate-error-class@3.0.2(transitive)
+ Addedduplexer3@0.1.5(transitive)
+ Addedget-stream@1.1.0(transitive)
+ Addedgot@6.1.1(transitive)
+ Addedheroku-client@2.4.2(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedis-redirect@1.0.0(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedlowercase-keys@1.0.1(transitive)
+ Addednode-status-codes@2.0.1(transitive)
+ Addedprepend-http@1.0.4(transitive)
+ Addedtimed-out@2.0.0(transitive)
+ Addedtunnel-agent@0.4.2(transitive)
+ Addedunzip-response@1.0.2(transitive)
+ Addedurl-parse-lax@1.0.0(transitive)
- Removedheroku-client@2.4.1(transitive)
- Removedtunnel-agent@0.4.3(transitive)
Updatedheroku-client@2.4.2