voodoojs 0.11.1 → 0.11.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/README.md +4 -3
- package/dist/{chunk-XG2UDP4O.js → chunk-AH2VXDZD.js} +13 -13
- package/dist/{chunk-FCJ2APGN.js → chunk-DCE5WIGA.js} +5 -5
- package/dist/{chunk-KE6WWJOB.js → chunk-DJJB35SR.js} +6 -6
- package/dist/{chunk-32J7GDLD.js → chunk-H2ZUEQWV.js} +17 -9
- package/dist/{chunk-OJDW7KXT.js → chunk-IGZSDZKU.js} +4 -4
- package/dist/{chunk-BEQEBFQ2.js → chunk-IS3DR2KY.js} +3 -3
- package/dist/{chunk-OHSGDVPA.js → chunk-KQYSJHZR.js} +5 -5
- package/dist/{chunk-GC3BKNPT.js → chunk-NFDXVIII.js} +3 -3
- package/dist/{chunk-TXWSOPF2.js → chunk-UV5PMS7P.js} +4 -4
- package/dist/{chunk-J6RTM5P4.js → chunk-V3O3WOZH.js} +4 -4
- package/dist/{chunk-FITEA237.js → chunk-WJP3YGUI.js} +4 -4
- package/dist/essential.cjs +12 -4
- package/dist/essential.d.cts +1 -1
- package/dist/essential.d.ts +1 -1
- package/dist/essential.js +10 -10
- package/dist/gpu.cjs +1 -1
- package/dist/gpu.js +10 -10
- package/dist/http.cjs +1 -1
- package/dist/http.js +5 -5
- package/dist/index.cjs +12 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -20
- package/dist/reactivity.cjs +1 -1
- package/dist/reactivity.js +2 -2
- package/dist/socket.cjs +11 -3
- package/dist/socket.js +9 -9
- package/dist/style-4X62SABN.js +5 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +2 -2
- package/dist/voodoo.core.js +12 -4
- package/dist/voodoo.core.min.js +3 -3
- package/dist/voodoo.full.js +12 -4
- package/dist/voodoo.full.min.js +22 -22
- package/dist/voodoo.js +12 -4
- package/dist/voodoo.min.js +8 -8
- package/package.json +1 -1
- package/dist/style-MX6ZATL4.js +0 -5
- package/dist/{query-p04Fl8VW.d.ts → query-Cf-7iibE.d.ts} +28 -28
- package/dist/{query-CbHihkvO.d.cts → query-DiQAS73Q.d.cts} +28 -28
package/dist/voodoo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Voodoo.js v0.11.
|
|
2
|
+
* Voodoo.js v0.11.2
|
|
3
3
|
* JavaScript feels like magic.
|
|
4
4
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
5
5
|
*/
|
|
@@ -1649,9 +1649,17 @@ ${pointer}`);
|
|
|
1649
1649
|
if (t.type === "punct") {
|
|
1650
1650
|
if (t.value === "(") {
|
|
1651
1651
|
this.next();
|
|
1652
|
-
const
|
|
1652
|
+
const body = [this.parseExpression()];
|
|
1653
|
+
while (this.isPunct(",")) {
|
|
1654
|
+
this.next();
|
|
1655
|
+
if (this.isPunct(")")) {
|
|
1656
|
+
const stray = this.peek();
|
|
1657
|
+
throw new VoodooSyntaxError("Trailing comma in a group", this.source, stray.start);
|
|
1658
|
+
}
|
|
1659
|
+
body.push(this.parseExpression());
|
|
1660
|
+
}
|
|
1653
1661
|
this.expect(")");
|
|
1654
|
-
return
|
|
1662
|
+
return body.length === 1 ? body[0] : { t: "seq", body };
|
|
1655
1663
|
}
|
|
1656
1664
|
if (t.value === "[") return this.parseArrayLiteral();
|
|
1657
1665
|
if (t.value === "{") return this.parseObjectLiteral();
|
|
@@ -6871,7 +6879,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
|
|
|
6871
6879
|
Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
|
|
6872
6880
|
return rootScope.data;
|
|
6873
6881
|
}
|
|
6874
|
-
var version2 = "0.11.
|
|
6882
|
+
var version2 = "0.11.2";
|
|
6875
6883
|
var core = {
|
|
6876
6884
|
// Utilities first: Voodoo's own names can override.
|
|
6877
6885
|
...utils_exports,
|