rip-lang 3.13.21 → 3.13.22
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/docs/dist/rip.js +16 -3
- package/docs/dist/rip.min.js +29 -29
- package/docs/dist/rip.min.js.br +0 -0
- package/package.json +1 -1
- package/src/components.js +11 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
-
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.13.
|
|
12
|
+
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.13.22-blue.svg" alt="Version"></a>
|
|
13
13
|
<a href="#zero-dependencies"><img src="https://img.shields.io/badge/dependencies-ZERO-brightgreen.svg" alt="Dependencies"></a>
|
|
14
14
|
<a href="#"><img src="https://img.shields.io/badge/tests-1%2C265%2F1%2C265-brightgreen.svg" alt="Tests"></a>
|
|
15
15
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License"></a>
|
package/docs/dist/rip.js
CHANGED
|
@@ -3713,7 +3713,20 @@ Expecting ${expected.join(", ")}, got '${this.tokenNames[symbol] || symbol}'`;
|
|
|
3713
3713
|
return 2;
|
|
3714
3714
|
}
|
|
3715
3715
|
}
|
|
3716
|
-
if (nextToken && nextToken[0] === "INDENT"
|
|
3716
|
+
if (nextToken && nextToken[0] === "INDENT") {
|
|
3717
|
+
if (nextToken.fromThen) {
|
|
3718
|
+
let depth = 0;
|
|
3719
|
+
for (let j = i;j >= 0; j--) {
|
|
3720
|
+
let jt = tokens[j][0];
|
|
3721
|
+
if (jt === "INTERPOLATION_END" || jt === "STRING_END")
|
|
3722
|
+
depth++;
|
|
3723
|
+
if (jt === "INTERPOLATION_START" || jt === "STRING_START")
|
|
3724
|
+
depth--;
|
|
3725
|
+
if (depth < 0) {
|
|
3726
|
+
return 1;
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
}
|
|
3717
3730
|
if (tag === "->" || tag === "=>" || tag === "CALL_START" || tag === "(") {
|
|
3718
3731
|
return 1;
|
|
3719
3732
|
}
|
|
@@ -8359,8 +8372,8 @@ globalThis.zip ??= (...a) => a[0].map((_, i) => a.map(b => b[i]));
|
|
|
8359
8372
|
return new CodeGenerator({}).getComponentRuntime();
|
|
8360
8373
|
}
|
|
8361
8374
|
// src/browser.js
|
|
8362
|
-
var VERSION = "3.13.
|
|
8363
|
-
var BUILD_DATE = "2026-02-25@12:
|
|
8375
|
+
var VERSION = "3.13.22";
|
|
8376
|
+
var BUILD_DATE = "2026-02-25@12:47:56GMT";
|
|
8364
8377
|
if (typeof globalThis !== "undefined") {
|
|
8365
8378
|
if (!globalThis.__rip)
|
|
8366
8379
|
new Function(getReactiveRuntime())();
|