liftie 4.2.4 → 4.2.5
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/cli/generate.js
CHANGED
package/lib/routes/tags.js
CHANGED
|
@@ -22,11 +22,7 @@ export default function tags(objects) {
|
|
|
22
22
|
}
|
|
23
23
|
const label = tag;
|
|
24
24
|
tag = canonical(tag);
|
|
25
|
-
result[tag]
|
|
26
|
-
slug: tag,
|
|
27
|
-
label,
|
|
28
|
-
members: []
|
|
29
|
-
};
|
|
25
|
+
result[tag] ??= { slug: tag, label, members: [] };
|
|
30
26
|
result[tag].members.push(o.id);
|
|
31
27
|
});
|
|
32
28
|
});
|
package/lib/tools/prism.js
CHANGED
|
@@ -5,7 +5,7 @@ const debug = Debug('liftie:resort');
|
|
|
5
5
|
|
|
6
6
|
export default function parse(dom) {
|
|
7
7
|
const liftStatus = domutil.collect(dom, '.lift_list_table tbody tr', tr => {
|
|
8
|
-
const last = tr.children
|
|
8
|
+
const last = tr.children.at(-1);
|
|
9
9
|
let status = domutil.findText(last);
|
|
10
10
|
|
|
11
11
|
if (!status) {
|