heroku 8.11.1 → 8.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,7 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
36
36
  * [`heroku access`](docs/access.md) - manage user access to apps
37
37
  * [`heroku addons`](docs/addons.md) - tools and services for developing, extending, and operating your app
38
38
  * [`heroku apps`](docs/apps.md) - manage apps on Heroku
39
- * [`heroku auth`](docs/auth.md) - check 2fa status
39
+ * [`heroku auth`](docs/auth.md) - manage authentication for your Heroku account
40
40
  * [`heroku authorizations`](docs/authorizations.md) - OAuth authorizations
41
41
  * [`heroku autocomplete`](docs/autocomplete.md) - display autocomplete installation instructions
42
42
  * [`heroku buildpacks`](docs/buildpacks.md) - scripts used to compile apps
@@ -11,10 +11,11 @@ class AuthToken extends command_1.Command {
11
11
  try {
12
12
  const { body: tokens } = await this.heroku.get('/oauth/authorizations', { retryAuth: false });
13
13
  const token = tokens.find((t) => t.access_token && t.access_token.token === this.heroku.auth);
14
+ const isInternal = token ? token.user.email.includes('@heroku.com') : false;
14
15
  if (token && token.access_token.expires_in) {
15
16
  const d = new Date();
16
17
  d.setSeconds(d.getSeconds() + token.access_token.expires_in);
17
- this.warn(`token will expire ${(0, date_fns_1.formatRelative)(d, new Date())}\nUse ${color_1.default.cmd('heroku authorizations:create')} to generate a long-term token`);
18
+ this.warn(`token will expire ${(0, date_fns_1.formatRelative)(d, new Date())}\n${isInternal ? 'All tokens expire one year after we generate it.' : `To generate a long-lived token, use ${color_1.default.cmd('heroku authorizations:create')}.`}`);
18
19
  }
19
20
  }
20
21
  catch (error) {
@@ -7,8 +7,8 @@ export default class DomainsIndex extends Command {
7
7
  extended: import("@oclif/core/lib/interfaces").Flag<boolean>;
8
8
  'no-header': import("@oclif/core/lib/interfaces").Flag<boolean>;
9
9
  sort: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
10
- columns: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
10
  filter: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
+ columns: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
12
  csv: import("@oclif/core/lib/interfaces").Flag<boolean>;
13
13
  output: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
14
  help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.11.1",
2
+ "version": "8.11.2",
3
3
  "commands": {
4
4
  "console": {
5
5
  "id": "console",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "heroku",
3
3
  "description": "CLI to interact with Heroku",
4
- "version": "8.11.1",
4
+ "version": "8.11.2",
5
5
  "author": "Jeff Dickey @jdxcode",
6
6
  "bin": "./bin/run",
7
7
  "bugs": "https://github.com/heroku/cli/issues",
@@ -10,13 +10,13 @@
10
10
  "@heroku-cli/command": "^10.0.0",
11
11
  "@heroku-cli/command-v9": "npm:@heroku-cli/command@^9.0.2",
12
12
  "@heroku-cli/notifications": "^1.2.4",
13
- "@heroku-cli/plugin-addons-v5": "^8.11.1",
14
- "@heroku-cli/plugin-apps-v5": "^8.11.1",
15
- "@heroku-cli/plugin-certs-v5": "^8.11.1",
16
- "@heroku-cli/plugin-ci-v5": "^8.11.1",
17
- "@heroku-cli/plugin-container-registry-v5": "^8.11.1",
18
- "@heroku-cli/plugin-orgs-v5": "^8.11.1",
19
- "@heroku-cli/plugin-pg-v5": "^8.11.1",
13
+ "@heroku-cli/plugin-addons-v5": "^8.11.2",
14
+ "@heroku-cli/plugin-apps-v5": "^8.11.2",
15
+ "@heroku-cli/plugin-certs-v5": "^8.11.2",
16
+ "@heroku-cli/plugin-ci-v5": "^8.11.2",
17
+ "@heroku-cli/plugin-container-registry-v5": "^8.11.2",
18
+ "@heroku-cli/plugin-orgs-v5": "^8.11.2",
19
+ "@heroku-cli/plugin-pg-v5": "^8.11.2",
20
20
  "@heroku-cli/plugin-ps": "^8.1.7",
21
21
  "@heroku-cli/plugin-ps-exec": "^2.4.0",
22
22
  "@heroku-cli/plugin-redis-v5": "^8.11.1",
@@ -57,13 +57,13 @@
57
57
  "got": "^9.6.0",
58
58
  "heroku-cli-util": "^8.0.12",
59
59
  "http-call": "5.3.0",
60
- "inquirer": "^7.3.0",
60
+ "inquirer": "^8.2.6",
61
61
  "lodash": "^4.17.21",
62
62
  "netrc-parser": "3.1.6",
63
63
  "node-fetch": "^2.6.7",
64
64
  "phoenix": "^1.6.14",
65
65
  "rollbar": "^2.26.2",
66
- "semver": "5.7.2",
66
+ "semver": "7.6.0",
67
67
  "shell-escape": "^0.2.0",
68
68
  "shell-quote": "^1.8.1",
69
69
  "tmp": "^0.0.33",
@@ -84,7 +84,7 @@
84
84
  "@types/fs-extra": "^5.0.5",
85
85
  "@types/glob": "^7.1.1",
86
86
  "@types/got": "^9.6.7",
87
- "@types/inquirer": "7.3.0",
87
+ "@types/inquirer": "^8.2.10",
88
88
  "@types/lodash": "^4.14.123",
89
89
  "@types/mocha": "^5.2.6",
90
90
  "@types/nock": "^9.3.1",
@@ -104,7 +104,7 @@
104
104
  "chai": "^4.2.0",
105
105
  "globby": "^10.0.2",
106
106
  "lodash": "^4.17.11",
107
- "mocha": "^8.0.0",
107
+ "mocha": "^9.2.2",
108
108
  "nock": "^10.0.6",
109
109
  "nyc": "^15.1.0",
110
110
  "oclif": "3.11.3",
@@ -143,7 +143,7 @@
143
143
  "watch-extensions": "ts",
144
144
  "recursive": true,
145
145
  "reporter": "spec",
146
- "timeout": 180000
146
+ "timeout": 360000
147
147
  },
148
148
  "oclif": {
149
149
  "additionalHelpFlags": [
@@ -194,6 +194,9 @@
194
194
  "apps": {
195
195
  "description": "manage apps on Heroku"
196
196
  },
197
+ "auth": {
198
+ "description": "manage authentication for your Heroku account"
199
+ },
197
200
  "authorizations": {
198
201
  "description": "OAuth authorizations"
199
202
  },
@@ -356,5 +359,5 @@
356
359
  "version": "oclif readme --multi && git add README.md ../../docs"
357
360
  },
358
361
  "types": "lib/index.d.ts",
359
- "gitHead": "6dbf5e0a421ba8054207b1e2737a4ded94a463a4"
362
+ "gitHead": "6a1a73061e46a733f04414e0e6028824aa30318f"
360
363
  }