@next-core/brick-utils 2.47.4 → 2.47.6

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/dist/index.esm.js CHANGED
@@ -17500,7 +17500,7 @@ function shouldAllowRecursiveEvaluations(raw) {
17500
17500
  return /^\s*<%~\s/.test(raw);
17501
17501
  }
17502
17502
  function isTrackAll(raw) {
17503
- return /^\s*<%=\s.*\s%>\s*$/.test(raw);
17503
+ return /^\s*<%=\s/.test(raw) && /\s%>\s*$/.test(raw);
17504
17504
  }
17505
17505
 
17506
17506
  // istanbul ignore file
@@ -17974,6 +17974,8 @@ function traverseNode(node, callback, path) {
17974
17974
  break;
17975
17975
  case "EventHandler":
17976
17976
  traverseNodes(node.callback, callback, childPath);
17977
+ traverseNodes(node.then, callback, childPath);
17978
+ traverseNodes(node.else, callback, childPath);
17977
17979
  break;
17978
17980
  case "ConditionalLifeCycle":
17979
17981
  traverseNodes(node.events, callback, childPath);