@next-core/brick-utils 2.42.0 → 2.42.1

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.42.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.42.0...@next-core/brick-utils@2.42.1) (2022-09-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix router.if was null and return false ([cdef1d6](https://github.com/easyops-cn/next-core/commit/cdef1d61fd739b2de7666aae18591488b8cf4253))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.42.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.41.2...@next-core/brick-utils@2.42.0) (2022-09-26)
7
18
 
8
19
 
@@ -22829,7 +22829,7 @@
22829
22829
 
22830
22830
  var jsonFieldsInRoute = ["menu", "providers", "segues", "defineResolves", "redirect", "analyticsData"]; // Fields stored as yaml string will be parsed when build & push.
22831
22831
 
22832
- var yamlFieldsInRoute = ["permissionsPreCheck"];
22832
+ var yamlFieldsInRoute = ["permissionsPreCheck", "if"];
22833
22833
  var jsonFieldsInBrick = ["properties", "events", "lifeCycle", "params", "if", "transform"]; // Fields stored as yaml string will be parsed when build & push.
22834
22834
 
22835
22835
  var yamlFieldsInBrick = ["permissionsPreCheck", "transformFrom"]; // Fields started with `_` will be removed by default.