voodoojs 0.12.4 → 0.13.0

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.
Files changed (45) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-XGZ7SXD3.js → chunk-2LGAXVD7.js} +4 -4
  3. package/dist/{chunk-XIMSOXWF.js → chunk-4IJE5BWY.js} +5 -5
  4. package/dist/{chunk-FAWOJTRM.js → chunk-FMDHZ5GI.js} +139 -9
  5. package/dist/{chunk-OHISQWSW.js → chunk-GE4JWATC.js} +5 -5
  6. package/dist/{chunk-2GSZT3CX.js → chunk-H2NGDLMD.js} +363 -76
  7. package/dist/{chunk-AR6WDY7K.js → chunk-IBIZ6OUI.js} +4 -4
  8. package/dist/{chunk-7XRFOONN.js → chunk-IJQ2PFXU.js} +3 -3
  9. package/dist/{chunk-ELIX2DRQ.js → chunk-JBUNTP7F.js} +19 -7
  10. package/dist/{chunk-NKQGUWVF.js → chunk-MV73OSCS.js} +4 -4
  11. package/dist/{chunk-3MPIJH5X.js → chunk-OIH4BR2H.js} +6 -6
  12. package/dist/{chunk-FNTYILLW.js → chunk-TEVCUTTC.js} +3 -3
  13. package/dist/essential.cjs +508 -74
  14. package/dist/essential.d.cts +1 -1
  15. package/dist/essential.d.ts +1 -1
  16. package/dist/essential.js +10 -10
  17. package/dist/gpu.cjs +7 -1
  18. package/dist/gpu.js +10 -10
  19. package/dist/http.cjs +1 -1
  20. package/dist/http.js +5 -5
  21. package/dist/index.cjs +556 -122
  22. package/dist/index.d.cts +2 -2
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.js +20 -20
  25. package/dist/reactivity.cjs +138 -5
  26. package/dist/reactivity.d.cts +32 -1
  27. package/dist/reactivity.d.ts +32 -1
  28. package/dist/reactivity.js +2 -2
  29. package/dist/socket.cjs +115 -5
  30. package/dist/socket.d.cts +1 -1
  31. package/dist/socket.d.ts +1 -1
  32. package/dist/socket.js +9 -9
  33. package/dist/style-E22XVZ33.js +5 -0
  34. package/dist/utils.cjs +1 -1
  35. package/dist/utils.js +2 -2
  36. package/dist/voodoo.core.js +572 -72
  37. package/dist/voodoo.core.min.js +17 -17
  38. package/dist/voodoo.full.js +621 -121
  39. package/dist/voodoo.full.min.js +62 -62
  40. package/dist/voodoo.js +575 -75
  41. package/dist/voodoo.min.js +26 -26
  42. package/package.json +1 -1
  43. package/dist/style-DA6RFLKO.js +0 -5
  44. package/dist/{query-XooOh4vB.d.cts → query-D_BGQw8m.d.cts} +28 -28
  45. package/dist/{query-DzHfm8Kg.d.ts → query-Dl6Urlwd.d.ts} +28 -28
@@ -1,4 +1,4 @@
1
- import { c as core, V as VoodooCollection } from './query-XooOh4vB.cjs';
1
+ import { c as core, V as VoodooCollection } from './query-D_BGQw8m.cjs';
2
2
  import './http.cjs';
3
3
  import './utils.cjs';
4
4
  import './reactivity.cjs';
@@ -1,4 +1,4 @@
1
- import { c as core, V as VoodooCollection } from './query-DzHfm8Kg.js';
1
+ import { c as core, V as VoodooCollection } from './query-Dl6Urlwd.js';
2
2
  import './http.js';
3
3
  import './utils.js';
4
4
  import './reactivity.js';
package/dist/essential.js CHANGED
@@ -1,15 +1,15 @@
1
- import { core, sound, hotkey, palette, registerMask, unmask, applyMask, masks, mask, clearErrors, showFieldError, showFormErrors, messages, serializeForm, validate, validator, dialog, prompt, confirm, alert, modal, VoodooCollection, fromHtml, ready2, query } from './chunk-2GSZT3CX.js';
2
- import './chunk-3MPIJH5X.js';
3
- import { magic } from './chunk-ELIX2DRQ.js';
4
- import './chunk-FAWOJTRM.js';
5
- import './chunk-AR6WDY7K.js';
6
- import './chunk-XGZ7SXD3.js';
7
- import './chunk-NKQGUWVF.js';
8
- import './chunk-FNTYILLW.js';
9
- import './chunk-7XRFOONN.js';
1
+ import { core, sound, hotkey, palette, registerMask, unmask, applyMask, masks, mask, clearErrors, showFieldError, showFormErrors, messages, serializeForm, validate, validator, dialog, prompt, confirm, alert, modal, VoodooCollection, fromHtml, ready2, query } from './chunk-H2NGDLMD.js';
2
+ import './chunk-OIH4BR2H.js';
3
+ import { magic } from './chunk-JBUNTP7F.js';
4
+ import './chunk-FMDHZ5GI.js';
5
+ import './chunk-IBIZ6OUI.js';
6
+ import './chunk-2LGAXVD7.js';
7
+ import './chunk-MV73OSCS.js';
8
+ import './chunk-TEVCUTTC.js';
9
+ import './chunk-IJQ2PFXU.js';
10
10
 
