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.
- package/lib/execScripts/fiber.js +10 -0
- package/package.json +1 -1
package/lib/execScripts/fiber.js
CHANGED
|
@@ -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