voodoojs 0.12.3 → 0.12.5
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/README.md +1 -1
- package/dist/{chunk-NGDOIDR6.js → chunk-6QFKV444.js} +19 -7
- package/dist/{chunk-4DLB2RY5.js → chunk-D45ZEXUO.js} +4 -4
- package/dist/{chunk-NB3JAL4F.js → chunk-IWHK6Y32.js} +4 -4
- package/dist/{chunk-WOYGKZ3L.js → chunk-JB72AX7G.js} +5 -5
- package/dist/{chunk-EWFY7CJB.js → chunk-L3JNHLTI.js} +5 -5
- package/dist/{chunk-HTBGKRUJ.js → chunk-OH6FIDTW.js} +3 -3
- package/dist/{chunk-5YP5VMW7.js → chunk-PO6REBDJ.js} +3 -3
- package/dist/{chunk-VI27DQRZ.js → chunk-PPT7RDKJ.js} +4 -4
- package/dist/{chunk-UFLF4VNQ.js → chunk-TUXGS7XW.js} +13 -13
- package/dist/{chunk-ZDLVJ7TA.js → chunk-X3FZPWI6.js} +6 -6
- package/dist/{chunk-FRYNZTKW.js → chunk-YH3IDF6L.js} +4 -4
- package/dist/essential.cjs +14 -2
- package/dist/essential.d.cts +1 -1
- package/dist/essential.d.ts +1 -1
- package/dist/essential.js +10 -10
- package/dist/gpu.cjs +7 -1
- package/dist/gpu.js +10 -10
- package/dist/http.cjs +1 -1
- package/dist/http.js +5 -5
- package/dist/index.cjs +14 -2
- package/dist/index.d.cts +16 -8
- package/dist/index.d.ts +16 -8
- package/dist/index.js +20 -20
- package/dist/reactivity.cjs +1 -1
- package/dist/reactivity.js +2 -2
- package/dist/socket.cjs +1 -1
- package/dist/socket.js +9 -9
- package/dist/style-YWBYOE6T.js +5 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +2 -2
- package/dist/voodoo.core.js +14 -2
- package/dist/voodoo.core.min.js +15 -15
- package/dist/voodoo.full.js +14 -2
- package/dist/voodoo.full.min.js +37 -37
- package/dist/voodoo.js +14 -2
- package/dist/voodoo.min.js +24 -24
- package/package.json +1 -1
- package/dist/style-JJTTJNSI.js +0 -5
- package/dist/{query-XooOh4vB.d.cts → query-D_BGQw8m.d.cts} +28 -28
- package/dist/{query-DzHfm8Kg.d.ts → query-Dl6Urlwd.d.ts} +28 -28
package/dist/reactivity.cjs
CHANGED
package/dist/reactivity.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EffectScope, ITERATE_KEY, ReactiveEffect, TriggerType, computed, effect, effectScope, enableTracking, flushSync, getActiveEffect, getActiveScope, handleError, hasChanged, isReactive, isRef, markRaw, nextTick, pauseTracking, queueJob, queuePostFlush, reactive, ref, resetTracking, setErrorHandler, shallowRef, stop, toRaw, track, trigger, unref, warn, watch, watchEffect } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { EffectScope, ITERATE_KEY, ReactiveEffect, TriggerType, computed, effect, effectScope, enableTracking, flushSync, getActiveEffect, getActiveScope, handleError, hasChanged, isReactive, isRef, markRaw, nextTick, pauseTracking, queueJob, queuePostFlush, reactive, ref, resetTracking, setErrorHandler, shallowRef, stop, toRaw, track, trigger, unref, warn, watch, watchEffect } from './chunk-PPT7RDKJ.js';
|
|
2
|
+
import './chunk-PO6REBDJ.js';
|
|
3
3
|
//# sourceMappingURL=reactivity.js.map
|
|
4
4
|
//# sourceMappingURL=reactivity.js.map
|
package/dist/socket.cjs
CHANGED
package/dist/socket.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { socketSupported, createSocket, socket } from './chunk-
|
|
2
|
-
export { ENGINE, SIO, createSocket, decodeEngine, decodeSocketIo, encodeSocketIo, engineURL, resolveSocketURL, socket, socketSupported } from './chunk-
|
|
3
|
-
import { evaluateIn, readAttr } from './chunk-
|
|
4
|
-
import { reactive } from './chunk-
|
|
5
|
-
import { warnAlias } from './chunk-
|
|
6
|
-
import { parseDuration } from './chunk-
|
|
7
|
-
import { defineDirective, PRIORITY, config } from './chunk-
|
|
8
|
-
import './chunk-
|
|
1
|
+
import { socketSupported, createSocket, socket } from './chunk-L3JNHLTI.js';
|
|
2
|
+
export { ENGINE, SIO, createSocket, decodeEngine, decodeSocketIo, encodeSocketIo, engineURL, resolveSocketURL, socket, socketSupported } from './chunk-L3JNHLTI.js';
|
|
3
|
+
import { evaluateIn, readAttr } from './chunk-6QFKV444.js';
|
|
4
|
+
import { reactive } from './chunk-PPT7RDKJ.js';
|
|
5
|
+
import { warnAlias } from './chunk-YH3IDF6L.js';
|
|
6
|
+
import { parseDuration } from './chunk-D45ZEXUO.js';
|
|
7
|
+
import { defineDirective, PRIORITY, config } from './chunk-OH6FIDTW.js';
|
|
8
|
+
import './chunk-PO6REBDJ.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Voodoo.js v0.12.
|
|
11
|
+
* Voodoo.js v0.12.5
|
|
12
12
|
* JavaScript feels like magic.
|
|
13
13
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
14
14
|
*/
|
package/dist/utils.cjs
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, uuid } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, uuid } from './chunk-D45ZEXUO.js';
|
|
2
|
+
import './chunk-PO6REBDJ.js';
|
|
3
3
|
//# sourceMappingURL=utils.js.map
|
|
4
4
|
//# sourceMappingURL=utils.js.map
|
package/dist/voodoo.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Voodoo.js v0.12.
|
|
2
|
+
* Voodoo.js v0.12.5
|
|
3
3
|
* JavaScript feels like magic.
|
|
4
4
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
5
5
|
*/
|
|
@@ -2510,8 +2510,15 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
|
|
|
2510
2510
|
list.push(scope);
|
|
2511
2511
|
}
|
|
2512
2512
|
var ignoredRemovals = /* @__PURE__ */ new WeakSet();
|
|
2513
|
+
var detachedTemplates = /* @__PURE__ */ new WeakMap();
|
|
2513
2514
|
function removeQuietly(node) {
|
|
2514
2515
|
ignoredRemovals.add(node);
|
|
2516
|
+
const parent = node.parentNode;
|
|
2517
|
+
if (parent) {
|
|
2518
|
+
let kept = detachedTemplates.get(parent);
|
|
2519
|
+
if (!kept) detachedTemplates.set(parent, kept = /* @__PURE__ */ new Set());
|
|
2520
|
+
kept.add(node);
|
|
2521
|
+
}
|
|
2515
2522
|
node.remove();
|
|
2516
2523
|
}
|
|
2517
2524
|
function addCleanup(node, fn) {
|
|
@@ -2527,6 +2534,11 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
|
|
|
2527
2534
|
}
|
|
2528
2535
|
for (let i = children.length - 1; i >= 0; i--) destroy(children[i]);
|
|
2529
2536
|
}
|
|
2537
|
+
const detached = detachedTemplates.get(node);
|
|
2538
|
+
if (detached) {
|
|
2539
|
+
detachedTemplates.delete(node);
|
|
2540
|
+
for (const template of detached) destroy(template);
|
|
2541
|
+
}
|
|
2530
2542
|
const list = nodeCleanups.get(node);
|
|
2531
2543
|
if (list) {
|
|
2532
2544
|
nodeCleanups.delete(node);
|
|
@@ -7078,7 +7090,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
|
|
|
7078
7090
|
Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
|
|
7079
7091
|
return rootScope.data;
|
|
7080
7092
|
}
|
|
7081
|
-
var version2 = "0.12.
|
|
7093
|
+
var version2 = "0.12.5";
|
|
7082
7094
|
var core = {
|
|
7083
7095
|
// Utilities first: Voodoo's own names can override.
|
|
7084
7096
|
...utils_exports,
|