@forge/bundler 4.3.1-next.0 → 4.4.0-next.2
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 +19 -0
- package/out/stubs/wrapper.js +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.4.0-next.2
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 42c3ddf: Handle platform errors
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [3a1dd86]
|
|
12
|
+
- Updated dependencies [df3811d]
|
|
13
|
+
- @forge/api@2.11.0-next.2
|
|
14
|
+
|
|
15
|
+
## 4.3.1-next.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- @forge/api@2.10.1-next.1
|
|
20
|
+
- @forge/lint@3.2.14-next.0
|
|
21
|
+
|
|
3
22
|
## 4.3.1-next.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/out/stubs/wrapper.js
CHANGED
|
@@ -43,7 +43,7 @@ function serializeThrownObjects(arg) {
|
|
|
43
43
|
if (arg instanceof Error) {
|
|
44
44
|
return {
|
|
45
45
|
message: arg.message,
|
|
46
|
-
name:
|
|
46
|
+
name: (0, api_1.isForgePlatformError)(arg) ? arg.name : api_1.FUNCTION_ERR,
|
|
47
47
|
stack: (_a = arg.stack) !== null && _a !== void 0 ? _a : ''
|
|
48
48
|
};
|
|
49
49
|
}
|
|
@@ -175,10 +175,10 @@ const adapter = (name) => {
|
|
|
175
175
|
return {
|
|
176
176
|
errorMessage: err.message,
|
|
177
177
|
errorType: err.name,
|
|
178
|
-
isHostedCodeError:
|
|
178
|
+
isHostedCodeError: (0, api_1.isHostedCodeError)(err),
|
|
179
179
|
stack: (err.stack || '').split('\n'),
|
|
180
180
|
serviceKey: err.serviceKey,
|
|
181
|
-
metrics:
|
|
181
|
+
metrics: []
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
184
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0-next.2",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
19
19
|
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
20
20
|
"@babel/preset-typescript": "^7.16.7",
|
|
21
|
-
"@forge/api": "2.
|
|
21
|
+
"@forge/api": "2.11.0-next.2",
|
|
22
22
|
"@forge/babel-plugin-transform-ui": "1.1.0",
|
|
23
23
|
"@forge/cli-shared": "3.5.1",
|
|
24
|
-
"@forge/lint": "3.2.
|
|
24
|
+
"@forge/lint": "3.2.14-next.0",
|
|
25
25
|
"@forge/util": "1.2.0",
|
|
26
26
|
"assert": "^1.1.1",
|
|
27
27
|
"babel-loader": "^8.2.3",
|