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

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,8 +95,8 @@ 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._\-():]*)$/;
99
- var ERROR_MESSAGE_REGEX_VALUE = `can only contain letters, numbers, and the special characters: - _ . ( ) :`;
98
+ var REGEX_VALUE = /^([a-zA-Z0-9._-]*)$/;
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";
102
102
 
@@ -858,7 +858,7 @@ var SQueryListTrackingLinkDocuments = v12.object({
858
858
  ),
859
859
  TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT
860
860
  ),
861
- is_active: v12.fallback(v12.optional(IsValidIsActive), true),
861
+ is_active: v12.optional(IsValidIsActive),
862
862
  value: v12.optional(IsValidUrlDestination),
863
863
  destination: v12.optional(IsValidUrlDestination),
864
864
  protocol: v12.optional(IsValidUrlProtocol),