@riboseinc/anafero-cli 0.0.35 → 0.0.36
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/bootstrap.js
CHANGED
|
@@ -130433,7 +130433,7 @@ schema (${ast._tag}): ${ast}`;
|
|
|
130433
130433
|
if (!parentURI) {
|
|
130434
130434
|
console.warn("Unable to find URI for parent path", parentPath);
|
|
130435
130435
|
}
|
|
130436
|
-
const shouldAppear = !!expanded.values().find((expandedURI) => expandedURI === parentURI);
|
|
130436
|
+
const shouldAppear = !![...expanded.values()].find((expandedURI) => expandedURI === parentURI);
|
|
130437
130437
|
return shouldAppear;
|
|
130438
130438
|
}).map(([path, id3]) => {
|
|
130439
130439
|
const level = path === "" ? 0 : (path.match(/\//g) ?? []).length + 1;
|