@lotics/cli 0.243.0 → 0.244.0
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/dist/probe_page.js +11 -4
- package/dist/src/cli.js +2 -2
- package/package.json +1 -1
package/dist/probe_page.js
CHANGED
|
@@ -1531,13 +1531,20 @@ var __loticsProbe = (() => {
|
|
|
1531
1531
|
const item = act.closest(ITEM);
|
|
1532
1532
|
if (item !== null && one.contains(item)) continue;
|
|
1533
1533
|
let owner;
|
|
1534
|
-
for (const
|
|
1535
|
-
if (!
|
|
1534
|
+
for (const title2 of titles) {
|
|
1535
|
+
if (!title2.contains(act) && (title2.compareDocumentPosition(act) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0) owner = title2;
|
|
1536
1536
|
}
|
|
1537
1537
|
if (owner !== void 0 && !heading.contains(owner)) continue;
|
|
1538
1538
|
total += 1;
|
|
1539
|
-
|
|
1540
|
-
|
|
1539
|
+
const said2 = `"${words4(heading.querySelector(HEADINGS)) || words4(heading) || "(untitled)"}": "${name.slice(0, 40)}"`;
|
|
1540
|
+
if (!heading.contains(act)) {
|
|
1541
|
+
off.push(`${said2} drawn in the section's body`);
|
|
1542
|
+
continue;
|
|
1543
|
+
}
|
|
1544
|
+
const title = heading.querySelector(HEADINGS);
|
|
1545
|
+
if (title !== null && !title.contains(act) && act.getBoundingClientRect().top >= title.getBoundingClientRect().bottom) {
|
|
1546
|
+
off.push(`${said2} wrapped under the heading`);
|
|
1547
|
+
}
|
|
1541
1548
|
}
|
|
1542
1549
|
}
|
|
1543
1550
|
return { total, off };
|
package/dist/src/cli.js
CHANGED
|
@@ -52,7 +52,7 @@ var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__
|
|
|
52
52
|
var define_LOTICS_KIT_VERSIONS_default;
|
|
53
53
|
var init_define_LOTICS_KIT_VERSIONS = __esm({
|
|
54
54
|
"<define:__LOTICS_KIT_VERSIONS__>"() {
|
|
55
|
-
define_LOTICS_KIT_VERSIONS_default = { runtime: "0.30.
|
|
55
|
+
define_LOTICS_KIT_VERSIONS_default = { runtime: "0.30.1" };
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
|
|
@@ -55352,7 +55352,7 @@ function resultSideEffects(result) {
|
|
|
55352
55352
|
|
|
55353
55353
|
// src/version.ts
|
|
55354
55354
|
init_define_LOTICS_KIT_VERSIONS();
|
|
55355
|
-
var VERSION = "0.
|
|
55355
|
+
var VERSION = "0.244.0";
|
|
55356
55356
|
|
|
55357
55357
|
// src/timezone.ts
|
|
55358
55358
|
init_define_LOTICS_KIT_VERSIONS();
|