@forge/tunnel 3.8.7-next.9 → 3.8.8-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,64 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 3.8.8-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [853b3f1e]
8
+ - Updated dependencies [9595140c]
9
+ - @forge/cli-shared@3.21.2-next.0
10
+ - @forge/bundler@4.14.2-next.0
11
+
12
+ ## 3.8.7
13
+
14
+ ### Patch Changes
15
+
16
+ - 4cd28d7ae: Connect to Custom UI via IPv6 when needed
17
+ - f3296433: Don't call setDefaultAutoSelectFamily if not available (sandbox runtime)
18
+ - Updated dependencies [caf48311]
19
+ - Updated dependencies [eb167646]
20
+ - Updated dependencies [100a016b]
21
+ - Updated dependencies [e510e6eab]
22
+ - Updated dependencies [37213858]
23
+ - Updated dependencies [5d18a6eb]
24
+ - Updated dependencies [4c4c95bb]
25
+ - Updated dependencies [9f553da4]
26
+ - Updated dependencies [4e4d71085]
27
+ - @forge/bundler@4.14.1
28
+ - @forge/cli-shared@3.21.1
29
+ - @forge/runtime@5.2.1
30
+
31
+ ## 3.8.7-next.14
32
+
33
+ ### Patch Changes
34
+
35
+ - @forge/bundler@4.14.1-next.13
36
+
37
+ ## 3.8.7-next.13
38
+
39
+ ### Patch Changes
40
+
41
+ - @forge/bundler@4.14.1-next.12
42
+
43
+ ## 3.8.7-next.12
44
+
45
+ ### Patch Changes
46
+
47
+ - @forge/cli-shared@3.21.1-next.9
48
+ - @forge/bundler@4.14.1-next.11
49
+
50
+ ## 3.8.7-next.11
51
+
52
+ ### Patch Changes
53
+
54
+ - @forge/bundler@4.14.1-next.10
55
+
56
+ ## 3.8.7-next.10
57
+
58
+ ### Patch Changes
59
+
60
+ - f329643: Don't call setDefaultAutoSelectFamily if not available (sandbox runtime)
61
+
3
62
  ## 3.8.7-next.9
4
63
 
5
64
  ### 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.9",
3
+ "version": "3.8.8-next.0",
4
4
  "description": "Tunnel functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -11,10 +11,10 @@
11
11
  "compile": "tsc -b -v"
12
12
  },
13
13
  "dependencies": {
14
- "@forge/bundler": "4.14.1-next.9",
15
- "@forge/cli-shared": "3.21.1-next.8",
14
+ "@forge/bundler": "4.14.2-next.0",
15
+ "@forge/cli-shared": "3.21.2-next.0",
16
16
  "@forge/csp": "3.1.1",
17
- "@forge/runtime": "5.2.1-next.0",
17
+ "@forge/runtime": "5.2.1",
18
18
  "express": "^4.18.2",
19
19
  "express-intercept": "^1.1.0",
20
20
  "http-proxy-middleware": "^2.0.6",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@atlassian/xen-test-util": "^3.1.2",
30
- "@forge/manifest": "5.2.0-next.3",
30
+ "@forge/manifest": "5.2.0",
31
31
  "@types/express": "^4.17.21",
32
32
  "@types/jest": "^29.5.8",
33
33
  "@types/node": "14.18.63",