@react-typed-forms/schemas 14.5.0 → 14.5.1

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/lib/index.cjs CHANGED
@@ -2121,7 +2121,7 @@ function useMakeValidationHook(definition, useValidatorFor) {
2121
2121
  });
2122
2122
  }, [!!dd, dd == null ? void 0 : dd.required, depString, useValidatorFor]);
2123
2123
  }
2124
- function useDefaultValidator(validator, ctx) {
2124
+ var useDefaultValidator = function useDefaultValidator(validator, ctx) {
2125
2125
  switch (validator.type) {
2126
2126
  case exports.ValidatorType.Length:
2127
2127
  useLengthValidator(validator, ctx);
@@ -2133,7 +2133,7 @@ function useDefaultValidator(validator, ctx) {
2133
2133
  useDateValidator(validator, ctx);
2134
2134
  break;
2135
2135
  }
2136
- }
2136
+ };
2137
2137
  function useJsonataValidator(validator, ctx) {
2138
2138
  var sdn = ctx.dataContext.parentNode;
2139
2139
  var errorMsg = useJsonataExpression(validator.expression, getRootDataNode(sdn).control, getJsonPath(sdn), undefined, function (v) {