@forge/bundler 7.3.0-next.1 → 7.3.0-next.3

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,19 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 7.3.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 349eb09: Fixed `forge lint` scanning the parent directory of UI Kit resources that use an `entry` map, which could crash with out-of-memory or stack overflow errors.
8
+
9
+ ## 7.3.0-next.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [1456635]
14
+ - @forge/cli-shared@9.8.0-next.2
15
+ - @forge/lint@6.3.1-next.2
16
+
3
17
  ## 7.3.0-next.1
4
18
 
5
19
  ### Patch Changes
package/out/lint.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../src/lint.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAEhB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAIlE,wBAAsB,SAAS,CAC7B,cAAc,EAAE,cAAc,EAE9B,MAAM,GAAE,UAAkC,EAC1C,gBAAgB,mBAAyB,EACzC,gBAAgB,mBAAyB,GACxC,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
1
+ {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../src/lint.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAEhB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAIlE,wBAAsB,SAAS,CAC7B,cAAc,EAAE,cAAc,EAE9B,MAAM,GAAE,UAAkC,EAC1C,gBAAgB,mBAAyB,EACzC,gBAAgB,mBAAyB,GACxC,OAAO,CAAC,IAAI,CAAC,CA6Cf"}
package/out/lint.js CHANGED
@@ -12,7 +12,7 @@ async function runLinter(statsigService, logger = { info: console.log }, fileSys
12
12
  const configFile = new cli_shared_1.ConfigFile(fileSystemReader, fileSystemWriter);
13
13
  const manifest = await configFile.readConfig();
14
14
  const UIKitResources = await configFile.getResources(['nativeUI']);
15
- const UIKitDirectories = UIKitResources.map((resource) => path_1.default.dirname(resource.path));
15
+ const UIKitDirectories = UIKitResources.map((resource) => resource.entry ? resource.path : path_1.default.dirname(resource.path));
16
16
  const [filesToLint, ...UIKitFilesByDirectory] = await Promise.all([
17
17
  fileSystemReader.recursiveReadDir('./src', exclude),
18
18
  ...UIKitDirectories.map((directory) => fileSystemReader.recursiveReadDir(directory, exclude))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "7.3.0-next.1",
3
+ "version": "7.3.0-next.3",
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.23.4",
22
22
  "@babel/traverse": "^7.24.0",
23
23
  "@babel/types": "^7.24.0",
24
- "@forge/cli-shared": "9.8.0-next.1",
24
+ "@forge/cli-shared": "9.8.0-next.2",
25
25
  "@forge/i18n": "1.0.0",
26
- "@forge/lint": "6.3.1-next.1",
26
+ "@forge/lint": "6.3.1-next.2",
27
27
  "@forge/manifest": "13.7.0-next.0",
28
28
  "babel-loader": "^8.3.0",
29
29
  "cheerio": "^1.2.0",