@forge/bundler 4.20.1-next.14 → 4.20.1-next.16

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,18 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 4.20.1-next.16
4
+
5
+ ### Patch Changes
6
+
7
+ - d6eb4d8: Fix syntax incompatible with Node 14
8
+
9
+ ## 4.20.1-next.15
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [01f334b]
14
+ - @forge/api@4.1.2-next.0
15
+
3
16
  ## 4.20.1-next.14
4
17
 
5
18
  ### Patch Changes
package/out/runtime.js CHANGED
@@ -28,7 +28,7 @@ class NodeBundler extends webpack_2.WebpackBundler {
28
28
  }
29
29
  getOutput(config, stats) {
30
30
  const result = super.getOutput(config, stats);
31
- result.metadata ||= {};
31
+ result.metadata = result.metadata || {};
32
32
  result.metadata.nodeRuntimeVersion = (0, fs_1.readFileSync)(path_1.default.join(result.outputDir, exports.NODE_RUNTIME_VERSION_FILE)).toString();
33
33
  return result;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "4.20.1-next.14",
3
+ "version": "4.20.1-next.16",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -19,7 +19,7 @@
19
19
  "@babel/plugin-transform-optional-chaining": "^7.23.4",
20
20
  "@babel/plugin-transform-react-jsx": "^7.23.4",
21
21
  "@babel/preset-typescript": "^7.23.3",
22
- "@forge/api": "4.1.1",
22
+ "@forge/api": "4.1.2-next.0",
23
23
  "@forge/babel-plugin-transform-ui": "1.1.19",
24
24
  "@forge/cli-shared": "6.4.0-next.13",
25
25
  "@forge/i18n": "0.0.2",