@forge/tunnel 5.5.3-next.9 → 5.5.3
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,104 @@
|
|
|
1
1
|
# @forge/tunnel
|
|
2
2
|
|
|
3
|
+
## 5.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a128084: Fix metrics publication for tunnel invocations
|
|
8
|
+
- Updated dependencies [9c5836c]
|
|
9
|
+
- Updated dependencies [3d92b59]
|
|
10
|
+
- Updated dependencies [238e7ab]
|
|
11
|
+
- Updated dependencies [89b9453]
|
|
12
|
+
- Updated dependencies [f354267]
|
|
13
|
+
- Updated dependencies [f81ee89]
|
|
14
|
+
- Updated dependencies [6b41440]
|
|
15
|
+
- Updated dependencies [a128084]
|
|
16
|
+
- @forge/cli-shared@6.0.0
|
|
17
|
+
- @forge/runtime@5.10.2
|
|
18
|
+
- @forge/bundler@4.19.3
|
|
19
|
+
|
|
20
|
+
## 5.5.3-next.20
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [3d92b59]
|
|
25
|
+
- @forge/cli-shared@6.0.0-next.18
|
|
26
|
+
- @forge/bundler@4.19.3-next.19
|
|
27
|
+
|
|
28
|
+
## 5.5.3-next.19
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [6b41440]
|
|
33
|
+
- @forge/cli-shared@6.0.0-next.17
|
|
34
|
+
- @forge/bundler@4.19.3-next.18
|
|
35
|
+
|
|
36
|
+
## 5.5.3-next.18
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [f354267]
|
|
41
|
+
- @forge/cli-shared@6.0.0-next.16
|
|
42
|
+
- @forge/bundler@4.19.3-next.17
|
|
43
|
+
|
|
44
|
+
## 5.5.3-next.17
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- a128084: Fix metrics publication for tunnel invocations
|
|
49
|
+
- Updated dependencies [a128084]
|
|
50
|
+
- @forge/runtime@5.10.2-next.0
|
|
51
|
+
|
|
52
|
+
## 5.5.3-next.16
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [9c5836c]
|
|
57
|
+
- @forge/cli-shared@5.6.0-next.15
|
|
58
|
+
- @forge/bundler@4.19.3-next.16
|
|
59
|
+
|
|
60
|
+
## 5.5.3-next.15
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- @forge/bundler@4.19.3-next.15
|
|
65
|
+
- @forge/cli-shared@5.6.0-next.14
|
|
66
|
+
|
|
67
|
+
## 5.5.3-next.14
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- @forge/bundler@4.19.3-next.14
|
|
72
|
+
- @forge/cli-shared@5.6.0-next.13
|
|
73
|
+
|
|
74
|
+
## 5.5.3-next.13
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- @forge/bundler@4.19.3-next.13
|
|
79
|
+
- @forge/cli-shared@5.6.0-next.12
|
|
80
|
+
|
|
81
|
+
## 5.5.3-next.12
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- @forge/bundler@4.19.3-next.12
|
|
86
|
+
- @forge/cli-shared@5.6.0-next.11
|
|
87
|
+
|
|
88
|
+
## 5.5.3-next.11
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- @forge/bundler@4.19.3-next.11
|
|
93
|
+
- @forge/cli-shared@5.6.0-next.10
|
|
94
|
+
|
|
95
|
+
## 5.5.3-next.10
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- @forge/bundler@4.19.3-next.10
|
|
100
|
+
- @forge/cli-shared@5.6.0-next.9
|
|
101
|
+
|
|
3
102
|
## 5.5.3-next.9
|
|
4
103
|
|
|
5
104
|
### Patch Changes
|
|
@@ -49,7 +49,7 @@ class LocalInvocationService {
|
|
|
49
49
|
const tunnelWarningTimeout = setTimeout(() => {
|
|
50
50
|
this.logger.warn(cli_shared_1.Text.tunnel.invocationTimeout(timeout));
|
|
51
51
|
}, timeout * 1000);
|
|
52
|
-
const { body, metrics, success, error } = await (0, runtime_1.invoke)({
|
|
52
|
+
const { body, metrics, success, error, metricsCompressed } = await (0, runtime_1.invoke)({
|
|
53
53
|
sandbox,
|
|
54
54
|
xenInvocationRequest,
|
|
55
55
|
invocationLimits,
|
|
@@ -58,7 +58,7 @@ class LocalInvocationService {
|
|
|
58
58
|
clearTimeout(tunnelWarningTimeout);
|
|
59
59
|
const reportMetrics = xenInvocationRequest.isFeatureFlagEnabled(runtime_1.XEN_RUNTIME_SHOULD_REPORT_METRICS);
|
|
60
60
|
LocalInvocationService.printMetrics(reportMetrics, metrics, this.logger);
|
|
61
|
-
return reportMetrics ? { body, metrics, success, error } : body;
|
|
61
|
+
return reportMetrics ? { body, metrics, success, error, metricsCompressed } : body;
|
|
62
62
|
}
|
|
63
63
|
static INTERNAL_METRICS = ['execute.setup-request-context', 'invoke.setup-isolate'];
|
|
64
64
|
static printMetrics = (shouldReportMetrics, metrics, logger) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/tunnel",
|
|
3
|
-
"version": "5.5.3
|
|
3
|
+
"version": "5.5.3",
|
|
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.19.3
|
|
15
|
-
"@forge/cli-shared": "
|
|
14
|
+
"@forge/bundler": "4.19.3",
|
|
15
|
+
"@forge/cli-shared": "6.0.0",
|
|
16
16
|
"@forge/csp": "3.3.0",
|
|
17
|
-
"@forge/runtime": "5.10.
|
|
17
|
+
"@forge/runtime": "5.10.2",
|
|
18
18
|
"chokidar": "^3.6.0",
|
|
19
19
|
"cloudflared": "^0.5.2",
|
|
20
20
|
"express": "^4.18.3",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@atlassian/xen-test-util": "^4.2.0",
|
|
32
|
-
"@forge/manifest": "7.9.0
|
|
32
|
+
"@forge/manifest": "7.9.0",
|
|
33
33
|
"@types/express": "^4.17.21",
|
|
34
34
|
"@types/jest": "^29.5.12",
|
|
35
35
|
"@types/node": "14.18.63",
|