@forge/tunnel 3.7.0-next.9 → 3.7.1-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,219 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 3.7.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [521fda43]
8
+ - Updated dependencies [fe74dfbd]
9
+ - @forge/bundler@4.12.1-next.0
10
+ - @forge/cli-shared@3.18.1-next.0
11
+
12
+ ## 3.7.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 424cf45e: Use CDN packaged wrapper script for the node runtime
17
+
18
+ ### Patch Changes
19
+
20
+ - ccc113ec: Bumping dependencies via Renovate:
21
+
22
+ - @types/node
23
+
24
+ - e3260cf8: Bumping dependencies via Renovate:
25
+
26
+ - @types/node
27
+
28
+ - 934c16e2: Bumping dependencies via Renovate:
29
+
30
+ - @atlassian/xen-test-util
31
+
32
+ - bf0a343b: Bumping dependencies via Renovate:
33
+
34
+ - @types/jest
35
+
36
+ - 902c23c0: Fetch wrapper directly from CDN instead of Launchdarkly
37
+ - caaa61af: Bumping dependencies via Renovate:
38
+
39
+ - @types/uuid
40
+
41
+ - bdb0f05b: Bumping dependencies via Renovate:
42
+
43
+ - @atlassian/xen-test-util
44
+
45
+ - 9b9f58d3: Bumping dependencies via Renovate:
46
+
47
+ - @types/node
48
+
49
+ - Updated dependencies [ccc113ec]
50
+ - Updated dependencies [82f09e75]
51
+ - Updated dependencies [e3260cf8]
52
+ - Updated dependencies [13b5f023]
53
+ - Updated dependencies [9f70463a]
54
+ - Updated dependencies [424cf45e]
55
+ - Updated dependencies [934c16e2]
56
+ - Updated dependencies [bf0a343b]
57
+ - Updated dependencies [fbb55b2c]
58
+ - Updated dependencies [9a78932b]
59
+ - Updated dependencies [770654be]
60
+ - Updated dependencies [d8672a76]
61
+ - Updated dependencies [4eb157b6]
62
+ - Updated dependencies [d42bc08d]
63
+ - Updated dependencies [902c23c0]
64
+ - Updated dependencies [e87a2d8e]
65
+ - Updated dependencies [edf4f2c5]
66
+ - Updated dependencies [45147109]
67
+ - Updated dependencies [ffb75e7f]
68
+ - Updated dependencies [b22ff2d0]
69
+ - Updated dependencies [bdb0f05b]
70
+ - Updated dependencies [eb261114]
71
+ - Updated dependencies [9b9f58d3]
72
+ - @forge/bundler@4.12.0
73
+ - @forge/cli-shared@3.18.0
74
+ - @forge/csp@2.2.1
75
+ - @forge/runtime@5.0.1
76
+
77
+ ## 3.7.0-next.25
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [ffb75e7f]
82
+ - @forge/cli-shared@3.18.0-next.15
83
+ - @forge/bundler@4.12.0-next.24
84
+
85
+ ## 3.7.0-next.24
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [b22ff2d0]
90
+ - @forge/cli-shared@3.18.0-next.14
91
+ - @forge/bundler@4.12.0-next.23
92
+
93
+ ## 3.7.0-next.23
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [d42bc08d]
98
+ - @forge/bundler@4.12.0-next.22
99
+
100
+ ## 3.7.0-next.22
101
+
102
+ ### Patch Changes
103
+
104
+ - @forge/bundler@4.12.0-next.21
105
+
106
+ ## 3.7.0-next.21
107
+
108
+ ### Patch Changes
109
+
110
+ - @forge/cli-shared@3.18.0-next.13
111
+ - @forge/bundler@4.12.0-next.20
112
+
113
+ ## 3.7.0-next.20
114
+
115
+ ### Patch Changes
116
+
117
+ - Updated dependencies [770654be]
118
+ - @forge/bundler@4.12.0-next.19
119
+ - @forge/runtime@5.0.1-next.7
120
+
121
+ ## 3.7.0-next.19
122
+
123
+ ### Patch Changes
124
+
125
+ - 902c23c0: Fetch wrapper directly from CDN instead of Launchdarkly
126
+ - Updated dependencies [902c23c0]
127
+ - @forge/bundler@4.12.0-next.18
128
+
129
+ ## 3.7.0-next.18
130
+
131
+ ### Patch Changes
132
+
133
+ - e3260cf: Bumping dependencies via Renovate:
134
+
135
+ - @types/node
136
+
137
+ - Updated dependencies [e3260cf]
138
+ - @forge/bundler@4.12.0-next.17
139
+ - @forge/cli-shared@3.18.0-next.12
140
+ - @forge/csp@2.2.1-next.3
141
+ - @forge/runtime@5.0.1-next.6
142
+
143
+ ## 3.7.0-next.17
144
+
145
+ ### Patch Changes
146
+
147
+ - @forge/bundler@4.12.0-next.16
148
+
149
+ ## 3.7.0-next.16
150
+
151
+ ### Patch Changes
152
+
153
+ - Updated dependencies [4eb157b6]
154
+ - @forge/runtime@5.0.1-next.5
155
+ - @forge/bundler@4.12.0-next.15
156
+
157
+ ## 3.7.0-next.15
158
+
159
+ ### Patch Changes
160
+
161
+ - @forge/cli-shared@3.18.0-next.11
162
+ - @forge/bundler@4.12.0-next.14
163
+
164
+ ## 3.7.0-next.14
165
+
166
+ ### Patch Changes
167
+
168
+ - @forge/cli-shared@3.18.0-next.10
169
+ - @forge/bundler@4.12.0-next.13
170
+
171
+ ## 3.7.0-next.13
172
+
173
+ ### Patch Changes
174
+
175
+ - ccc113ec: Bumping dependencies via Renovate:
176
+
177
+ - @types/node
178
+
179
+ - 934c16e2: Bumping dependencies via Renovate:
180
+
181
+ - @atlassian/xen-test-util
182
+
183
+ - Updated dependencies [ccc113ec]
184
+ - Updated dependencies [934c16e2]
185
+ - @forge/bundler@4.12.0-next.12
186
+ - @forge/cli-shared@3.18.0-next.9
187
+ - @forge/csp@2.2.1-next.2
188
+ - @forge/runtime@5.0.1-next.4
189
+
190
+ ## 3.7.0-next.12
191
+
192
+ ### Patch Changes
193
+
194
+ - caaa61af: Bumping dependencies via Renovate:
195
+
196
+ - @types/uuid
197
+
198
+ ## 3.7.0-next.11
199
+
200
+ ### Patch Changes
201
+
202
+ - Updated dependencies [edf4f2c5]
203
+ - Updated dependencies [45147109]
204
+ - Updated dependencies [eb261114]
205
+ - @forge/bundler@4.12.0-next.11
206
+ - @forge/cli-shared@3.18.0-next.8
207
+
208
+ ## 3.7.0-next.10
209
+
210
+ ### Patch Changes
211
+
212
+ - Updated dependencies [9f70463]
213
+ - @forge/bundler@4.12.0-next.10
214
+ - @forge/cli-shared@3.18.0-next.7
215
+ - @forge/runtime@5.0.1-next.3
216
+
3
217
  ## 3.7.0-next.9
