@forge/tunnel 0.0.0-experimental-7c72fec → 0.0.0-experimental-edeb51b
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 +513 -5
- package/out/tunnelling/command/interactors/function-change-watcher.js +1 -1
- package/out/tunnelling/servers/dev-server.js +2 -2
- package/out/tunnelling/services/local-invocation-service.d.ts +4 -0
- package/out/tunnelling/services/local-invocation-service.d.ts.map +1 -1
- package/out/tunnelling/services/local-invocation-service.js +11 -2
- package/out/tunnelling/util/invocation-utils.d.ts +6 -0
- package/out/tunnelling/util/invocation-utils.d.ts.map +1 -1
- package/out/tunnelling/util/invocation-utils.js +2 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,521 @@
|
|
|
1
1
|
# @forge/tunnel
|
|
2
2
|
|
|
3
|
-
## 0.0.0-experimental-
|
|
3
|
+
## 0.0.0-experimental-edeb51b
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f33aada: Fix vulnerability dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [f33aada]
|
|
12
|
+
- Updated dependencies [726ef79]
|
|
13
|
+
- @forge/cli-shared@0.0.0-experimental-edeb51b
|
|
14
|
+
- @forge/bundler@0.0.0-experimental-edeb51b
|
|
15
|
+
- @forge/runtime@0.0.0-experimental-edeb51b
|
|
16
|
+
|
|
17
|
+
## 1.7.0-next.6
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- @forge/cli-shared@2.4.0-next.6
|
|
22
|
+
- @forge/bundler@3.0.3-next.6
|
|
23
|
+
|
|
24
|
+
## 1.7.0-next.5
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- @forge/cli-shared@2.4.0-next.5
|
|
29
|
+
- @forge/bundler@3.0.3-next.5
|
|
30
|
+
|
|
31
|
+
## 1.7.0-next.4
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- @forge/cli-shared@2.4.0-next.4
|
|
36
|
+
- @forge/bundler@3.0.3-next.4
|
|
37
|
+
|
|
38
|
+
## 1.7.0-next.3
|
|
39
|
+
|
|
40
|
+
### Minor Changes
|
|
41
|
+
|
|
42
|
+
- f33aada8: Fix vulnerability dependencies
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [f33aada8]
|
|
47
|
+
- Updated dependencies [726ef79d]
|
|
48
|
+
- @forge/cli-shared@2.4.0-next.3
|
|
49
|
+
- @forge/bundler@3.0.3-next.3
|
|
50
|
+
|
|
51
|
+
## 1.6.2-next.2
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- @forge/cli-shared@2.3.2-next.2
|
|
56
|
+
- @forge/bundler@3.0.3-next.2
|
|
57
|
+
|
|
58
|
+
## 1.6.2-next.1
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- @forge/cli-shared@2.3.2-next.1
|
|
63
|
+
- @forge/bundler@3.0.3-next.1
|
|
64
|
+
|
|
65
|
+
## 1.6.2-next.0
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- @forge/cli-shared@2.3.2-next.0
|
|
70
|
+
- @forge/bundler@3.0.3-next.0
|
|
71
|
+
|
|
72
|
+
## 1.6.1
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [04cddca]
|
|
77
|
+
- Updated dependencies [b820659]
|
|
78
|
+
- Updated dependencies [0a1513e]
|
|
79
|
+
- @forge/bundler@3.0.2
|
|
80
|
+
- @forge/runtime@1.16.0
|
|
81
|
+
- @forge/cli-shared@2.3.1
|
|
82
|
+
|
|
83
|
+
## 1.6.1-next.11
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- @forge/cli-shared@2.3.1-next.9
|
|
88
|
+
- @forge/bundler@3.0.2-next.10
|
|
89
|
+
|
|
90
|
+
## 1.6.1-next.10
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- @forge/cli-shared@2.3.1-next.8
|
|
95
|
+
- @forge/bundler@3.0.2-next.9
|
|
96
|
+
|
|
97
|
+
## 1.6.1-next.9
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- Updated dependencies [0a1513e6]
|
|
102
|
+
- @forge/runtime@1.16.0-next.1
|
|
103
|
+
- @forge/cli-shared@2.3.1-next.7
|
|
104
|
+
- @forge/bundler@3.0.2-next.8
|
|
105
|
+
|
|
106
|
+
## 1.6.1-next.8
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- @forge/cli-shared@2.3.1-next.6
|
|
111
|
+
- @forge/bundler@3.0.2-next.7
|
|
112
|
+
|
|
113
|
+
## 1.6.1-next.7
|
|
114
|
+
|
|
115
|
+
### Patch Changes
|
|
116
|
+
|
|
117
|
+
- @forge/cli-shared@2.3.1-next.5
|
|
118
|
+
- @forge/bundler@3.0.2-next.6
|
|
119
|
+
|
|
120
|
+
## 1.6.1-next.6
|
|
121
|
+
|
|
122
|
+
### Patch Changes
|
|
123
|
+
|
|
124
|
+
- @forge/cli-shared@2.3.1-next.4
|
|
125
|
+
- @forge/bundler@3.0.2-next.5
|
|
126
|
+
|
|
127
|
+
## 1.6.1-next.5
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- @forge/cli-shared@2.3.1-next.3
|
|
132
|
+
- @forge/bundler@3.0.2-next.4
|
|
133
|
+
|
|
134
|
+
## 1.6.1-next.4
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- @forge/cli-shared@2.3.1-next.2
|
|
139
|
+
- @forge/bundler@3.0.2-next.3
|
|
140
|
+
|
|
141
|
+
## 1.6.1-next.3
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- @forge/cli-shared@2.3.1-next.1
|
|
146
|
+
- @forge/bundler@3.0.2-next.2
|
|
147
|
+
|
|
148
|
+
## 1.6.1-next.2
|
|
149
|
+
|
|
150
|
+
### Patch Changes
|
|
151
|
+
|
|
152
|
+
- Updated dependencies [b820659]
|
|
153
|
+
- @forge/runtime@1.16.0-next.0
|
|
154
|
+
|
|
155
|
+
## 1.6.1-next.1
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [04cddcaa]
|
|
160
|
+
- @forge/bundler@3.0.2-next.1
|
|
161
|
+
|
|
162
|
+
## 1.6.1-next.0
|
|
163
|
+
|
|
164
|
+
### Patch Changes
|
|
165
|
+
|
|
166
|
+
- @forge/cli-shared@2.3.1-next.0
|
|
167
|
+
- @forge/bundler@3.0.2-next.0
|
|
168
|
+
|
|
169
|
+
## 1.6.0
|
|
170
|
+
|
|
171
|
+
### Minor Changes
|
|
172
|
+
|
|
173
|
+
- cee5eea1: Observability improvements
|
|
174
|
+
|
|
175
|
+
### Patch Changes
|
|
176
|
+
|
|
177
|
+
- 68c1a7f: Fix for observability
|
|
178
|
+
- ca79652: Improve observability
|
|
179
|
+
- Updated dependencies [b673009]
|
|
180
|
+
- Updated dependencies [cee5eea1]
|
|
181
|
+
- Updated dependencies [47a71a6]
|
|
182
|
+
- Updated dependencies [e95919f]
|
|
183
|
+
- Updated dependencies [56164fe]
|
|
184
|
+
- Updated dependencies [949bd40]
|
|
185
|
+
- Updated dependencies [cf2420d]
|
|
186
|
+
- Updated dependencies [ca79652]
|
|
187
|
+
- @forge/runtime@1.15.0
|
|
188
|
+
- @forge/cli-shared@2.3.0
|
|
189
|
+
- @forge/csp@1.10.0
|
|
190
|
+
- @forge/bundler@3.0.1
|
|
191
|
+
|
|
192
|
+
## 1.6.0-next.14
|
|
193
|
+
|
|
194
|
+
### Patch Changes
|
|
195
|
+
|
|
196
|
+
- @forge/cli-shared@2.3.0-next.11
|
|
197
|
+
- @forge/bundler@3.0.1-next.12
|
|
198
|
+
|
|
199
|
+
## 1.6.0-next.13
|
|
200
|
+
|
|
201
|
+
### Patch Changes
|
|
202
|
+
|
|
203
|
+
- 68c1a7f3: Fix for observability
|
|
204
|
+
|
|
205
|
+
## 1.6.0-next.12
|
|
206
|
+
|
|
207
|
+
### Patch Changes
|
|
208
|
+
|
|
209
|
+
- Updated dependencies [47a71a62]
|
|
210
|
+
- @forge/cli-shared@2.3.0-next.10
|
|
211
|
+
- @forge/runtime@1.15.0-next.4
|
|
212
|
+
- @forge/bundler@3.0.1-next.11
|
|
213
|
+
|
|
214
|
+
## 1.6.0-next.11
|
|
215
|
+
|
|
216
|
+
### Patch Changes
|
|
217
|
+
|
|
218
|
+
- Updated dependencies [cf2420d2]
|
|
219
|
+
- @forge/cli-shared@2.3.0-next.9
|
|
220
|
+
- @forge/bundler@3.0.1-next.10
|
|
221
|
+
|
|
222
|
+
## 1.6.0-next.10
|
|
223
|
+
|
|
224
|
+
### Patch Changes
|
|
225
|
+
|
|
226
|
+
- Updated dependencies [b6730093]
|
|
227
|
+
- @forge/runtime@1.15.0-next.3
|
|
228
|
+
|
|
229
|
+
## 1.6.0-next.9
|
|
230
|
+
|
|
231
|
+
### Patch Changes
|
|
232
|
+
|
|
233
|
+
- @forge/cli-shared@2.3.0-next.8
|
|
234
|
+
- @forge/bundler@3.0.1-next.9
|
|
235
|
+
|
|
236
|
+
## 1.6.0-next.8
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- ca79652: Improve observability
|
|
241
|
+
- Updated dependencies [ca79652]
|
|
242
|
+
- @forge/runtime@1.15.0-next.2
|
|
243
|
+
- @forge/cli-shared@2.3.0-next.7
|
|
244
|
+
- @forge/bundler@3.0.1-next.8
|
|
245
|
+
|
|
246
|
+
## 1.6.0-next.7
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- Updated dependencies [e95919f]
|
|
251
|
+
- @forge/csp@1.10.0-next.1
|
|
252
|
+
- @forge/cli-shared@2.3.0-next.6
|
|
253
|
+
- @forge/bundler@3.0.1-next.7
|
|
254
|
+
|
|
255
|
+
## 1.6.0-next.6
|
|
256
|
+
|
|
257
|
+
### Patch Changes
|
|
258
|
+
|
|
259
|
+
- @forge/cli-shared@2.3.0-next.5
|
|
260
|
+
- @forge/bundler@3.0.1-next.6
|
|
261
|
+
|
|
262
|
+
## 1.6.0-next.5
|
|
263
|
+
|
|
264
|
+
### Patch Changes
|
|
265
|
+
|
|
266
|
+
- @forge/cli-shared@2.3.0-next.4
|
|
267
|
+
- @forge/bundler@3.0.1-next.5
|
|
268
|
+
|
|
269
|
+
## 1.6.0-next.4
|
|
270
|
+
|
|
271
|
+
### Minor Changes
|
|
272
|
+
|
|
273
|
+
- cee5eea: Observability improvements
|
|
274
|
+
|
|
275
|
+
### Patch Changes
|
|
276
|
+
|
|
277
|
+
- Updated dependencies [cee5eea]
|
|
278
|
+
- @forge/runtime@1.15.0-next.1
|
|
279
|
+
- @forge/cli-shared@2.3.0-next.3
|
|
280
|
+
- @forge/bundler@3.0.1-next.4
|
|
281
|
+
|
|
282
|
+
## 1.5.3-next.3
|
|
283
|
+
|
|
284
|
+
### Patch Changes
|
|
285
|
+
|
|
286
|
+
- @forge/cli-shared@2.3.0-next.2
|
|
287
|
+
- @forge/bundler@3.0.1-next.3
|
|
288
|
+
|
|
289
|
+
## 1.5.3-next.2
|
|
290
|
+
|
|
291
|
+
### Patch Changes
|
|
292
|
+
|
|
293
|
+
- Updated dependencies [56164fe]
|
|
294
|
+
- @forge/csp@1.10.0-next.0
|
|
295
|
+
- @forge/runtime@1.14.1-next.0
|
|
296
|
+
- @forge/bundler@3.0.1-next.2
|
|
297
|
+
|
|
298
|
+
## 1.5.3-next.1
|
|
299
|
+
|
|
300
|
+
### Patch Changes
|
|
301
|
+
|
|
302
|
+
- @forge/cli-shared@2.3.0-next.1
|
|
303
|
+
- @forge/bundler@3.0.1-next.1
|
|
304
|
+
|
|
305
|
+
## 1.5.3-next.0
|
|
306
|
+
|
|
307
|
+
### Patch Changes
|
|
308
|
+
|
|
309
|
+
- Updated dependencies [949bd40]
|
|
310
|
+
- @forge/cli-shared@2.3.0-next.0
|
|
311
|
+
- @forge/bundler@3.0.1-next.0
|
|
312
|
+
|
|
313
|
+
## 1.5.2
|
|
314
|
+
|
|
315
|
+
### Patch Changes
|
|
316
|
+
|
|
317
|
+
- Updated dependencies [1f6cf08]
|
|
318
|
+
- Updated dependencies [f27cbfc]
|
|
319
|
+
- Updated dependencies [04fcd8c]
|
|
320
|
+
- Updated dependencies [3103a29]
|
|
321
|
+
- Updated dependencies [60fcb01]
|
|
322
|
+
- Updated dependencies [66f17fe]
|
|
323
|
+
- Updated dependencies [25bcf54]
|
|
324
|
+
- Updated dependencies [057cdfc]
|
|
325
|
+
- @forge/bundler@3.0.0
|
|
326
|
+
- @forge/runtime@1.14.0
|
|
327
|
+
- @forge/cli-shared@2.2.2
|
|
328
|
+
|
|
329
|
+
## 1.5.2-next.11
|
|
330
|
+
|
|
331
|
+
### Patch Changes
|
|
332
|
+
|
|
333
|
+
- Updated dependencies [04fcd8c7]
|
|
334
|
+
- @forge/bundler@3.0.0-next.10
|
|
335
|
+
|
|
336
|
+
## 1.5.2-next.10
|
|
337
|
+
|
|
338
|
+
### Patch Changes
|
|
339
|
+
|
|
340
|
+
- Updated dependencies [057cdfcc]
|
|
341
|
+
- @forge/bundler@3.0.0-next.9
|
|
342
|
+
- @forge/cli-shared@2.2.2-next.6
|
|
343
|
+
|
|
344
|
+
## 1.5.2-next.9
|
|
345
|
+
|
|
346
|
+
### Patch Changes
|
|
347
|
+
|
|
348
|
+
- @forge/cli-shared@2.2.2-next.5
|
|
349
|
+
- @forge/bundler@3.0.0-next.8
|
|
350
|
+
|
|
351
|
+
## 1.5.2-next.8
|
|
352
|
+
|
|
353
|
+
### Patch Changes
|
|
354
|
+
|
|
355
|
+
- Updated dependencies [3103a290]
|
|
356
|
+
- @forge/bundler@3.0.0-next.7
|
|
357
|
+
- @forge/cli-shared@2.2.2-next.4
|
|
358
|
+
|
|
359
|
+
## 1.5.2-next.7
|
|
360
|
+
|
|
361
|
+
### Patch Changes
|
|
362
|
+
|
|
363
|
+
- Updated dependencies [66f17fe]
|
|
364
|
+
- @forge/runtime@1.14.0-next.1
|
|
365
|
+
|
|
366
|
+
## 1.5.2-next.6
|
|
367
|
+
|
|
368
|
+
### Patch Changes
|
|
369
|
+
|
|
370
|
+
- Updated dependencies [60fcb01]
|
|
371
|
+
- @forge/bundler@3.0.0-next.6
|
|
372
|
+
|
|
373
|
+
## 1.5.2-next.5
|
|
374
|
+
|
|
375
|
+
### Patch Changes
|
|
376
|
+
|
|
377
|
+
- Updated dependencies [1f6cf083]
|
|
378
|
+
- @forge/bundler@2.1.0-next.5
|
|
379
|
+
|
|
380
|
+
## 1.5.2-next.4
|
|
381
|
+
|
|
382
|
+
### Patch Changes
|
|
383
|
+
|
|
384
|
+
- Updated dependencies [25bcf54e]
|
|
385
|
+
- @forge/runtime@1.14.0-next.0
|
|
386
|
+
- @forge/cli-shared@2.2.2-next.3
|
|
387
|
+
- @forge/bundler@2.0.1-next.4
|
|
388
|
+
|
|
389
|
+
## 1.5.2-next.3
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- @forge/cli-shared@2.2.2-next.2
|
|
394
|
+
- @forge/bundler@2.0.1-next.3
|
|
395
|
+
|
|
396
|
+
## 1.5.2-next.2
|
|
397
|
+
|
|
398
|
+
### Patch Changes
|
|
399
|
+
|
|
400
|
+
- @forge/cli-shared@2.2.2-next.1
|
|
401
|
+
- @forge/bundler@2.0.1-next.2
|
|
402
|
+
|
|
403
|
+
## 1.5.2-next.1
|
|
404
|
+
|
|
405
|
+
### Patch Changes
|
|
406
|
+
|
|
407
|
+
- Updated dependencies [f27cbfc]
|
|
408
|
+
- @forge/bundler@2.0.1-next.1
|
|
409
|
+
|
|
410
|
+
## 1.5.2-next.0
|
|
411
|
+
|
|
412
|
+
### Patch Changes
|
|
413
|
+
|
|
414
|
+
- @forge/cli-shared@2.2.2-next.0
|
|
415
|
+
- @forge/bundler@2.0.1-next.0
|
|
416
|
+
|
|
417
|
+
## 1.5.1
|
|
418
|
+
|
|
419
|
+
### Patch Changes
|
|
420
|
+
|
|
421
|
+
- Updated dependencies [37f9898]
|
|
422
|
+
- Updated dependencies [037c31a5]
|
|
423
|
+
- Updated dependencies [7d0ef8b]
|
|
424
|
+
- @forge/bundler@2.0.0
|
|
425
|
+
- @forge/runtime@1.13.0
|
|
426
|
+
- @forge/cli-shared@2.2.1
|
|
427
|
+
|
|
428
|
+
## 1.5.1-next.13
|
|
429
|
+
|
|
430
|
+
### Patch Changes
|
|
431
|
+
|
|
432
|
+
- Updated dependencies [7d0ef8b]
|
|
433
|
+
- @forge/bundler@2.0.0-next.13
|
|
434
|
+
|
|
435
|
+
## 1.5.1-next.12
|
|
436
|
+
|
|
437
|
+
### Patch Changes
|
|
438
|
+
|
|
439
|
+
- @forge/cli-shared@2.2.1-next.9
|
|
440
|
+
- @forge/bundler@2.0.0-next.12
|
|
441
|
+
|
|
442
|
+
## 1.5.1-next.11
|
|
443
|
+
|
|
444
|
+
### Patch Changes
|
|
445
|
+
|
|
446
|
+
- Updated dependencies [37f9898]
|
|
447
|
+
- @forge/bundler@2.0.0-next.11
|
|
448
|
+
|
|
449
|
+
## 1.5.1-next.10
|
|
450
|
+
|
|
451
|
+
### Patch Changes
|
|
452
|
+
|
|
453
|
+
- @forge/bundler@2.0.0-next.10
|
|
454
|
+
- @forge/cli-shared@2.2.1-next.8
|
|
455
|
+
|
|
456
|
+
## 1.5.1-next.9
|
|
457
|
+
|
|
458
|
+
### Patch Changes
|
|
459
|
+
|
|
460
|
+
- Updated dependencies [037c31a]
|
|
461
|
+
- @forge/bundler@2.0.0-next.9
|
|
462
|
+
- @forge/runtime@1.13.0-next.1
|
|
463
|
+
- @forge/cli-shared@2.2.1-next.7
|
|
464
|
+
|
|
465
|
+
## 1.5.1-next.8
|
|
466
|
+
|
|
467
|
+
### Patch Changes
|
|
468
|
+
|
|
469
|
+
- @forge/bundler@1.1.1-next.8
|
|
470
|
+
|
|
471
|
+
## 1.5.1-next.7
|
|
472
|
+
|
|
473
|
+
### Patch Changes
|
|
474
|
+
|
|
475
|
+
- @forge/cli-shared@2.2.1-next.6
|
|
476
|
+
- @forge/bundler@1.1.1-next.7
|
|
477
|
+
|
|
478
|
+
## 1.5.1-next.6
|
|
479
|
+
|
|
480
|
+
### Patch Changes
|
|
481
|
+
|
|
482
|
+
- @forge/bundler@1.1.1-next.6
|
|
483
|
+
|
|
484
|
+
## 1.5.1-next.5
|
|
485
|
+
|
|
486
|
+
### Patch Changes
|
|
487
|
+
|
|
488
|
+
- @forge/cli-shared@2.2.1-next.5
|
|
489
|
+
- @forge/bundler@1.1.1-next.5
|
|
490
|
+
|
|
491
|
+
## 1.5.1-next.4
|
|
492
|
+
|
|
493
|
+
### Patch Changes
|
|
494
|
+
|
|
495
|
+
- @forge/bundler@1.1.1-next.4
|
|
496
|
+
- @forge/cli-shared@2.2.1-next.4
|
|
497
|
+
|
|
498
|
+
## 1.5.1-next.3
|
|
499
|
+
|
|
500
|
+
### Patch Changes
|
|
501
|
+
|
|
502
|
+
- @forge/cli-shared@2.2.1-next.3
|
|
503
|
+
- @forge/bundler@1.1.1-next.3
|
|
504
|
+
|
|
505
|
+
## 1.5.1-next.2
|
|
506
|
+
|
|
507
|
+
### Patch Changes
|
|
508
|
+
|
|
509
|
+
- @forge/bundler@1.1.1-next.2
|
|
510
|
+
- @forge/cli-shared@2.2.1-next.2
|
|
511
|
+
|
|
512
|
+
## 1.5.1-next.1
|
|
4
513
|
|
|
5
514
|
### Patch Changes
|
|
6
515
|
|
|
7
|
-
- @forge/
|
|
8
|
-
- @forge/
|
|
9
|
-
- @forge/
|
|
10
|
-
- @forge/bundler@0.0.0-experimental-7c72fec
|
|
516
|
+
- @forge/runtime@1.12.1-next.0
|
|
517
|
+
- @forge/cli-shared@2.2.1-next.1
|
|
518
|
+
- @forge/bundler@1.1.1-next.1
|
|
11
519
|
|
|
12
520
|
## 1.5.1-next.0
|
|
13
521
|
|
|
@@ -49,7 +49,7 @@ class LocalFunctionHost {
|
|
|
49
49
|
bundleFileSourceMapPath: path_1.resolve(directory, `${bundleName}.js.map`),
|
|
50
50
|
bundleFileSourceMap: bundledCode.sourceMap ? bundledCode.sourceMap[bundleName] : undefined
|
|
51
51
|
}));
|
|
52
|
-
const manifestFilePath = path_1.resolve(directory, cli_shared_1.
|
|
52
|
+
const manifestFilePath = path_1.resolve(directory, cli_shared_1.manifestFileName);
|
|
53
53
|
const manifestContents = JSON.stringify(await this.configFile.readConfig());
|
|
54
54
|
const allPromises = [];
|
|
55
55
|
bundles.forEach((bundle) => allPromises.push(this.generateBundleFiles(bundle, isSnapshotEnabled)));
|
|
@@ -27,8 +27,8 @@ class LocalDevelopmentServer {
|
|
|
27
27
|
}).filter((item) => typeof item === 'string')) !== null && _f !== void 0 ? _f : undefined;
|
|
28
28
|
request._meta = Object.assign(Object.assign({}, request._meta), { fetchAllowList: allowList });
|
|
29
29
|
try {
|
|
30
|
-
const
|
|
31
|
-
res.json(
|
|
30
|
+
const invokeResults = await this.invocationService.invoke(request.handler, request);
|
|
31
|
+
res.json(invokeResults);
|
|
32
32
|
}
|
|
33
33
|
catch (error) {
|
|
34
34
|
try {
|
|
@@ -7,5 +7,9 @@ export declare class LocalInvocationService implements InvocationService {
|
|
|
7
7
|
private readonly inspector;
|
|
8
8
|
constructor(configFile: ConfigFile, logger: Logger, inspector: Inspector);
|
|
9
9
|
invoke(handler: string, request: ExternalRequestBody): Promise<any>;
|
|
10
|
+
static INTERNAL_METRICS: string[];
|
|
11
|
+
static printMetrics: (shouldReportMetrics: boolean, metrics: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}[] | undefined, logger: Logger) => void;
|
|
10
14
|
}
|
|
11
15
|
//# sourceMappingURL=local-invocation-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-invocation-service.d.ts","sourceRoot":"","sources":["../../../src/tunnelling/services/local-invocation-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACL,mBAAmB,EACnB,SAAS,EAIV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,EAAyB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"local-invocation-service.d.ts","sourceRoot":"","sources":["../../../src/tunnelling/services/local-invocation-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACL,mBAAmB,EACnB,SAAS,EAIV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,EAAyB,MAAM,mBAAmB,CAAC;AAI9E,qBAAa,sBAAuB,YAAW,iBAAiB;IAE5D,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAFT,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS;IAG1B,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC;IAqDhF,MAAM,CAAC,gBAAgB,WAA6D;IAEpF,MAAM,CAAC,YAAY,wBACI,OAAO;;6BAEpB,MAAM,KACb,IAAI,CAUL;CACH"}
|
|
@@ -8,6 +8,7 @@ const v4_1 = tslib_1.__importDefault(require("uuid/v4"));
|
|
|
8
8
|
const runtime_1 = require("@forge/runtime");
|
|
9
9
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
10
10
|
const interactors_1 = require("../command/interactors");
|
|
11
|
+
const feature_flag_1 = require("@forge/runtime/out/feature-flag");
|
|
11
12
|
class LocalInvocationService {
|
|
12
13
|
constructor(configFile, logger, inspector) {
|
|
13
14
|
this.configFile = configFile;
|
|
@@ -43,13 +44,21 @@ class LocalInvocationService {
|
|
|
43
44
|
ctx: { requestId, traceId: requestId, timeout: interactors_1.INVOCATION_TIMEOUT }
|
|
44
45
|
});
|
|
45
46
|
const invocationLimits = runtime_1.perInvocationLimitsTrackerFactory(xenInvocationRequest);
|
|
46
|
-
const { body } = await runtime_1.invoke({
|
|
47
|
+
const { body, metrics } = await runtime_1.invoke({
|
|
47
48
|
sandbox,
|
|
48
49
|
xenInvocationRequest,
|
|
49
50
|
invocationLimits,
|
|
50
51
|
inspector: inspect ? this.inspector : undefined
|
|
51
52
|
});
|
|
52
|
-
|
|
53
|
+
const reportMetrics = xenInvocationRequest.isFeatureFlagEnabled(feature_flag_1.XEN_RUNTIME_SHOULD_REPORT_METRICS);
|
|
54
|
+
LocalInvocationService.printMetrics(reportMetrics, metrics, this.logger);
|
|
55
|
+
return reportMetrics ? { body, metrics } : body;
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
exports.LocalInvocationService = LocalInvocationService;
|
|
59
|
+
LocalInvocationService.INTERNAL_METRICS = ['execute.setup-request-context', 'invoke.setup-isolate'];
|
|
60
|
+
LocalInvocationService.printMetrics = (shouldReportMetrics, metrics, logger) => {
|
|
61
|
+
if (shouldReportMetrics && (metrics === null || metrics === void 0 ? void 0 : metrics.length)) {
|
|
62
|
+
logger.debug(`Metrics: ${JSON.stringify(metrics.filter((m) => !LocalInvocationService.INTERNAL_METRICS.includes(m.name)), null, 2)}`);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
@@ -5,9 +5,15 @@ interface LambdaError {
|
|
|
5
5
|
errorMessage: string;
|
|
6
6
|
stack: string[];
|
|
7
7
|
serviceKey?: string;
|
|
8
|
+
metrics?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}[];
|
|
8
11
|
}
|
|
9
12
|
interface InvokeFunctionErrors extends Error {
|
|
10
13
|
serviceKey?: string;
|
|
14
|
+
metrics?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}[];
|
|
11
17
|
}
|
|
12
18
|
export declare const toLambdaError: (error: InvokeFunctionErrors) => LambdaError;
|
|
13
19
|
export declare const getRequestId: (request: any, value?: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocation-utils.d.ts","sourceRoot":"","sources":["../../../src/tunnelling/util/invocation-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAK3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,UAAU,WAAW;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"invocation-utils.d.ts","sourceRoot":"","sources":["../../../src/tunnelling/util/invocation-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAK3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,UAAU,WAAW;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;CACpC;AAED,UAAU,oBAAqB,SAAQ,KAAK;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;CACpC;AAED,eAAO,MAAM,aAAa,UAAW,oBAAoB,KAAG,WAQ3D,CAAC;AAEF,eAAO,MAAM,YAAY,YAAa,GAAG,qBAAsB,MAU9D,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,MAAM,WAAW,GAAG,KAAG,MAGhE,CAAC;AAMF,eAAO,MAAM,eAAe,QAAO,MAOlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,UAAU,KAAG,MAUpD,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,MAAM,KAAG,0BAY3C,CAAC"}
|
|
@@ -7,7 +7,8 @@ exports.toLambdaError = (error) => {
|
|
|
7
7
|
errorMessage: error.message,
|
|
8
8
|
errorType: error.name,
|
|
9
9
|
stack: (error.stack || '').split('\n'),
|
|
10
|
-
serviceKey: error.serviceKey
|
|
10
|
+
serviceKey: error.serviceKey,
|
|
11
|
+
metrics: error.metrics
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
exports.getRequestId = (request, value = 'unknown') => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/tunnel",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-edeb51b",
|
|
4
4
|
"description": "Tunnel functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"postbuild": "chmod +x out/*.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@forge/bundler": "0.0.0-experimental-
|
|
20
|
-
"@forge/cli-shared": "0.0.0-experimental-
|
|
21
|
-
"@forge/csp": "^
|
|
19
|
+
"@forge/bundler": "0.0.0-experimental-edeb51b",
|
|
20
|
+
"@forge/cli-shared": "0.0.0-experimental-edeb51b",
|
|
21
|
+
"@forge/csp": "^1.10.0",
|
|
22
22
|
"@forge/isolated-vm": "3.3.10",
|
|
23
|
-
"@forge/runtime": "0.0.0-experimental-
|
|
23
|
+
"@forge/runtime": "0.0.0-experimental-edeb51b",
|
|
24
24
|
"express": "^4.17.1",
|
|
25
25
|
"express-mung": "^0.5.1",
|
|
26
26
|
"http-proxy-middleware": "^1.0.6",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"uuid": "^3.4.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@forge/manifest": "^0.0.0-experimental-
|
|
34
|
+
"@forge/manifest": "^0.0.0-experimental-edeb51b",
|
|
35
35
|
"@types/express": "^4.17.2",
|
|
36
36
|
"@types/express-mung": "^0.5.2",
|
|
37
37
|
"@types/jest": "^26.0.0",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@types/supertest": "^2.0.10",
|
|
41
41
|
"@types/tmp": "^0.1.0",
|
|
42
42
|
"@types/uuid": "^3.4.7",
|
|
43
|
-
"node-fetch": "
|
|
43
|
+
"node-fetch": "2.6.1",
|
|
44
44
|
"supertest": "^6.1.3"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"keytar": "^
|
|
47
|
+
"keytar": "^7.0.0"
|
|
48
48
|
}
|
|
49
49
|
}
|