@hyperfixi/core 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/behaviors/index.js +10 -1
- package/dist/behaviors/index.mjs +10 -1
- package/dist/chunks/{bridge-lZbOVRDD.js → bridge-DuveK8T4.js} +2 -2
- package/dist/chunks/browser-modular-DW4nC6lH.js +2 -0
- package/dist/chunks/{index-i_j9Z-1e.js → index-D2WUNSCR.js} +2 -2
- package/dist/commands/index.js +10 -1
- package/dist/commands/index.mjs +10 -1
- package/dist/hyperfixi-browser.js +1 -1
- package/dist/hyperfixi-hx-v4.js +1 -1
- package/dist/hyperfixi.js +1 -1
- package/dist/hyperfixi.mjs +1 -1
- package/dist/index.js +10 -1
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +10 -1
- package/dist/lib/dom-globals-shim.d.ts +2 -0
- package/dist/lokascript-browser.js +1 -1
- package/package.json +6 -6
- package/dist/chunks/browser-modular-DegkWQ8d.js +0 -2
package/dist/index.mjs
CHANGED
|
@@ -20159,6 +20159,15 @@ let ResetCommand = (() => {
|
|
|
20159
20159
|
})();
|
|
20160
20160
|
const createResetCommand = createFactory(ResetCommand);
|
|
20161
20161
|
|
|
20162
|
+
function ensureDomGlobals() {
|
|
20163
|
+
if (typeof globalThis.Element === 'undefined') {
|
|
20164
|
+
globalThis.Element = class {
|
|
20165
|
+
};
|
|
20166
|
+
}
|
|
20167
|
+
return true;
|
|
20168
|
+
}
|
|
20169
|
+
ensureDomGlobals();
|
|
20170
|
+
|
|
20162
20171
|
// src/morphlex.ts
|
|
20163
20172
|
var SUPPORTS_MOVE_BEFORE = "moveBefore" in Element.prototype;
|
|
20164
20173
|
var ELEMENT_NODE_TYPE = 1;
|
|
@@ -20710,7 +20719,7 @@ function longestIncreasingSubsequence(sequence) {
|
|
|
20710
20719
|
//# debugId=3F4BCB911DEC843864756E2164756E21
|
|
20711
20720
|
|
|
20712
20721
|
function toMorphlexOptions(options) {
|
|
20713
|
-
return { preserveChanges: options?.preserveChanges ?? true };
|
|
20722
|
+
return { preserveChanges: (options?.preserveChanges ?? true) };
|
|
20714
20723
|
}
|
|
20715
20724
|
const morphAdapter = {
|
|
20716
20725
|
morph(target, content, options) {
|