@forge/bundler 7.3.3-next.2 → 7.3.3-next.4

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,21 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 7.3.3-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9871b8c]
8
+ - Updated dependencies [79c8030]
9
+ - Updated dependencies [e38146e]
10
+ - @forge/cli-shared@9.11.0-next.3
11
+ - @forge/lint@6.4.1-next.3
12
+
13
+ ## 7.3.3-next.3
14
+
15
+ ### Patch Changes
16
+
17
+ - d45cba4: Exclude relative imports from the dependencies reported in app analytics
18
+
3
19
  ## 7.3.3-next.2
4
20
 
5
21
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,eAAe,EAAiB,MAAM,SAAS,CAAC;AA6KzD,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAGpH"}
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,eAAe,EAAiB,MAAM,SAAS,CAAC;AAkLzD,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAGpH"}
package/out/metadata.js CHANGED
@@ -71,6 +71,9 @@ class MetadataCollector {
71
71
  });
72
72
  }
73
73
  processImport(node) {
74
+ if (node.source.value.startsWith('.')) {
75
+ return;
76
+ }
74
77
  const packageName = MetadataCollector.packageFromImport(node.source.value);
75
78
  this.metadata.dependencies.add(packageName);
76
79
  if (packageName.startsWith('@forge/')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "7.3.3-next.2",
3
+ "version": "7.3.3-next.4",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Atlassian",
@@ -21,9 +21,9 @@
21
21
  "@babel/plugin-transform-react-jsx": "^7.29.7",
22
22
  "@babel/traverse": "^7.29.8",
23
23
  "@babel/types": "^7.29.8",
24
- "@forge/cli-shared": "9.11.0-next.2",
24
+ "@forge/cli-shared": "9.11.0-next.3",
25
25
  "@forge/i18n": "1.0.1",
26
- "@forge/lint": "6.4.1-next.2",
26
+ "@forge/lint": "6.4.1-next.3",
27
27
  "@forge/manifest": "13.9.0",
28
28
  "babel-loader": "^8.3.0",
29
29
  "cheerio": "^1.2.0",