@heroku-cli/heroku-connect-plugin 0.11.3 → 0.11.4

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.
@@ -3,7 +3,7 @@ Apache License Version 2.0
3
3
  Copyright (c) 2023 Salesforce, Inc.
4
4
  All rights reserved.
5
5
 
6
- Apache License
6
+ Apache License
7
7
  Version 2.0, January 2004
8
8
  http://www.apache.org/licenses/
9
9
 
@@ -191,7 +191,7 @@ Apache License
191
191
  same "printed page" as the copyright notice for easier
192
192
  identification within third-party archives.
193
193
 
194
- Copyright (c) 2023 Salesforce, Inc.
194
+ Copyright 2023 Heroku
195
195
 
196
196
  Licensed under the Apache License, Version 2.0 (the "License");
197
197
  you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@ function callbackServer () {
16
16
  response.end(res)
17
17
 
18
18
  // Shut down the server so the command can exit
19
- request.connection.destroy()
19
+ request.socket.destroy()
20
20
  this.close()
21
21
 
22
22
  // Return control to the main command
@@ -55,7 +55,7 @@ function * run (context, heroku) {
55
55
 
56
56
  cli.log("\nIf your browser doesn't open, please copy the following URL to proceed:\n" + redir + '\n')
57
57
 
58
- yield cli.action('waiting for authorization', callbackServer())
58
+ yield cli.action('waiting for authorization', module.exports.callbackServer())
59
59
  }
60
60
 
61
61
  module.exports = {
@@ -71,5 +71,6 @@ module.exports = {
71
71
  ],
72
72
  needsApp: true,
73
73
  needsAuth: true,
74
- run: cli.command(co.wrap(run))
74
+ run: cli.command(co.wrap(run)),
75
+ callbackServer
75
76
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heroku-cli/heroku-connect-plugin",
3
- "description": "Heroku Connect plugin for Heroku CLI",
4
- "version": "0.11.3",
3
+ "description": "Heroku Connect CLI plugin",
4
+ "version": "0.11.4",
5
5
  "author": "Heroku",
6
6
  "repository": {
7
7
  "type": "git",
@@ -13,7 +13,7 @@
13
13
  "keywords": [
14
14
  "heroku-plugin"
15
15
  ],
16
- "license": "ISC",
16
+ "license": "Apache-2.0",
17
17
  "main": "index.js",
18
18
  "scripts": {
19
19
  "test": "CONNECT_ADDON=connectqa mocha && standard",
@@ -25,14 +25,17 @@
25
25
  "/commands"
26
26
  ],
27
27
  "dependencies": {
28
- "@heroku/heroku-cli-util": "^8.0.14",
29
- "axios": "^0.27.2",
28
+ "@heroku/heroku-cli-util": "^8.0.15",
29
+ "axios": "^1.12.0",
30
30
  "co": "4.6.0",
31
31
  "heroku-client": "^3.0.6",
32
32
  "inquirer": "^5.1.0"
33
33
  },
34
+ "overrides": {
35
+ "cross-spawn": "^6.0.6"
36
+ },
34
37
  "devDependencies": {
35
- "mocha": "^10.7.0",
38
+ "mocha": "^11.0.1",
36
39
  "mockdate": "^3.0.5",
37
40
  "nock": "^13.5.4",
38
41
  "sinon": "^19.0.2",