@inf-monkeys-tech/monkeys 1.1.25 → 1.1.26

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.
@@ -7789,6 +7789,10 @@ var RecursivePageExpressionSchema = z4.lazy(() => z4.discriminatedUnion("kind",
7789
7789
  ]));
7790
7790
  var PAGE_EXPRESSION_LIMITS = Object.freeze({ depth: 32, nodes: 4096, operations: 2e4, collection: 1e3, bytes: 1048576 });
7791
7791
  var assertPageValueBudget = (value) => {
7792
+ if (value === null || typeof value !== "object") {
7793
+ if (typeof value === "string" && value.length * 2 > PAGE_EXPRESSION_LIMITS.bytes) throw new Error("PAGE_EXPRESSION_BUDGET");
7794
+ return;
7795
+ }
7792
7796
  const queue = [{ value, depth: 0 }];
7793
7797
  let nodes = 0;
7794
7798
  let bytes = 0;
@@ -20325,4 +20329,4 @@ export {
20325
20329
  RecordEditorValidationDetailsSchema,
20326
20330
  RecordEditorSubmissionSnapshotSchema
20327
20331
  };
20328
- //# sourceMappingURL=chunk-KRIKORSN.mjs.map
20332
+ //# sourceMappingURL=chunk-J7I5CBDN.mjs.map