@midscene/recorder 0.24.2-beta-20250731102409.0 → 0.24.2-beta-20250731125910.0

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.
@@ -679,7 +679,7 @@ ${indentStr}${after}`;
679
679
  if (node instanceof Element) {
680
680
  if (node?.childNodes?.length === 1 && node?.childNodes[0] instanceof Text) return true;
681
681
  }
682
- return node.nodeName?.toLowerCase() === "#text" && !isIconfont(node);
682
+ return node.nodeName?.toLowerCase?.() === "#text" && !isIconfont(node);
683
683
  }
684
684
  function isContainerElement(node) {
685
685
  if (!(node instanceof HTMLElement)) return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/recorder",
3
- "version": "0.24.2-beta-20250731102409.0",
3
+ "version": "0.24.2-beta-20250731125910.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -24,7 +24,7 @@
24
24
  "antd": "^5.21.6",
25
25
  "dayjs": "^1.11.11",
26
26
  "react-dom": "18.3.1",
27
- "@midscene/shared": "0.24.2-beta-20250731102409.0"
27
+ "@midscene/shared": "0.24.2-beta-20250731125910.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "18.3.1",