@hyperfixi/core 2.7.0 → 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/hyperfixi.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,b as detectFeatures,e as evalHyperScript,c as evalHyperScriptAsync,f as evalHyperScriptSmart,g as getLoadedFeatures,i as hyperscript,j as isFeatureLoaded,l as loadRequiredFeatures,p as preloadDocumentFeatures,k as preloadFeatures,s as styleBatcher,t as tokenize}from"./chunks/browser-modular-
|
|
1
|
+
export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,b as detectFeatures,e as evalHyperScript,c as evalHyperScriptAsync,f as evalHyperScriptSmart,g as getLoadedFeatures,i as hyperscript,j as isFeatureLoaded,l as loadRequiredFeatures,p as preloadDocumentFeatures,k as preloadFeatures,s as styleBatcher,t as tokenize}from"./chunks/browser-modular-DW4nC6lH.js";import"./chunks/feature-sockets-CrYvjZ4j.js";
|
|
2
2
|
//# sourceMappingURL=hyperfixi.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -20161,6 +20161,15 @@ let ResetCommand = (() => {
|
|
|
20161
20161
|
})();
|
|
20162
20162
|
const createResetCommand = createFactory(ResetCommand);
|
|
20163
20163
|
|
|
20164
|
+
function ensureDomGlobals() {
|
|
20165
|
+
if (typeof globalThis.Element === 'undefined') {
|
|
20166
|
+
globalThis.Element = class {
|
|
20167
|
+
};
|
|
20168
|
+
}
|
|
20169
|
+
return true;
|
|
20170
|
+
}
|
|
20171
|
+
ensureDomGlobals();
|
|
20172
|
+
|
|
20164
20173
|
// src/morphlex.ts
|
|
20165
20174
|
var SUPPORTS_MOVE_BEFORE = "moveBefore" in Element.prototype;
|
|
20166
20175
|
var ELEMENT_NODE_TYPE = 1;
|
|
@@ -20712,7 +20721,7 @@ function longestIncreasingSubsequence(sequence) {
|
|
|
20712
20721
|
//# debugId=3F4BCB911DEC843864756E2164756E21
|
|
20713
20722
|
|
|
20714
20723
|
function toMorphlexOptions(options) {
|
|
20715
|
-
return { preserveChanges: options?.preserveChanges ?? true };
|
|
20724
|
+
return { preserveChanges: (options?.preserveChanges ?? true) };
|
|
20716
20725
|
}
|
|
20717
20726
|
const morphAdapter = {
|
|
20718
20727
|
morph(target, content, options) {
|