4
218
 
5
219
  ### Minor Changes
@@ -3,7 +3,7 @@
3
3
  import express from 'express';
4
4
  import * as http from 'http';
5
5
  import { URL } from 'url';
6
- import { ConfigFile, FeatureFlagService, FileSystemReader, Logger } from '@forge/cli-shared';
6
+ import { ConfigFile, FileSystemReader, Logger } from '@forge/cli-shared';
7
7
  import { ExternalRequestBody } from '@forge/runtime';
8
8
  import { Permissions, Remotes } from '@forge/manifest';
9
9
  import { BundlerOutput } from '@forge/bundler';
@@ -30,13 +30,12 @@ export declare class LocalDevelopmentServer implements DevelopmentServer {
30
30
  private readonly invocationService;
31
31
  private readonly logger;
32
32
  private readonly configFile;
33
- private readonly featureFlags;
34
33
  private readonly fileSystemReader;
35
34
  private app;
36
35
  private httpServer;
37
36
  private permissions;
38
37
  private remotes;
39
- constructor(invocationService: InvocationService, logger: Logger, configFile: ConfigFile, featureFlags: FeatureFlagService, fileSystemReader: FileSystemReader);
38
+ constructor(invocationService: InvocationService, logger: Logger, configFile: ConfigFile, fileSystemReader: FileSystemReader);
40
39
  start(port?: number, permissions?: Permissions, remotes?: Remotes): Promise<StartDevServerResult>;
41
40
  stop(): Promise<void>;
42
41
  compileAndWatch({ onBuildWillStart, onBuildFinished }: WatchHooks<BundlerOutput>): Promise<BundlerOutput | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../src/servers/dev-server.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1B,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAEhB,MAA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AAsB;gBAGlB,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,gBAAgB;IAQxC,KAAK,CAAC,IAAI,SAAI,EAAE,WAAW,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAe5F,IAAI;IAIJ,eAAe,CAAC,EAC3B,gBAAgB,EAChB,eAAe,EAChB,EAAE,UAAU,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;IAsD1D,MAAM,IAAI,OAAO,CAAC,WAAW;IAI7B,gBAAgB,EAAE,OAAO,CAAC,OAAO,CA2CtC;CACH"}
@@ -19,11 +19,10 @@ async function stopServer(server) {
19
19
  }
20
20
  exports.stopServer = stopServer;
21
21
  class LocalDevelopmentServer {
22
- constructor(invocationService, logger, configFile, featureFlags, fileSystemReader) {
22
+ constructor(invocationService, logger, configFile, fileSystemReader) {
23
23
  this.invocationService = invocationService;
24
24
  this.logger = logger;
25
25
  this.configFile = configFile;
26
- this.featureFlags = featureFlags;
27
26
  this.fileSystemReader = fileSystemReader;
28
27
  this.handleInvocation = async (req, res) => {
29
28
  var _a, _b, _c, _d, _e, _f;
@@ -84,7 +83,7 @@ class LocalDevelopmentServer {
84
83
  return;
85
84
  }
86
85
  const getConfig = (await this.configFile.runtimeType()) === cli_shared_1.RuntimeType.nodejs
87
- ? (0, bundler_2.getNodeRuntimeBuildConfig)(await (0, bundler_1.getWrapperProvider)({ featureFlags: this.featureFlags, fileSystemReader: this.fileSystemReader }))
86
+ ? (0, bundler_2.getNodeRuntimeBuildConfig)(await (0, bundler_1.getWrapperProvider)({ fileSystemReader: this.fileSystemReader }))
88
87
  : bundler_2.getSandboxedRuntimeBuildConfig;
89
88
  const config = getConfig(entryPoints, {
90
89
  isWatchMode: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "3.7.0-next.9",
3
+ "version": "3.7.1-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.12.0-next.9",
15
- "@forge/cli-shared": "3.18.0-next.6",
16
- "@forge/csp": "2.2.1-next.1",
17
- "@forge/runtime": "5.0.1-next.2",
14
+ "@forge/bundler": "4.12.1-next.0",
15
+ "@forge/cli-shared": "3.18.1-next.0",
16
+ "@forge/csp": "2.2.1",
17
+ "@forge/runtime": "5.0.1",
18
18
  "express": "^4.18.2",
19
19
  "express-intercept": "^1.1.0",
20
20
  "http-proxy-middleware": "^1.3.1",
@@ -26,14 +26,14 @@
26
26
  "webpack-dev-server": "^4.15.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@atlassian/xen-test-util": "^3.0.4",
30
- "@forge/manifest": "4.20.0-next.3",
29
+ "@atlassian/xen-test-util": "^3.0.5",
30
+ "@forge/manifest": "4.20.0",
31
31
  "@types/express": "^4.17.17",
32
32
  "@types/jest": "^29.5.4",
33
- "@types/node": "14.18.56",
33
+ "@types/node": "14.18.58",
34
34
  "@types/supertest": "^2.0.12",
35
35
  "@types/tmp": "^0.2.3",
36
- "@types/uuid": "^3.4.10",
36
+ "@types/uuid": "^3.4.11",
37
37
  "supertest": "^6.3.3"
38
38
  }
39
39
  }