sefiutils 1.0.40 → 1.0.41

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.
@@ -78,7 +78,14 @@ function createComponentNode(fiber/* : Fiber */, parent/* : ComponentNode|undefi
78
78
 
79
79
  // TODO: remove this hack
80
80
  if (node?.name.includes("_")) {
81
- node.name = node.name.split("_")[1];
81
+ const parts = node.name.split("_");
82
+ let s = parts.pop();
83
+ while (s.length === 0 && parts.length > 0) {
84
+ s = parts.pop();
85
+ }
86
+ if (s.length > 0) {
87
+ node_name = s;
88
+ }
82
89
  }
83
90
 
84
91
  if (parent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sefiutils",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Utilities (and Jest tests) for Selenium Webdriver Tests and some React tools as well",
5
5
  "author": "Jens von Pilgrim <jens.vonpilgrim@bht-berlin.de>",
6
6
  "license": "EPL-2.0",