mol_dump_lib 0.0.661 → 0.0.662
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/node.deps.json +1 -1
- package/node.js +15 -8
- package/node.js.map +1 -1
- package/node.mjs +15 -8
- package/node.test.js +15 -8
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +15 -8
- package/web.js.map +1 -1
- package/web.mjs +15 -8
package/node.mjs
CHANGED
|
@@ -3250,15 +3250,22 @@ var $;
|
|
|
3250
3250
|
if (path.length === 0 && check(this))
|
|
3251
3251
|
return yield [this];
|
|
3252
3252
|
try {
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3253
|
+
const checked = new Set();
|
|
3254
|
+
const sub = this.sub();
|
|
3255
|
+
for (const item of sub) {
|
|
3256
|
+
if (!(item instanceof $mol_view))
|
|
3257
|
+
continue;
|
|
3258
|
+
if (!check(item))
|
|
3259
|
+
continue;
|
|
3260
|
+
checked.add(item);
|
|
3261
|
+
yield [...path, this, item];
|
|
3257
3262
|
}
|
|
3258
|
-
for (const item of
|
|
3259
|
-
if (item instanceof $mol_view)
|
|
3260
|
-
|
|
3261
|
-
|
|
3263
|
+
for (const item of sub) {
|
|
3264
|
+
if (!(item instanceof $mol_view))
|
|
3265
|
+
continue;
|
|
3266
|
+
if (checked.has(item))
|
|
3267
|
+
continue;
|
|
3268
|
+
yield* item.view_find(check, [...path, this]);
|
|
3262
3269
|
}
|
|
3263
3270
|
}
|
|
3264
3271
|
catch (error) {
|
package/node.test.js
CHANGED
|
@@ -3241,15 +3241,22 @@ var $;
|
|
|
3241
3241
|
if (path.length === 0 && check(this))
|
|
3242
3242
|
return yield [this];
|
|
3243
3243
|
try {
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3244
|
+
const checked = new Set();
|
|
3245
|
+
const sub = this.sub();
|
|
3246
|
+
for (const item of sub) {
|
|
3247
|
+
if (!(item instanceof $mol_view))
|
|
3248
|
+
continue;
|
|
3249
|
+
if (!check(item))
|
|
3250
|
+
continue;
|
|
3251
|
+
checked.add(item);
|
|
3252
|
+
yield [...path, this, item];
|
|
3248
3253
|
}
|
|
3249
|
-
for (const item of
|
|
3250
|
-
if (item instanceof $mol_view)
|
|
3251
|
-
|
|
3252
|
-
|
|
3254
|
+
for (const item of sub) {
|
|
3255
|
+
if (!(item instanceof $mol_view))
|
|
3256
|
+
continue;
|
|
3257
|
+
if (checked.has(item))
|
|
3258
|
+
continue;
|
|
3259
|
+
yield* item.view_find(check, [...path, this]);
|
|
3253
3260
|
}
|
|
3254
3261
|
}
|
|
3255
3262
|
catch (error) {
|