11
11
  /**
12
- * Voodoo.js v0.12.4
12
+ * Voodoo.js v0.13.0
13
13
  * JavaScript feels like magic.
14
14
  * (c) 2026 Voodoo.js contributors. MIT License.
15
15
  */
package/dist/gpu.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /**
6
- * Voodoo.js v0.12.4
6
+ * Voodoo.js v0.13.0
7
7
  * JavaScript feels like magic.
8
8
  * (c) 2026 Voodoo.js contributors. MIT License.
9
9
  */
@@ -45,6 +45,7 @@ var nodeScopes = /* @__PURE__ */ new WeakMap();
45
45
  var nodeCleanups = /* @__PURE__ */ new WeakMap();
46
46
  var initialized = /* @__PURE__ */ new WeakSet();
47
47
  var nodeEffectScopes = /* @__PURE__ */ new WeakMap();
48
+ var detachedTemplates = /* @__PURE__ */ new WeakMap();
48
49
  function destroy(node) {
49
50
  if (node.nodeType === 1) {
50
51
  const children = [];
@@ -53,6 +54,11 @@ function destroy(node) {
53
54
  }
54
55
  for (let i = children.length - 1; i >= 0; i--) destroy(children[i]);
55
56
  }
57
+ const detached = detachedTemplates.get(node);
58
+ if (detached) {
59
+ detachedTemplates.delete(node);
60
+ for (const template of detached) destroy(template);
61
+ }
56
62
  const list = nodeCleanups.get(node);
57
63
  if (list) {
58
64
  nodeCleanups.delete(node);
package/dist/gpu.js CHANGED
@@ -1,15 +1,15 @@
1
- import { supported, clock, shared, gpu, surface, effect, frameLoop, frame } from './chunk-OHISQWSW.js';
2
- export { clock, compute, describeWgslType, destroy, effect, findEntry, flattenValue, frame, frameLoop, gpu, inferStruct, init, packStruct, reflectBindings, reflectEntries, reflectStructs, reflectWgsl, resetShared, shared, splitTopLevel, stripWgslComments, supported, surface, target, uniforms, writeField, writeStruct } from './chunk-OHISQWSW.js';
3
- import { http } from './chunk-3MPIJH5X.js';
4
- import { originalAttributes, destroy } from './chunk-ELIX2DRQ.js';
5
- import { handleError } from './chunk-FAWOJTRM.js';
6
- import { warn, describeElement } from './chunk-AR6WDY7K.js';
7
- import './chunk-XGZ7SXD3.js';
8
- import { defineDirective } from './chunk-FNTYILLW.js';
9
- import './chunk-7XRFOONN.js';
1
+ import { supported, clock, shared, gpu, surface, effect, frameLoop, frame } from './chunk-GE4JWATC.js';
2
+ export { clock, compute, describeWgslType, destroy, effect, findEntry, flattenValue, frame, frameLoop, gpu, inferStruct, init, packStruct, reflectBindings, reflectEntries, reflectStructs, reflectWgsl, resetShared, shared, splitTopLevel, stripWgslComments, supported, surface, target, uniforms, writeField, writeStruct } from './chunk-GE4JWATC.js';
3
+ import { http } from './chunk-OIH4BR2H.js';
4
+ import { originalAttributes, destroy } from './chunk-JBUNTP7F.js';
5
+ import { handleError } from './chunk-FMDHZ5GI.js';
6
+ import { warn, describeElement } from './chunk-IBIZ6OUI.js';
7
+ import './chunk-2LGAXVD7.js';
8
+ import { defineDirective } from './chunk-TEVCUTTC.js';
9
+ import './chunk-IJQ2PFXU.js';
10
10
 
11
11
  /**
12
- * Voodoo.js v0.12.4
12
+ * Voodoo.js v0.13.0
13
13
  * JavaScript feels like magic.
14
14
  * (c) 2026 Voodoo.js contributors. MIT License.
15
15
  */
package/dist/http.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.12.4
4
+ * Voodoo.js v0.13.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
package/dist/http.js CHANGED
@@ -1,7 +1,7 @@
1
- export { HttpError, clearCache, flushOfflineQueue, http, request } from './chunk-3MPIJH5X.js';
2
- import './chunk-AR6WDY7K.js';
3
- import './chunk-XGZ7SXD3.js';
4
- import './chunk-FNTYILLW.js';
5
- import './chunk-7XRFOONN.js';
1
+ export { HttpError, clearCache, flushOfflineQueue, http, request } from './chunk-OIH4BR2H.js';
2
+ import './chunk-IBIZ6OUI.js';
3
+ import './chunk-2LGAXVD7.js';
4
+ import './chunk-TEVCUTTC.js';
5
+ import './chunk-IJQ2PFXU.js';
6
6
  //# sourceMappingURL=http.js.map
7
7
  //# sourceMappingURL=http.js.map