bump dependencies, render values and slots

This commit is contained in:
Joeri Exelmans 2025-06-08 14:47:20 +02:00
parent 8a9fd5ebfe
commit edb614f9aa
6 changed files with 147 additions and 106 deletions

View file

@ -52,9 +52,18 @@ export function deepEvalInput(s: InputBlockState, env: DynamicEnvironment): Deep
Int: BigInt,
Double: Number,
}[s.value.type] as (s: string) => any;
let val;
try {
val = ctor(s.text);
} catch (e) {
return {
kind: "input",
err: e as Error,
};
}
return {
kind: "input",
val: ctor(s.text)
val: val,
};
}
else if (s.value.kind === "name") {