@forge/tunnel 3.8.7-next.1 → 3.8.7-next.10
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,74 @@
|
|
|
1
1
|
# @forge/tunnel
|
|
2
2
|
|
|
3
|
+
## 3.8.7-next.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f329643: Don't call setDefaultAutoSelectFamily if not available (sandbox runtime)
|
|
8
|
+
|
|
9
|
+
## 3.8.7-next.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- @forge/cli-shared@3.21.1-next.8
|
|
14
|
+
- @forge/bundler@4.14.1-next.9
|
|
15
|
+
|
|
16
|
+
## 3.8.7-next.8
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [100a016]
|
|
21
|
+
- @forge/cli-shared@3.21.1-next.7
|
|
22
|
+
- @forge/bundler@4.14.1-next.8
|
|
23
|
+
|
|
24
|
+
## 3.8.7-next.7
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [9f553da]
|
|
29
|
+
- @forge/cli-shared@3.21.1-next.6
|
|
30
|
+
- @forge/bundler@4.14.1-next.7
|
|
31
|
+
|
|
32
|
+
## 3.8.7-next.6
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [4c4c95b]
|
|
37
|
+
- @forge/cli-shared@3.21.1-next.5
|
|
38
|
+
- @forge/bundler@4.14.1-next.6
|
|
39
|
+
|
|
40
|
+
## 3.8.7-next.5
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [caf48311]
|
|
45
|
+
- @forge/bundler@4.14.1-next.5
|
|
46
|
+
- @forge/cli-shared@3.21.1-next.4
|
|
47
|
+
|
|
48
|
+
## 3.8.7-next.4
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [5d18a6eb]
|
|
53
|
+
- @forge/cli-shared@3.21.1-next.3
|
|
54
|
+
- @forge/bundler@4.14.1-next.4
|
|
55
|
+
|
|
56
|
+
## 3.8.7-next.3
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- Updated dependencies [eb167646]
|
|
61
|
+
- Updated dependencies [37213858]
|
|
62
|
+
- @forge/bundler@4.14.1-next.3
|
|
63
|
+
- @forge/cli-shared@3.21.1-next.2
|
|
64
|
+
|
|
65
|
+
## 3.8.7-next.2
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- @forge/cli-shared@3.21.1-next.1
|
|
70
|
+
- @forge/bundler@4.14.1-next.2
|
|
71
|
+
|
|
3
72
|
## 3.8.7-next.1
|
|
4
73
|
|
|
5
74
|
### 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":"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;
|
|
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;IAyD3D,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"}
|
|
@@ -15,13 +15,14 @@ var ConnectionErrorCode;
|
|
|
15
15
|
})(ConnectionErrorCode || (ConnectionErrorCode = {}));
|
|
16
16
|
class CustomUITunnelServer extends resource_tunnel_server_1.ResourceTunnelServer {
|
|
17
17
|
constructor(tunnelArgs) {
|
|
18
|
+
var _a, _b;
|
|
18
19
|
super(tunnelArgs);
|
|
19
20
|
this.tunnelArgs = tunnelArgs;
|
|
20
21
|
const { tunnel, permissions, remotes } = tunnelArgs;
|
|
21
22
|
this.app = (0, express_1.default)();
|
|
22
23
|
this.app.use(this.getCustomUIHtmlTransformMiddleware(permissions, remotes));
|
|
23
24
|
if (tunnel) {
|
|
24
|
-
net_1.default.setDefaultAutoSelectFamily(true);
|
|
25
|
+
(_b = (_a = net_1.default).setDefaultAutoSelectFamily) === null || _b === void 0 ? void 0 : _b.call(_a, true);
|
|
25
26
|
const { port: tunnelPort } = tunnel;
|
|
26
27
|
this.proxy = (0, http_proxy_middleware_1.createProxyMiddleware)({
|
|
27
28
|
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.7-next.
|
|
3
|
+
"version": "3.8.7-next.10",
|
|
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.1-next.
|
|
15
|
-
"@forge/cli-shared": "3.21.1-next.
|
|
14
|
+
"@forge/bundler": "4.14.1-next.9",
|
|
15
|
+
"@forge/cli-shared": "3.21.1-next.8",
|
|
16
16
|
"@forge/csp": "3.1.1",
|
|
17
17
|
"@forge/runtime": "5.2.1-next.0",
|
|
18
18
|
"express": "^4.18.2",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@atlassian/xen-test-util": "^3.1.2",
|
|
30
|
-
"@forge/manifest": "5.
|
|
30
|
+
"@forge/manifest": "5.2.0-next.3",
|
|
31
31
|
"@types/express": "^4.17.21",
|
|
32
32
|
"@types/jest": "^29.5.8",
|
|
33
33
|
"@types/node": "14.18.63",
|