@plasius/schema 1.2.8 → 1.2.9

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/dist/index.js CHANGED
@@ -760,7 +760,7 @@ function validateName(value) {
760
760
  const cp = ch.codePointAt(0);
761
761
  if (cp >= 0 && cp <= 31 || cp === 127) return false;
762
762
  }
763
- const namePattern = /^[\p{L}\p{M}'\- ]+$/u;
763
+ const namePattern = /^[\p{L}\p{M}'\-. ]+$/u;
764
764
  if (!namePattern.test(trimmed)) return false;
765
765
  return true;
766
766
  }