@joeygrable94/utm-src-pub-validators 0.0.96 → 0.0.98

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
@@ -95,7 +95,7 @@ var GROUP_ENTITY_SCOPES = Object.entries(
95
95
  );
96
96
 
97
97
  // src/constants/regex.constants.ts
98
- var REGEX_VALUE = /^([a-zA-Z0-9._-]*)$/;
98
+ var REGEX_VALUE = /^([a-zA-Z0-9._-]+)?$/;
99
99
  var ERROR_MESSAGE_REGEX_VALUE = `can only contain letters, numbers, and the special characters: - _ .`;
100
100
  var REGEX_DOMAIN = /^(?=.{1,253}$)(?!-)((xn--)?[a-zA-Z0-9]{1,59}(-[a-zA-Z0-9]{1,62})?\.)+([a-zA-Z]{2,63}|xn--[a-zA-Z0-9]{2,59})$/;
101
101
  var ERROR_MESSAGE_REGEX_DOMAIN = "please provide a valid domain name";