@sobree/core 0.1.19 → 0.1.20
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/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9638,12 +9638,10 @@ function Kd(e) {
|
|
|
9638
9638
|
}
|
|
9639
9639
|
function Jd(e, t) {
|
|
9640
9640
|
const n = [];
|
|
9641
|
-
for (const o of ["thead", "tbody"])
|
|
9642
|
-
const s
|
|
9643
|
-
if (s)
|
|
9641
|
+
for (const o of ["thead", "tbody"])
|
|
9642
|
+
for (const s of e.querySelectorAll(`:scope > ${o}`))
|
|
9644
9643
|
for (const a of Array.from(s.children))
|
|
9645
9644
|
a.tagName === "TR" && a instanceof HTMLElement && n.push(a);
|
|
9646
|
-
}
|
|
9647
9645
|
if (n.length === 0)
|
|
9648
9646
|
for (const o of Array.from(e.children))
|
|
9649
9647
|
o.tagName === "TR" && o instanceof HTMLElement && n.push(o);
|
|
@@ -11005,7 +11003,7 @@ function Jh(e) {
|
|
|
11005
11003
|
const i = e.getDocument(), o = i.sections.slice(), s = o.length - 1, a = o[s];
|
|
11006
11004
|
a && (o.push(structuredClone(a)), e.setDocument({ ...i, sections: o }));
|
|
11007
11005
|
}
|
|
11008
|
-
const Zh = "0.1.
|
|
11006
|
+
const Zh = "0.1.20", Qh = Zh;
|
|
11009
11007
|
function tp(e = document) {
|
|
11010
11008
|
const t = e.createElement("div");
|
|
11011
11009
|
return t.className = "sobree-version-badge", t.textContent = `@sobree/core v${Qh}`, t.setAttribute("aria-hidden", "true"), Object.assign(t.style, {
|