@forge/tunnel 3.8.7-next.1 → 3.8.7-next.11

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,80 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 3.8.7-next.11
4
+
5
+ ### Patch Changes
6
+
7
+ - @forge/bundler@4.14.1-next.10
8
+
9
+ ## 3.8.7-next.10
10
+
11
+ ### Patch Changes
12
+
13
+ - f329643: Don't call setDefaultAutoSelectFamily if not available (sandbox runtime)
14
+
15
+ ## 3.8.7-next.9
16
+
17
+ ### Patch Changes
18
+
19
+ - @forge/cli-shared@3.21.1-next.8
20
+ - @forge/bundler@4.14.1-next.9
21
+
22
+ ## 3.8.7-next.8
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [100a016]
27
+ - @forge/cli-shared@3.21.1-next.7
28
+ - @forge/bundler@4.14.1-next.8
29
+
30
+ ## 3.8.7-next.7
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [9f553da]
35
+ - @forge/cli-shared@3.21.1-next.6
36
+ - @forge/bundler@4.14.1-next.7
37
+
38
+ ## 3.8.7-next.6
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [4c4c95b]
43
+ - @forge/cli-shared@3.21.1-next.5
44
+ - @forge/bundler@4.14.1-next.6
45
+
46
+ ## 3.8.7-next.5
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [caf48311]
51
+ - @forge/bundler@4.14.1-next.5
52
+ - @forge/cli-shared@3.21.1-next.4
53
+
54
+ ## 3.8.7-next.4
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [5d18a6eb]
59
+ - @forge/cli-shared@3.21.1-next.3
60
+ - @forge/bundler@4.14.1-next.4
61
+
62
+ ## 3.8.7-next.3
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [eb167646]
67
+ - Updated dependencies [37213858]
68
+ - @forge/bundler@4.14.1-next.3
69
+ - @forge/cli-shared@3.21.1-next.2
70
+
71
+ ## 3.8.7-next.2
72
+
73
+ ### Patch Changes
74
+
75
+ - @forge/cli-shared@3.21.1-next.1
76
+ - @forge/bundler@4.14.1-next.2
77
+
3
78
  ## 3.8.7-next.1
4
79
 
5
80
  ### 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;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"}
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.1",
3
+ "version": "3.8.7-next.11",
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.1",
15
- "@forge/cli-shared": "3.21.1-next.0",
14
+ "@forge/bundler": "4.14.1-next.10",
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.1.0",
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",