@heroku-cli/command
Advanced tools
Comparing version 7.0.12 to 7.0.13
@@ -100,5 +100,4 @@ "use strict"; | ||
if (!auth) { | ||
const Netrc = require('netrc-parser'); | ||
const netrc = new Netrc(); | ||
auth = netrc.machines[vars_1.vars.apiHost].password; | ||
deps_1.default.netrc.loadSync(); | ||
auth = deps_1.default.netrc.machines[vars_1.vars.apiHost] && deps_1.default.netrc.machines[vars_1.vars.apiHost].password; | ||
} | ||
@@ -105,0 +104,0 @@ return auth; |
/// <reference types="node" /> | ||
import CLI = require('cli-ux'); | ||
import HTTP = require('http-call'); | ||
import netrc = require('netrc-parser'); | ||
import apiClient = require('./api_client'); | ||
@@ -12,2 +13,3 @@ import file = require('./file'); | ||
readonly HTTP: typeof HTTP; | ||
readonly netrc: netrc.Netrc; | ||
readonly Mutex: typeof mutex.Mutex; | ||
@@ -14,0 +16,0 @@ readonly yubikey: { |
@@ -5,27 +5,12 @@ "use strict"; | ||
// remote | ||
get cli() { | ||
return fetch('cli-ux').default; | ||
}, | ||
get HTTP() { | ||
return fetch('http-call'); | ||
}, | ||
get cli() { return fetch('cli-ux').default; }, | ||
get HTTP() { return fetch('http-call'); }, | ||
get netrc() { return fetch('netrc-parser').default; }, | ||
// local | ||
get Mutex() { | ||
return fetch('./mutex').Mutex; | ||
}, | ||
get yubikey() { | ||
return fetch('./yubikey').yubikey; | ||
}, | ||
get APIClient() { | ||
return fetch('./api_client').APIClient; | ||
}, | ||
get file() { | ||
return fetch('./file'); | ||
}, | ||
get flags() { | ||
return fetch('./flags'); | ||
}, | ||
get Git() { | ||
return fetch('./git').Git; | ||
}, | ||
get Mutex() { return fetch('./mutex').Mutex; }, | ||
get yubikey() { return fetch('./yubikey').yubikey; }, | ||
get APIClient() { return fetch('./api_client').APIClient; }, | ||
get file() { return fetch('./file'); }, | ||
get flags() { return fetch('./flags'); }, | ||
get Git() { return fetch('./git').Git; }, | ||
}; | ||
@@ -32,0 +17,0 @@ const cache = {}; |
{ | ||
"name": "@heroku-cli/command", | ||
"description": "heroku specific functionality for the cli-engine", | ||
"version": "7.0.12", | ||
"version": "7.0.13", | ||
"author": "Jeff Dickey @jdxcode", | ||
"bugs": "https://github.com/heroku/cli-engine-heroku/issues", | ||
"dependencies": { | ||
"@cli-engine/command": "^12.0.3", | ||
"@cli-engine/config": "^5.0.11", | ||
"@cli-engine/command": "^12.1.0", | ||
"@cli-engine/config": "^5.1.0", | ||
"cli-ux": "^2.0.21", | ||
"heroku-client": "3.0.6", | ||
"http-call": "^4.0.6", | ||
"netrc-parser": "^2.0.6" | ||
"http-call": "^4.0.8", | ||
"netrc-parser": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@cli-engine/util": "^1.0.12", | ||
"@cli-engine/util": "^1.1.2", | ||
"@heroku-cli/tslint": "^1.1.2", | ||
@@ -22,3 +22,3 @@ "@types/ansi-styles": "^2.0.30", | ||
"@types/nock": "9.1.1", | ||
"@types/node": "8.5.2", | ||
"@types/node": "8.5.7", | ||
"husky": "0.14.3", | ||
@@ -28,3 +28,3 @@ "jest": "^22.0.4", | ||
"prettier": "1.9.2", | ||
"ts-jest": "22.0.0", | ||
"ts-jest": "22.0.1", | ||
"tslint": "^5.8.0", | ||
@@ -47,9 +47,7 @@ "typescript": "2.6.2" | ||
"scripts": { | ||
"posttest": "cli-engine-util", | ||
"precommit": "cli-engine-util", | ||
"prepare": "cli-engine-util", | ||
"pretest": "tsc", | ||
"test": "jest" | ||
"test": "cli-engine-util" | ||
}, | ||
"types": "./lib/index.d.ts" | ||
} |
# @cli-engine/heroku | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/heroku/cli-engine-heroku.svg)](https://greenkeeper.io/) | ||
[![CircleCI](https://circleci.com/gh/heroku/cli-engine-heroku.svg?style=svg)](https://circleci.com/gh/heroku/cli-engine-heroku) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/2o5qa4nbjryx8du5/branch/master?svg=true)](https://ci.appveyor.com/project/Heroku/cli-engine-heroku/branch/master) | ||
[![codecov](https://codecov.io/gh/heroku/cli-engine-heroku/branch/master/graph/badge.svg)](https://codecov.io/gh/heroku/cli-engine-heroku) |
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
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
30518
7
827
+ Addedcross-spawn@6.0.6(transitive)
+ Addedexeca@0.10.0(transitive)
+ Addedget-stream@3.0.0(transitive)
+ Addednetrc-parser@3.1.6(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addednpm-run-path@2.0.2(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedwhich@1.3.1(transitive)
- Removedlex@1.7.9(transitive)
- Removednetrc-parser@2.0.6(transitive)
Updated@cli-engine/command@^12.1.0
Updated@cli-engine/config@^5.1.0
Updatedhttp-call@^4.0.8
Updatednetrc-parser@^3.0.0