@lokascript/compilation-service 2.7.1 → 2.7.2
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/{chunk-7GECANUT.js → chunk-3FAYOL25.js} +2 -2
- package/dist/{chunk-T7GHV2SS.js → chunk-QXB7B2RD.js} +2 -2
- package/dist/{core-parser-adapter-VCJB52SO-KTZQFHF5.js → core-parser-adapter-VCJB52SO-TBWGU2Y4.js} +2 -2
- package/dist/{dist-NDTEGHXO.js → dist-6WMC2ELV.js} +3 -3
- package/dist/{dist-HSJGJ5HF.js → dist-EZU2VBJB.js} +9 -1
- package/dist/dist-EZU2VBJB.js.map +1 -0
- package/dist/http.cjs +8 -0
- package/dist/http.cjs.map +1 -1
- package/dist/http.js +1 -1
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/dist/dist-HSJGJ5HF.js.map +0 -1
- /package/dist/{chunk-7GECANUT.js.map → chunk-3FAYOL25.js.map} +0 -0
- /package/dist/{chunk-T7GHV2SS.js.map → chunk-QXB7B2RD.js.map} +0 -0
- /package/dist/{core-parser-adapter-VCJB52SO-KTZQFHF5.js.map → core-parser-adapter-VCJB52SO-TBWGU2Y4.js.map} +0 -0
- /package/dist/{dist-NDTEGHXO.js.map → dist-6WMC2ELV.js.map} +0 -0
package/dist/http.cjs
CHANGED
|
@@ -6973,6 +6973,13 @@ function isTextFieldElement(el) {
|
|
|
6973
6973
|
function isFormElement(el) {
|
|
6974
6974
|
return el.tagName === "FORM";
|
|
6975
6975
|
}
|
|
6976
|
+
function ensureDomGlobals() {
|
|
6977
|
+
if (typeof globalThis.Element === "undefined") {
|
|
6978
|
+
globalThis.Element = class {
|
|
6979
|
+
};
|
|
6980
|
+
}
|
|
6981
|
+
return true;
|
|
6982
|
+
}
|
|
6976
6983
|
function morph(from, to, options = {}) {
|
|
6977
6984
|
if (typeof to === "string")
|
|
6978
6985
|
to = parseFragment(to).childNodes;
|
|
@@ -39601,6 +39608,7 @@ var init_dist = __esm({
|
|
|
39601
39608
|
return _classThis;
|
|
39602
39609
|
})();
|
|
39603
39610
|
createResetCommand = createFactory(ResetCommand);
|
|
39611
|
+
ensureDomGlobals();
|
|
39604
39612
|
SUPPORTS_MOVE_BEFORE = "moveBefore" in Element.prototype;
|
|
39605
39613
|
ELEMENT_NODE_TYPE = 1;
|
|
39606
39614
|
TEXT_NODE_TYPE = 3;
|