heroku 10.4.0 → 10.4.1-beta.0

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.
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  function default_1() {
4
- const host = process.env.HEROKU_DATA_HOST || process.env.HEROKU_POSTGRESQL_HOST;
5
- return host ? host : 'api.data.heroku.com';
4
+ return process.env.HEROKU_DATA_HOST || 'api.data.heroku.com';
6
5
  }
7
6
  exports.default = default_1;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const core_1 = require("@oclif/core");
5
5
  exports.default = (app, database, json, heroku) => {
6
- const HOST = process.env.HEROKU_REDIS_HOST || 'api.data.heroku.com';
6
+ const HOST = process.env.HEROKU_DATA_HOST || process.env.HEROKU_REDIS_HOST || 'api.data.heroku.com';
7
7
  const ADDON = process.env.HEROKU_REDIS_ADDON_NAME || 'heroku-redis';
8
8
  return {
9
9
  request(path, method = 'GET', body = null) {
@@ -2292,6 +2292,164 @@
2292
2292
  "update.js"
2293
2293
  ]
2294
2294
  },
2295
+ "autocomplete:create": {
2296
+ "aliases": [],
2297
+ "args": {},
2298
+ "description": "create autocomplete setup scripts and completion functions",
2299
+ "flags": {},
2300
+ "hasDynamicHelp": false,
2301
+ "hidden": true,
2302
+ "hiddenAliases": [],
2303
+ "id": "autocomplete:create",
2304
+ "pluginAlias": "heroku",
2305
+ "pluginName": "heroku",
2306
+ "pluginType": "core",
2307
+ "strict": true,
2308
+ "isESM": false,
2309
+ "relativePath": [
2310
+ "lib",
2311
+ "commands",
2312
+ "autocomplete",
2313
+ "create.js"
2314
+ ]
2315
+ },
2316
+ "autocomplete:doctor": {
2317
+ "aliases": [],
2318
+ "args": {
2319
+ "shell": {
2320
+ "description": "shell type",
2321
+ "name": "shell",
2322
+ "required": false
2323
+ }
2324
+ },
2325
+ "description": "autocomplete diagnostic",
2326
+ "flags": {
2327
+ "verbose": {
2328
+ "description": "list completable commands",
2329
+ "name": "verbose",
2330
+ "allowNo": false,
2331
+ "type": "boolean"
2332
+ }
2333
+ },
2334
+ "hasDynamicHelp": false,
2335
+ "hidden": true,
2336
+ "hiddenAliases": [],
2337
+ "id": "autocomplete:doctor",
2338
+ "pluginAlias": "heroku",
2339
+ "pluginName": "heroku",
2340
+ "pluginType": "core",
2341
+ "strict": true,
2342
+ "isESM": false,
2343
+ "relativePath": [
2344
+ "lib",
2345
+ "commands",
2346
+ "autocomplete",
2347
+ "doctor.js"
2348
+ ]
2349
+ },
2350
+ "autocomplete": {
2351
+ "aliases": [],
2352
+ "args": {
2353
+ "shell": {
2354
+ "description": "shell type",
2355
+ "name": "shell",
2356
+ "required": false
2357
+ }
2358
+ },
2359
+ "description": "display autocomplete installation instructions",
2360
+ "examples": [
2361
+ "$ heroku autocomplete",
2362
+ "$ heroku autocomplete bash",
2363
+ "$ heroku autocomplete zsh",
2364
+ "$ heroku autocomplete --refresh-cache"
2365
+ ],
2366
+ "flags": {
2367
+ "refresh-cache": {
2368
+ "char": "r",
2369
+ "description": "refresh cache only (ignores displaying instructions)",
2370
+ "name": "refresh-cache",
2371
+ "allowNo": false,
2372
+ "type": "boolean"
2373
+ }
2374
+ },
2375
+ "hasDynamicHelp": false,
2376
+ "hiddenAliases": [],
2377
+ "id": "autocomplete",
2378
+ "pluginAlias": "heroku",
2379
+ "pluginName": "heroku",
2380
+ "pluginType": "core",
2381
+ "strict": true,
2382
+ "isESM": false,
2383
+ "relativePath": [
2384
+ "lib",
2385
+ "commands",
2386
+ "autocomplete",
2387
+ "index.js"
2388
+ ]
2389
+ },
2390
+ "autocomplete:options": {
2391
+ "aliases": [],
2392
+ "args": {
2393
+ "completion": {
2394
+ "name": "completion"
2395
+ }
2396
+ },
2397
+ "description": "display arg or flag completion options (used internally by completion functions)",
2398
+ "flags": {
2399
+ "app": {
2400
+ "char": "a",
2401
+ "description": "app to run command against",
2402
+ "hidden": true,
2403
+ "name": "app",
2404
+ "required": false,
2405
+ "hasDynamicHelp": false,
2406
+ "multiple": false,
2407
+ "type": "option"
2408
+ }
2409
+ },
2410
+ "hasDynamicHelp": false,
2411
+ "hidden": true,
2412
+ "hiddenAliases": [],
2413
+ "id": "autocomplete:options",
2414
+ "pluginAlias": "heroku",
2415
+ "pluginName": "heroku",
2416
+ "pluginType": "core",
2417
+ "strict": true,
2418
+ "isESM": false,
2419
+ "relativePath": [
2420
+ "lib",
2421
+ "commands",
2422
+ "autocomplete",
2423
+ "options.js"
2424
+ ]
2425
+ },
2426
+ "autocomplete:script": {
2427
+ "aliases": [],
2428
+ "args": {
2429
+ "shell": {
2430
+ "description": "shell type",
2431
+ "name": "shell",
2432
+ "required": false
2433
+ }
2434
+ },
2435
+ "description": "display autocomplete setup script for shell",
2436
+ "flags": {},
2437
+ "hasDynamicHelp": false,
2438
+ "hidden": true,
2439
+ "hiddenAliases": [],
2440
+ "id": "autocomplete:script",
2441
+ "pluginAlias": "heroku",
2442
+ "pluginName": "heroku",
2443
+ "pluginType": "core",
2444
+ "strict": true,
2445
+ "isESM": false,
2446
+ "relativePath": [
2447
+ "lib",
2448
+ "commands",
2449
+ "autocomplete",
2450
+ "script.js"
2451
+ ]
2452
+ },
2295
2453
  "buildpacks:add": {
2296
2454
  "aliases": [],
2297
2455
  "args": {
@@ -2621,164 +2779,6 @@
2621
2779
  "versions.js"
2622
2780
  ]
2623
2781
  },
2624
- "autocomplete:create": {
2625
- "aliases": [],
2626
- "args": {},
2627
- "description": "create autocomplete setup scripts and completion functions",
2628
- "flags": {},
2629
- "hasDynamicHelp": false,
2630
- "hidden": true,
2631
- "hiddenAliases": [],
2632
- "id": "autocomplete:create",
2633
- "pluginAlias": "heroku",
2634
- "pluginName": "heroku",
2635
- "pluginType": "core",
2636
- "strict": true,
2637
- "isESM": false,
2638
- "relativePath": [
2639
- "lib",
2640
- "commands",
2641
- "autocomplete",
2642
- "create.js"
2643
- ]
2644
- },
2645
- "autocomplete:doctor": {
2646
- "aliases": [],
2647
- "args": {
2648
- "shell": {
2649
- "description": "shell type",
2650
- "name": "shell",
2651
- "required": false
2652
- }
2653
- },
2654
- "description": "autocomplete diagnostic",
2655
- "flags": {
2656
- "verbose": {
2657
- "description": "list completable commands",
2658
- "name": "verbose",
2659
- "allowNo": false,
2660
- "type": "boolean"
2661
- }
2662
- },
2663
- "hasDynamicHelp": false,
2664
- "hidden": true,
2665
- "hiddenAliases": [],
2666
- "id": "autocomplete:doctor",
2667
- "pluginAlias": "heroku",
2668
- "pluginName": "heroku",
2669
- "pluginType": "core",
2670
- "strict": true,
2671
- "isESM": false,
2672
- "relativePath": [
2673
- "lib",
2674
- "commands",
2675
- "autocomplete",
2676
- "doctor.js"
2677
- ]
2678
- },
2679
- "autocomplete": {
2680
- "aliases": [],
2681
- "args": {
2682
- "shell": {
2683
- "description": "shell type",
2684
- "name": "shell",
2685
- "required": false
2686
- }
2687
- },
2688
- "description": "display autocomplete installation instructions",
2689
- "examples": [
2690
- "$ heroku autocomplete",
2691
- "$ heroku autocomplete bash",
2692
- "$ heroku autocomplete zsh",
2693
- "$ heroku autocomplete --refresh-cache"
2694
- ],
2695
- "flags": {
2696
- "refresh-cache": {
2697
- "char": "r",
2698
- "description": "refresh cache only (ignores displaying instructions)",
2699
- "name": "refresh-cache",
2700
- "allowNo": false,
2701
- "type": "boolean"
2702
- }
2703
- },
2704
- "hasDynamicHelp": false,
2705
- "hiddenAliases": [],
2706
- "id": "autocomplete",
2707
- "pluginAlias": "heroku",
2708
- "pluginName": "heroku",
2709
- "pluginType": "core",
2710
- "strict": true,
2711
- "isESM": false,
2712
- "relativePath": [
2713
- "lib",
2714
- "commands",
2715
- "autocomplete",
2716
- "index.js"
2717
- ]
2718
- },
2719
- "autocomplete:options": {
2720
- "aliases": [],
2721
- "args": {
2722
- "completion": {
2723
- "name": "completion"
2724
- }
2725
- },
2726
- "description": "display arg or flag completion options (used internally by completion functions)",
2727
- "flags": {
2728
- "app": {
2729
- "char": "a",
2730
- "description": "app to run command against",
2731
- "hidden": true,
2732
- "name": "app",
2733
- "required": false,
2734
- "hasDynamicHelp": false,
2735
- "multiple": false,
2736
- "type": "option"
2737
- }
2738
- },
2739
- "hasDynamicHelp": false,
2740
- "hidden": true,
2741
- "hiddenAliases": [],
2742
- "id": "autocomplete:options",
2743
- "pluginAlias": "heroku",
2744
- "pluginName": "heroku",
2745
- "pluginType": "core",
2746
- "strict": true,
2747
- "isESM": false,
2748
- "relativePath": [
2749
- "lib",
2750
- "commands",
2751
- "autocomplete",
2752
- "options.js"
2753
- ]
2754
- },
2755
- "autocomplete:script": {
2756
- "aliases": [],
2757
- "args": {
2758
- "shell": {
2759
- "description": "shell type",
2760
- "name": "shell",
2761
- "required": false
2762
- }
2763
- },
2764
- "description": "display autocomplete setup script for shell",
2765
- "flags": {},
2766
- "hasDynamicHelp": false,
2767
- "hidden": true,
2768
- "hiddenAliases": [],
2769
- "id": "autocomplete:script",
2770
- "pluginAlias": "heroku",
2771
- "pluginName": "heroku",
2772
- "pluginType": "core",
2773
- "strict": true,
2774
- "isESM": false,
2775
- "relativePath": [
2776
- "lib",
2777
- "commands",
2778
- "autocomplete",
2779
- "script.js"
2780
- ]
2781
- },
2782
2782
  "certs:add": {
2783
2783
  "aliases": [],
2784
2784
  "args": {
@@ -14486,5 +14486,5 @@
14486
14486
  ]
14487
14487
  }
14488
14488
  },
14489
- "version": "10.4.0"
14489
+ "version": "10.4.1-beta.0"
14490
14490
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "heroku",
3
3
  "description": "CLI to interact with Heroku",
4
- "version": "10.4.0",
4
+ "version": "10.4.1-beta.0",
5
5
  "author": "Heroku",
6
6
  "bin": "./bin/run",
7
7
  "bugs": "https://github.com/heroku/cli/issues",
@@ -397,5 +397,5 @@
397
397
  "version": "oclif readme --multi && git add README.md ../../docs"
398
398
  },
399
399
  "types": "lib/index.d.ts",
400
- "gitHead": "467b8ab17bba2cca4eeac11c6f78e7ab8877af3e"
400
+ "gitHead": "8cbf70a7a0f5cbaaaa2f00a41c5b53c134c9e6fd"
401
401
  }