@next-core/brick-utils 2.35.1 → 2.35.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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.35.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.35.1...@next-core/brick-utils@2.35.2) (2022-03-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix get deps when brick package has no editors ([833739d](https://github.com/easyops-cn/next-core/commit/833739de875706666a8555d1becb35043f88efc6))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.35.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.35.0...@next-core/brick-utils@2.35.1) (2022-02-28)
7
18
 
8
19
  **Note:** Version bump only for package @next-core/brick-utils
@@ -20280,11 +20280,13 @@
20280
20280
  // istanbul ignore else
20281
20281
  if (editor.includes(".")) {
20282
20282
  var namespace = editor.split(".")[0];
20283
- var find = brickMap.get(namespace);
20283
+ var find = brickMap.get(namespace); // There maybe no `editorsJsFilePath`.
20284
20284
 
20285
20285
  if (find) {
20286
- deps.add(find.editorsJsFilePath);
20287
- dll.add("editor-bricks-helper");
20286
+ if (find.editorsJsFilePath) {
20287
+ deps.add(find.editorsJsFilePath);
20288
+ dll.add("editor-bricks-helper");
20289
+ }
20288
20290
  } else {
20289
20291
  // eslint-disable-next-line no-console
20290
20292
  console.error("the name of editor is `".concat(editor, "` and it don't match any editor package"));