sefiutils 1.0.13 → 1.0.14

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.
@@ -171,6 +171,16 @@ function removeParentReferences(node/* : ComponentNode */) {
171
171
 
172
172
  }
173
173
 
174
+ function uniDirComponentsTree() {
175
+ const tree = getComponentTree(document);
176
+ if (!tree) {
177
+ return;
178
+ }
179
+ retainFunctions(tree);
180
+ removeParentReferences(tree);
181
+ return tree;
182
+ }
183
+
174
184
  function uniDirFunctionComponentsTree() {
175
185
  const tree = getComponentTree(document);
176
186
  if (!tree) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sefiutils",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
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",