@forge/tunnel 3.8.6 → 3.8.7-next.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @forge/tunnel
|
|
2
2
|
|
|
3
|
+
## 3.8.7-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4cd28d7a: Connect to Custom UI via IPv6 when needed
|
|
8
|
+
- Updated dependencies [e510e6ea]
|
|
9
|
+
- @forge/cli-shared@3.21.1-next.0
|
|
10
|
+
- @forge/bundler@4.14.1-next.0
|
|
11
|
+
|
|
3
12
|
## 3.8.6
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-ui-tunnel-server.d.ts","sourceRoot":"","sources":["../../src/servers/custom-ui-tunnel-server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-ui-tunnel-server.d.ts","sourceRoot":"","sources":["../../src/servers/custom-ui-tunnel-server.ts"],"names":[],"mappings":"AAGA,OAAgB,EAAE,OAAO,EAAqB,MAAM,SAAS,CAAC;AAG9D,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAE1F,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAc,MAAM,cAAc,CAAC;AASnF,qBAAa,oBAAqB,SAAQ,oBAAqB,YAAW,iBAAiB;IAM7E,OAAO,CAAC,QAAQ,CAAC,UAAU;IALvC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAU;IAC9B,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA6B;IACnD,OAAO,CAAC,MAAM,CAAqB;gBAEN,UAAU,EAAE,wBAAwB;IAsD3D,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAkBhD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IASd,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;IAK5C,MAAM,IAAI,OAAO;IAIjB,OAAO,CAAC,gCAAgC;IAoBxC,OAAO,CAAC,sBAAsB;CAO/B"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CustomUITunnelServer = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const net_1 = tslib_1.__importDefault(require("net"));
|
|
5
6
|
const url_1 = require("url");
|
|
6
7
|
const express_1 = tslib_1.__importDefault(require("express"));
|
|
7
8
|
const http_proxy_middleware_1 = require("http-proxy-middleware");
|
|
@@ -20,6 +21,7 @@ class CustomUITunnelServer extends resource_tunnel_server_1.ResourceTunnelServer
|
|
|
20
21
|
this.app = (0, express_1.default)();
|
|
21
22
|
this.app.use(this.getCustomUIHtmlTransformMiddleware(permissions, remotes));
|
|
22
23
|
if (tunnel) {
|
|
24
|
+
net_1.default.setDefaultAutoSelectFamily(true);
|
|
23
25
|
const { port: tunnelPort } = tunnel;
|
|
24
26
|
this.proxy = (0, http_proxy_middleware_1.createProxyMiddleware)({
|
|
25
27
|
target: `http://${this.tunnelArgs.host}:${tunnelPort}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/tunnel",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.7-next.0",
|
|
4
4
|
"description": "Tunnel functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"compile": "tsc -b -v"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@forge/bundler": "4.14.0",
|
|
15
|
-
"@forge/cli-shared": "3.21.0",
|
|
14
|
+
"@forge/bundler": "4.14.1-next.0",
|
|
15
|
+
"@forge/cli-shared": "3.21.1-next.0",
|
|
16
16
|
"@forge/csp": "3.1.1",
|
|
17
17
|
"@forge/runtime": "5.2.0",
|
|
18
18
|
"express": "^4.18.2",
|