@mionjs/type-formats 0.8.0-alpha.0

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.
Files changed (134) hide show
  1. package/.dist/cjs/BigintFormats.cjs +14 -0
  2. package/.dist/cjs/BigintFormats.cjs.map +1 -0
  3. package/.dist/cjs/BigintFormats.d.ts +2 -0
  4. package/.dist/cjs/NumberFormats.cjs +20 -0
  5. package/.dist/cjs/NumberFormats.cjs.map +1 -0
  6. package/.dist/cjs/NumberFormats.d.ts +2 -0
  7. package/.dist/cjs/StringFormats.cjs +120 -0
  8. package/.dist/cjs/StringFormats.cjs.map +1 -0
  9. package/.dist/cjs/StringFormats.d.ts +11 -0
  10. package/.dist/cjs/constants.d.ts +1 -0
  11. package/.dist/cjs/package.json +1 -0
  12. package/.dist/cjs/src/bigint/bigIntFormat.runtype.cjs +152 -0
  13. package/.dist/cjs/src/bigint/bigIntFormat.runtype.cjs.map +1 -0
  14. package/.dist/cjs/src/bigint/bigIntFormat.runtype.d.ts +21 -0
  15. package/.dist/cjs/src/bigint/defaultBigNumberFormats.cjs +16 -0
  16. package/.dist/cjs/src/bigint/defaultBigNumberFormats.cjs.map +1 -0
  17. package/.dist/cjs/src/bigint/defaultBigNumberFormats.d.ts +29 -0
  18. package/.dist/cjs/src/constants.cjs +34 -0
  19. package/.dist/cjs/src/constants.cjs.map +1 -0
  20. package/.dist/cjs/src/constants.d.ts +15 -0
  21. package/.dist/cjs/src/constants.mock.cjs +111 -0
  22. package/.dist/cjs/src/constants.mock.cjs.map +1 -0
  23. package/.dist/cjs/src/constants.mock.d.ts +335 -0
  24. package/.dist/cjs/src/number/defaultNumberFormats.cjs +28 -0
  25. package/.dist/cjs/src/number/defaultNumberFormats.cjs.map +1 -0
  26. package/.dist/cjs/src/number/defaultNumberFormats.d.ts +63 -0
  27. package/.dist/cjs/src/number/numberFormat.runtype.cjs +214 -0
  28. package/.dist/cjs/src/number/numberFormat.runtype.cjs.map +1 -0
  29. package/.dist/cjs/src/number/numberFormat.runtype.d.ts +21 -0
  30. package/.dist/cjs/src/string/date.runtype.cjs +88 -0
  31. package/.dist/cjs/src/string/date.runtype.cjs.map +1 -0
  32. package/.dist/cjs/src/string/date.runtype.d.ts +19 -0
  33. package/.dist/cjs/src/string/dateTime.runtype.cjs +83 -0
  34. package/.dist/cjs/src/string/dateTime.runtype.cjs.map +1 -0
  35. package/.dist/cjs/src/string/dateTime.runtype.d.ts +26 -0
  36. package/.dist/cjs/src/string/defaultStringFormats.runtype.cjs +25 -0
  37. package/.dist/cjs/src/string/defaultStringFormats.runtype.cjs.map +1 -0
  38. package/.dist/cjs/src/string/defaultStringFormats.runtype.d.ts +45 -0
  39. package/.dist/cjs/src/string/domain.runtype.cjs +248 -0
  40. package/.dist/cjs/src/string/domain.runtype.cjs.map +1 -0
  41. package/.dist/cjs/src/string/domain.runtype.d.ts +72 -0
  42. package/.dist/cjs/src/string/email.runtype.cjs +159 -0
  43. package/.dist/cjs/src/string/email.runtype.cjs.map +1 -0
  44. package/.dist/cjs/src/string/email.runtype.d.ts +57 -0
  45. package/.dist/cjs/src/string/ip.runtype.cjs +72 -0
  46. package/.dist/cjs/src/string/ip.runtype.cjs.map +1 -0
  47. package/.dist/cjs/src/string/ip.runtype.d.ts +50 -0
  48. package/.dist/cjs/src/string/stringFormat.runtype.cjs +270 -0
  49. package/.dist/cjs/src/string/stringFormat.runtype.cjs.map +1 -0
  50. package/.dist/cjs/src/string/stringFormat.runtype.d.ts +21 -0
  51. package/.dist/cjs/src/string/time.runtype.cjs +100 -0
  52. package/.dist/cjs/src/string/time.runtype.cjs.map +1 -0
  53. package/.dist/cjs/src/string/time.runtype.d.ts +21 -0
  54. package/.dist/cjs/src/string/url.runtype.cjs +160 -0
  55. package/.dist/cjs/src/string/url.runtype.cjs.map +1 -0
  56. package/.dist/cjs/src/string/url.runtype.d.ts +81 -0
  57. package/.dist/cjs/src/string/uuid.runtype.cjs +44 -0
  58. package/.dist/cjs/src/string/uuid.runtype.cjs.map +1 -0
  59. package/.dist/cjs/src/string/uuid.runtype.d.ts +22 -0
  60. package/.dist/cjs/src/type-formats-pure-fns.cjs +390 -0
  61. package/.dist/cjs/src/type-formats-pure-fns.cjs.map +1 -0
  62. package/.dist/cjs/src/type-formats-pure-fns.d.ts +27 -0
  63. package/.dist/cjs/src/utils.cjs +14 -0
  64. package/.dist/cjs/src/utils.cjs.map +1 -0
  65. package/.dist/cjs/src/utils.d.ts +3 -0
  66. package/.dist/cjs/vitest.config.d.ts +2 -0
  67. package/.dist/esm/BigintFormats.d.ts +2 -0
  68. package/.dist/esm/BigintFormats.js +14 -0
  69. package/.dist/esm/BigintFormats.js.map +1 -0
  70. package/.dist/esm/NumberFormats.d.ts +2 -0
  71. package/.dist/esm/NumberFormats.js +20 -0
  72. package/.dist/esm/NumberFormats.js.map +1 -0
  73. package/.dist/esm/StringFormats.d.ts +11 -0
  74. package/.dist/esm/StringFormats.js +120 -0
  75. package/.dist/esm/StringFormats.js.map +1 -0
  76. package/.dist/esm/constants.d.ts +1 -0
  77. package/.dist/esm/src/bigint/bigIntFormat.runtype.d.ts +21 -0
  78. package/.dist/esm/src/bigint/bigIntFormat.runtype.js +152 -0
  79. package/.dist/esm/src/bigint/bigIntFormat.runtype.js.map +1 -0
  80. package/.dist/esm/src/bigint/defaultBigNumberFormats.d.ts +29 -0
  81. package/.dist/esm/src/bigint/defaultBigNumberFormats.js +16 -0
  82. package/.dist/esm/src/bigint/defaultBigNumberFormats.js.map +1 -0
  83. package/.dist/esm/src/constants.d.ts +15 -0
  84. package/.dist/esm/src/constants.js +34 -0
  85. package/.dist/esm/src/constants.js.map +1 -0
  86. package/.dist/esm/src/constants.mock.d.ts +335 -0
  87. package/.dist/esm/src/constants.mock.js +111 -0
  88. package/.dist/esm/src/constants.mock.js.map +1 -0
  89. package/.dist/esm/src/number/defaultNumberFormats.d.ts +63 -0
  90. package/.dist/esm/src/number/defaultNumberFormats.js +28 -0
  91. package/.dist/esm/src/number/defaultNumberFormats.js.map +1 -0
  92. package/.dist/esm/src/number/numberFormat.runtype.d.ts +21 -0
  93. package/.dist/esm/src/number/numberFormat.runtype.js +214 -0
  94. package/.dist/esm/src/number/numberFormat.runtype.js.map +1 -0
  95. package/.dist/esm/src/string/date.runtype.d.ts +19 -0
  96. package/.dist/esm/src/string/date.runtype.js +88 -0
  97. package/.dist/esm/src/string/date.runtype.js.map +1 -0
  98. package/.dist/esm/src/string/dateTime.runtype.d.ts +26 -0
  99. package/.dist/esm/src/string/dateTime.runtype.js +83 -0
  100. package/.dist/esm/src/string/dateTime.runtype.js.map +1 -0
  101. package/.dist/esm/src/string/defaultStringFormats.runtype.d.ts +45 -0
  102. package/.dist/esm/src/string/defaultStringFormats.runtype.js +25 -0
  103. package/.dist/esm/src/string/defaultStringFormats.runtype.js.map +1 -0
  104. package/.dist/esm/src/string/domain.runtype.d.ts +72 -0
  105. package/.dist/esm/src/string/domain.runtype.js +248 -0
  106. package/.dist/esm/src/string/domain.runtype.js.map +1 -0
  107. package/.dist/esm/src/string/email.runtype.d.ts +57 -0
  108. package/.dist/esm/src/string/email.runtype.js +159 -0
  109. package/.dist/esm/src/string/email.runtype.js.map +1 -0
  110. package/.dist/esm/src/string/ip.runtype.d.ts +50 -0
  111. package/.dist/esm/src/string/ip.runtype.js +72 -0
  112. package/.dist/esm/src/string/ip.runtype.js.map +1 -0
  113. package/.dist/esm/src/string/stringFormat.runtype.d.ts +21 -0
  114. package/.dist/esm/src/string/stringFormat.runtype.js +270 -0
  115. package/.dist/esm/src/string/stringFormat.runtype.js.map +1 -0
  116. package/.dist/esm/src/string/time.runtype.d.ts +21 -0
  117. package/.dist/esm/src/string/time.runtype.js +100 -0
  118. package/.dist/esm/src/string/time.runtype.js.map +1 -0
  119. package/.dist/esm/src/string/url.runtype.d.ts +81 -0
  120. package/.dist/esm/src/string/url.runtype.js +160 -0
  121. package/.dist/esm/src/string/url.runtype.js.map +1 -0
  122. package/.dist/esm/src/string/uuid.runtype.d.ts +22 -0
  123. package/.dist/esm/src/string/uuid.runtype.js +44 -0
  124. package/.dist/esm/src/string/uuid.runtype.js.map +1 -0
  125. package/.dist/esm/src/type-formats-pure-fns.d.ts +27 -0
  126. package/.dist/esm/src/type-formats-pure-fns.js +390 -0
  127. package/.dist/esm/src/type-formats-pure-fns.js.map +1 -0
  128. package/.dist/esm/src/utils.d.ts +3 -0
  129. package/.dist/esm/src/utils.js +14 -0
  130. package/.dist/esm/src/utils.js.map +1 -0
  131. package/.dist/esm/vitest.config.d.ts +2 -0
  132. package/LICENSE +21 -0
  133. package/README.md +123 -0
  134. package/package.json +80 -0
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const src_bigint_bigIntFormat_runtype = require("./src/bigint/bigIntFormat.runtype.cjs");
4
+ const src_bigint_defaultBigNumberFormats = require("./src/bigint/defaultBigNumberFormats.cjs");
5
+ exports.BIGINT_RUN_TYPE_FORMATTER = src_bigint_bigIntFormat_runtype.BIGINT_RUN_TYPE_FORMATTER;
6
+ exports.BigIntRunTypeFormat = src_bigint_bigIntFormat_runtype.BigIntRunTypeFormat;
7
+ exports.__ΩFormatBigInt = src_bigint_bigIntFormat_runtype.__ΩFormatBigInt;
8
+ exports.__ΩFormatBigInt64 = src_bigint_defaultBigNumberFormats.__ΩFormatBigInt64;
9
+ exports.__ΩFormatBigNegative = src_bigint_defaultBigNumberFormats.__ΩFormatBigNegative;
10
+ exports.__ΩFormatBigNegativeInt = src_bigint_defaultBigNumberFormats.__ΩFormatBigNegativeInt;
11
+ exports.__ΩFormatBigPositive = src_bigint_defaultBigNumberFormats.__ΩFormatBigPositive;
12
+ exports.__ΩFormatBigPositiveInt = src_bigint_defaultBigNumberFormats.__ΩFormatBigPositiveInt;
13
+ exports.__ΩFormatBigUInt64 = src_bigint_defaultBigNumberFormats.__ΩFormatBigUInt64;
14
+ //# sourceMappingURL=BigintFormats.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BigintFormats.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from './src/bigint/bigIntFormat.runtype.ts';
2
+ export * from './src/bigint/defaultBigNumberFormats.ts';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const src_number_numberFormat_runtype = require("./src/number/numberFormat.runtype.cjs");
4
+ const src_number_defaultNumberFormats = require("./src/number/defaultNumberFormats.cjs");
5
+ exports.NUMBER_RUN_TYPE_FORMATTER = src_number_numberFormat_runtype.NUMBER_RUN_TYPE_FORMATTER;
6
+ exports.NumberRunTypeFormat = src_number_numberFormat_runtype.NumberRunTypeFormat;
7
+ exports.__ΩFormatNumber = src_number_numberFormat_runtype.__ΩFormatNumber;
8
+ exports.__ΩFormatFloat = src_number_defaultNumberFormats.__ΩFormatFloat;
9
+ exports.__ΩFormatInt16 = src_number_defaultNumberFormats.__ΩFormatInt16;
10
+ exports.__ΩFormatInt32 = src_number_defaultNumberFormats.__ΩFormatInt32;
11
+ exports.__ΩFormatInt8 = src_number_defaultNumberFormats.__ΩFormatInt8;
12
+ exports.__ΩFormatInteger = src_number_defaultNumberFormats.__ΩFormatInteger;
13
+ exports.__ΩFormatNegative = src_number_defaultNumberFormats.__ΩFormatNegative;
14
+ exports.__ΩFormatNegativeInt = src_number_defaultNumberFormats.__ΩFormatNegativeInt;
15
+ exports.__ΩFormatPositive = src_number_defaultNumberFormats.__ΩFormatPositive;
16
+ exports.__ΩFormatPositiveInt = src_number_defaultNumberFormats.__ΩFormatPositiveInt;
17
+ exports.__ΩFormatUInt16 = src_number_defaultNumberFormats.__ΩFormatUInt16;
18
+ exports.__ΩFormatUInt32 = src_number_defaultNumberFormats.__ΩFormatUInt32;
19
+ exports.__ΩFormatUInt8 = src_number_defaultNumberFormats.__ΩFormatUInt8;
20
+ //# sourceMappingURL=NumberFormats.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberFormats.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from './src/number/numberFormat.runtype.ts';
2
+ export * from './src/number/defaultNumberFormats.ts';
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const src_typeFormatsPureFns = require("./src/type-formats-pure-fns.cjs");
4
+ const src_string_date_runtype = require("./src/string/date.runtype.cjs");
5
+ const src_string_dateTime_runtype = require("./src/string/dateTime.runtype.cjs");
6
+ const src_string_time_runtype = require("./src/string/time.runtype.cjs");
7
+ const src_string_email_runtype = require("./src/string/email.runtype.cjs");
8
+ const src_string_domain_runtype = require("./src/string/domain.runtype.cjs");
9
+ const src_string_url_runtype = require("./src/string/url.runtype.cjs");
10
+ const src_string_ip_runtype = require("./src/string/ip.runtype.cjs");
11
+ const src_string_uuid_runtype = require("./src/string/uuid.runtype.cjs");
12
+ const src_string_defaultStringFormats_runtype = require("./src/string/defaultStringFormats.runtype.cjs");
13
+ const src_string_stringFormat_runtype = require("./src/string/stringFormat.runtype.cjs");
14
+ exports.cpf_isDateString = src_typeFormatsPureFns.cpf_isDateString;
15
+ exports.cpf_isDateString_DM = src_typeFormatsPureFns.cpf_isDateString_DM;
16
+ exports.cpf_isDateString_DMY = src_typeFormatsPureFns.cpf_isDateString_DMY;
17
+ exports.cpf_isDateString_MD = src_typeFormatsPureFns.cpf_isDateString_MD;
18
+ exports.cpf_isDateString_MDY = src_typeFormatsPureFns.cpf_isDateString_MDY;
19
+ exports.cpf_isDateString_YM = src_typeFormatsPureFns.cpf_isDateString_YM;
20
+ exports.cpf_isDateString_YMD = src_typeFormatsPureFns.cpf_isDateString_YMD;
21
+ exports.cpf_isHours = src_typeFormatsPureFns.cpf_isHours;
22
+ exports.cpf_isIPV4 = src_typeFormatsPureFns.cpf_isIPV4;
23
+ exports.cpf_isIPV6 = src_typeFormatsPureFns.cpf_isIPV6;
24
+ exports.cpf_isLocalHost = src_typeFormatsPureFns.cpf_isLocalHost;
25
+ exports.cpf_isMinutes = src_typeFormatsPureFns.cpf_isMinutes;
26
+ exports.cpf_isSeconds = src_typeFormatsPureFns.cpf_isSeconds;
27
+ exports.cpf_isSecondsWithMs = src_typeFormatsPureFns.cpf_isSecondsWithMs;
28
+ exports.cpf_isTimeString_HHmm = src_typeFormatsPureFns.cpf_isTimeString_HHmm;
29
+ exports.cpf_isTimeString_HHmmss = src_typeFormatsPureFns.cpf_isTimeString_HHmmss;
30
+ exports.cpf_isTimeString_ISO = src_typeFormatsPureFns.cpf_isTimeString_ISO;
31
+ exports.cpf_isTimeString_ISO_TZ = src_typeFormatsPureFns.cpf_isTimeString_ISO_TZ;
32
+ exports.cpf_isTimeString_mmss = src_typeFormatsPureFns.cpf_isTimeString_mmss;
33
+ exports.cpf_isTimeZone = src_typeFormatsPureFns.cpf_isTimeZone;
34
+ exports.cpf_isUUID = src_typeFormatsPureFns.cpf_isUUID;
35
+ exports.cpf_mionGetIPErrors = src_typeFormatsPureFns.cpf_mionGetIPErrors;
36
+ exports.dateFunctions = src_typeFormatsPureFns.dateFunctions;
37
+ exports.ipFunctions = src_typeFormatsPureFns.ipFunctions;
38
+ exports.mionFormatsPureFunctions = src_typeFormatsPureFns.mionFormatsPureFunctions;
39
+ exports.pureTimeFns = src_typeFormatsPureFns.pureTimeFns;
40
+ exports.timeFunctions = src_typeFormatsPureFns.timeFunctions;
41
+ exports.DATE_RUN_TYPE_FORMATTER = src_string_date_runtype.DATE_RUN_TYPE_FORMATTER;
42
+ exports.DateStringRunTypeFormat = src_string_date_runtype.DateStringRunTypeFormat;
43
+ exports.__ΩDEFAULT_DATE_PARAMS = src_string_date_runtype.__ΩDEFAULT_DATE_PARAMS;
44
+ exports.__ΩFormatStringDate = src_string_date_runtype.__ΩFormatStringDate;
45
+ exports.DATE_TIME_RUN_TYPE_FORMATTER = src_string_dateTime_runtype.DATE_TIME_RUN_TYPE_FORMATTER;
46
+ exports.DateTimeRunTypeFormat = src_string_dateTime_runtype.DateTimeRunTypeFormat;
47
+ exports.__ΩDEFAULT_DATE_TIME_PARAMS = src_string_dateTime_runtype.__ΩDEFAULT_DATE_TIME_PARAMS;
48
+ exports.__ΩFormatStringDateTime = src_string_dateTime_runtype.__ΩFormatStringDateTime;
49
+ exports.TIME_RUN_TYPE_FORMATTER = src_string_time_runtype.TIME_RUN_TYPE_FORMATTER;
50
+ exports.TimeStringRunTypeFormat = src_string_time_runtype.TimeStringRunTypeFormat;
51
+ exports.__ΩDEFAULT_TIME_FORMAT_PARAMS = src_string_time_runtype.__ΩDEFAULT_TIME_FORMAT_PARAMS;
52
+ exports.__ΩFormatStringTime = src_string_time_runtype.__ΩFormatStringTime;
53
+ exports.mockMilliseconds = src_string_time_runtype.mockMilliseconds;
54
+ exports.mockTimeZone = src_string_time_runtype.mockTimeZone;
55
+ exports.EMAIL_PATTERN = src_string_email_runtype.EMAIL_PATTERN;
56
+ exports.EMAIL_PATTERN_PUNYCODE = src_string_email_runtype.EMAIL_PATTERN_PUNYCODE;
57
+ exports.EMAIL_RUN_TYPE_FORMATTER = src_string_email_runtype.EMAIL_RUN_TYPE_FORMATTER;
58
+ exports.EmailRunTypeFormat = src_string_email_runtype.EmailRunTypeFormat;
59
+ exports.__ΩDEFAULT_EMAIL_PARAMS = src_string_email_runtype.__ΩDEFAULT_EMAIL_PARAMS;
60
+ exports.__ΩDEFAULT_STRICT_EMAIL_PARAMS = src_string_email_runtype.__ΩDEFAULT_STRICT_EMAIL_PARAMS;
61
+ exports.__ΩFormatEmail = src_string_email_runtype.__ΩFormatEmail;
62
+ exports.__ΩFormatEmailPattern = src_string_email_runtype.__ΩFormatEmailPattern;
63
+ exports.__ΩFormatEmailPunycode = src_string_email_runtype.__ΩFormatEmailPunycode;
64
+ exports.__ΩFormatEmailStrict = src_string_email_runtype.__ΩFormatEmailStrict;
65
+ exports.DOMAIN_ALLOWED_CHARS_PATTERN = src_string_domain_runtype.DOMAIN_ALLOWED_CHARS_PATTERN;
66
+ exports.DOMAIN_PATTERN = src_string_domain_runtype.DOMAIN_PATTERN;
67
+ exports.DOMAIN_PATTERN_PUNYCODE = src_string_domain_runtype.DOMAIN_PATTERN_PUNYCODE;
68
+ exports.DOMAIN_PATTERN_UNICODE = src_string_domain_runtype.DOMAIN_PATTERN_UNICODE;
69
+ exports.DOMAIN_RUN_TYPE_FORMATTER = src_string_domain_runtype.DOMAIN_RUN_TYPE_FORMATTER;
70
+ exports.DomainRunTypeFormat = src_string_domain_runtype.DomainRunTypeFormat;
71
+ exports.TLD_ALLOWED_CHARS_PATTERN = src_string_domain_runtype.TLD_ALLOWED_CHARS_PATTERN;
72
+ exports.__ΩDEFAULT_DMM_TLD_PARAMS = src_string_domain_runtype.__ΩDEFAULT_DMM_TLD_PARAMS;
73
+ exports.__ΩDEFAULT_DOMAIN_PARAMS = src_string_domain_runtype.__ΩDEFAULT_DOMAIN_PARAMS;
74
+ exports.__ΩDEFAULT_DOM_NAME_PARAMS = src_string_domain_runtype.__ΩDEFAULT_DOM_NAME_PARAMS;
75
+ exports.__ΩDEFAULT_STRICT_DOMAIN_PARAMS = src_string_domain_runtype.__ΩDEFAULT_STRICT_DOMAIN_PARAMS;
76
+ exports.__ΩFormatDomain = src_string_domain_runtype.__ΩFormatDomain;
77
+ exports.__ΩFormatDomainStrict = src_string_domain_runtype.__ΩFormatDomainStrict;
78
+ exports.URLRunTypeFormat = src_string_url_runtype.URLRunTypeFormat;
79
+ exports.URL_FILE_REGEXP = src_string_url_runtype.URL_FILE_REGEXP;
80
+ exports.URL_HTTP_REGEXP = src_string_url_runtype.URL_HTTP_REGEXP;
81
+ exports.URL_REGEXP = src_string_url_runtype.URL_REGEXP;
82
+ exports.URL_RUN_TYPE_FORMATTER = src_string_url_runtype.URL_RUN_TYPE_FORMATTER;
83
+ exports.__ΩDEFAULT_URL_FILE_PARAMS = src_string_url_runtype.__ΩDEFAULT_URL_FILE_PARAMS;
84
+ exports.__ΩDEFAULT_URL_HTTP_PARAMS = src_string_url_runtype.__ΩDEFAULT_URL_HTTP_PARAMS;
85
+ exports.__ΩDEFAULT_URL_PARAMS = src_string_url_runtype.__ΩDEFAULT_URL_PARAMS;
86
+ exports.__ΩDEFAULT_URL_SOCIAL_MEDIA_PARAMS = src_string_url_runtype.__ΩDEFAULT_URL_SOCIAL_MEDIA_PARAMS;
87
+ exports.__ΩFormatUrl = src_string_url_runtype.__ΩFormatUrl;
88
+ exports.__ΩFormatUrlFile = src_string_url_runtype.__ΩFormatUrlFile;
89
+ exports.__ΩFormatUrlHttp = src_string_url_runtype.__ΩFormatUrlHttp;
90
+ exports.__ΩFormatUrlSocialMedia = src_string_url_runtype.__ΩFormatUrlSocialMedia;
91
+ exports.IPRunTypeFormat = src_string_ip_runtype.IPRunTypeFormat;
92
+ exports.IP_RUN_TYPE_FORMATTER = src_string_ip_runtype.IP_RUN_TYPE_FORMATTER;
93
+ exports.__ΩFormatIP = src_string_ip_runtype.__ΩFormatIP;
94
+ exports.__ΩFormatIPWithPort = src_string_ip_runtype.__ΩFormatIPWithPort;
95
+ exports.__ΩFormatIPv4 = src_string_ip_runtype.__ΩFormatIPv4;
96
+ exports.__ΩFormatIPv4WithPort = src_string_ip_runtype.__ΩFormatIPv4WithPort;
97
+ exports.__ΩFormatIPv6 = src_string_ip_runtype.__ΩFormatIPv6;
98
+ exports.__ΩFormatIPv6WithPort = src_string_ip_runtype.__ΩFormatIPv6WithPort;
99
+ exports.mockIpV4 = src_string_ip_runtype.mockIpV4;
100
+ exports.mockIpV6 = src_string_ip_runtype.mockIpV6;
101
+ exports.UUIDRunTypeFormat = src_string_uuid_runtype.UUIDRunTypeFormat;
102
+ exports.UUID_RUN_TYPE_FORMATTER = src_string_uuid_runtype.UUID_RUN_TYPE_FORMATTER;
103
+ exports.__ΩFormatUUIDv4 = src_string_uuid_runtype.__ΩFormatUUIDv4;
104
+ exports.__ΩFormatUUIDv7 = src_string_uuid_runtype.__ΩFormatUUIDv7;
105
+ exports.ALPHANUMERIC_REGEX = src_string_defaultStringFormats_runtype.ALPHANUMERIC_REGEX;
106
+ exports.ALPHA_REGEX = src_string_defaultStringFormats_runtype.ALPHA_REGEX;
107
+ exports.NUMERIC_REGEX = src_string_defaultStringFormats_runtype.NUMERIC_REGEX;
108
+ exports.__ΩFormatAlpha = src_string_defaultStringFormats_runtype.__ΩFormatAlpha;
109
+ exports.__ΩFormatAlphaNumeric = src_string_defaultStringFormats_runtype.__ΩFormatAlphaNumeric;
110
+ exports.__ΩFormatCapitalize = src_string_defaultStringFormats_runtype.__ΩFormatCapitalize;
111
+ exports.__ΩFormatLowercase = src_string_defaultStringFormats_runtype.__ΩFormatLowercase;
112
+ exports.__ΩFormatNumeric = src_string_defaultStringFormats_runtype.__ΩFormatNumeric;
113
+ exports.__ΩFormatUppercase = src_string_defaultStringFormats_runtype.__ΩFormatUppercase;
114
+ exports.STRING_RUN_TYPE_FORMATTER = src_string_stringFormat_runtype.STRING_RUN_TYPE_FORMATTER;
115
+ exports.StringRunTypeFormat = src_string_stringFormat_runtype.StringRunTypeFormat;
116
+ exports.__ΩFormatString = src_string_stringFormat_runtype.__ΩFormatString;
117
+ exports.isPatternParam = src_string_stringFormat_runtype.isPatternParam;
118
+ exports.patternParamsToStrParams = src_string_stringFormat_runtype.patternParamsToStrParams;
119
+ exports.stringIgnoreProps = src_string_stringFormat_runtype.stringIgnoreProps;
120
+ //# sourceMappingURL=StringFormats.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StringFormats.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ export * from './src/string/stringFormat.runtype.ts';
2
+ export * from './src/string/date.runtype.ts';
3
+ export * from './src/string/dateTime.runtype.ts';
4
+ export * from './src/string/time.runtype.ts';
5
+ export * from './src/string/email.runtype.ts';
6
+ export * from './src/string/domain.runtype.ts';
7
+ export * from './src/string/url.runtype.ts';
8
+ export * from './src/string/ip.runtype.ts';
9
+ export * from './src/string/uuid.runtype.ts';
10
+ export * from './src/string/defaultStringFormats.runtype.ts';
11
+ export * from './src/type-formats-pure-fns.ts';
@@ -0,0 +1 @@
1
+ export { FormatNames, FormatName } from './src/constants.ts';
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const runTypes = require("@mionjs/run-types");
4
+ const type = require("@deepkit/type");
5
+ const src_utils = require("../utils.cjs");
6
+ const BIGINT64_MIN = -9223372036854775808n;
7
+ const BIGINT64_MAX = 9223372036854775807n;
8
+ const BIGUINT64_MIN = 0n;
9
+ const BIGUINT64_MAX = 18446744073709551615n;
10
+ class BigIntRunTypeFormat extends runTypes.BaseRunTypeFormat {
11
+ static id = "bigintFormat";
12
+ kind = type.ReflectionKind.bigint;
13
+ name = BigIntRunTypeFormat.id;
14
+ emitIsType(comp, rt) {
15
+ const params = this.getParams(rt);
16
+ const v = comp.vλl;
17
+ const conditions = [];
18
+ if (params.max !== void 0) {
19
+ const maxVal = src_utils.paramVal(params.max);
20
+ conditions.push(`${v} <= ${maxVal}n`);
21
+ }
22
+ if (params.min !== void 0) {
23
+ const minVal = src_utils.paramVal(params.min);
24
+ conditions.push(`${v} >= ${minVal}n`);
25
+ }
26
+ if (params.lt !== void 0) {
27
+ const ltVal = src_utils.paramVal(params.lt);
28
+ conditions.push(`${v} < ${ltVal}n`);
29
+ }
30
+ if (params.gt !== void 0) {
31
+ const gtVal = src_utils.paramVal(params.gt);
32
+ conditions.push(`${v} > ${gtVal}n`);
33
+ }
34
+ if (params.multipleOf !== void 0) {
35
+ const multipleOfVal = src_utils.paramVal(params.multipleOf);
36
+ conditions.push(`(${v} % ${multipleOfVal}n === 0n)`);
37
+ }
38
+ return { code: conditions.length ? conditions.join(" && ") : "true", type: "E" };
39
+ }
40
+ emitIsTypeErrors(comp, rt) {
41
+ const params = this.getParams(rt);
42
+ const v = comp.vλl;
43
+ const errFn = this.getCallJitFormatErr(comp, rt, this, false);
44
+ const conditions = [];
45
+ if (params.max !== void 0) {
46
+ const maxVal = src_utils.paramVal(params.max);
47
+ conditions.push(`if (${v} > ${maxVal}n) ${errFn("max", maxVal)}`);
48
+ }
49
+ if (params.min !== void 0) {
50
+ const minVal = src_utils.paramVal(params.min);
51
+ conditions.push(`if (${v} < ${minVal}n) ${errFn("min", minVal)}`);
52
+ }
53
+ if (params.lt !== void 0) {
54
+ const ltVal = src_utils.paramVal(params.lt);
55
+ conditions.push(`if (${v} >= ${ltVal}n) ${errFn("lt", ltVal)}`);
56
+ }
57
+ if (params.gt !== void 0) {
58
+ const gtVal = src_utils.paramVal(params.gt);
59
+ conditions.push(`if (${v} <= ${gtVal}n) ${errFn("gt", gtVal)}`);
60
+ }
61
+ if (params.multipleOf !== void 0) {
62
+ const multipleOfVal = src_utils.paramVal(params.multipleOf);
63
+ conditions.push(`if ((${v} % ${multipleOfVal}n !== 0n)) ${errFn("multipleOf", multipleOfVal)}`);
64
+ }
65
+ return { code: conditions.join(";"), type: "S" };
66
+ }
67
+ // No format transformation needed for bigints
68
+ emitFormat() {
69
+ return { code: void 0, type: "S" };
70
+ }
71
+ emitToBinary(comp, rt) {
72
+ const params = this.getParams(rt);
73
+ const bigintType = getBigIntType(params);
74
+ if (bigintType.isBigInt64 || bigintType.isBigUInt64) {
75
+ const sεr = comp.args.sεr;
76
+ if (bigintType.isBigUInt64) {
77
+ return { code: `${sεr}.view.setBigUint64(${sεr}.index, ${comp.vλl}, 1, ${sεr}.index += 8)`, type: "S" };
78
+ }
79
+ return { code: `${sεr}.view.setBigInt64(${sεr}.index, ${comp.vλl}, 1, ${sεr}.index += 8)`, type: "S" };
80
+ }
81
+ return { code: void 0, type: "S" };
82
+ }
83
+ emitFromBinary(comp, rt) {
84
+ const params = this.getParams(rt);
85
+ const bigintType = getBigIntType(params);
86
+ if (bigintType.isBigInt64 || bigintType.isBigUInt64) {
87
+ const dεs = comp.args.dεs;
88
+ if (bigintType.isBigUInt64) {
89
+ return { code: `${dεs}.view.getBigUint64(${dεs}.index, 1, ${dεs}.index += 8)`, type: "E" };
90
+ }
91
+ return { code: `${dεs}.view.getBigInt64(${dεs}.index, 1, ${dεs}.index += 8)`, type: "E" };
92
+ }
93
+ return { code: void 0, type: "S" };
94
+ }
95
+ _mock(opts, rt) {
96
+ const params = this.getParams(rt);
97
+ let min = params.min !== void 0 ? src_utils.paramVal(params.min) : -99999n;
98
+ let max = params.max !== void 0 ? src_utils.paramVal(params.max) : 99999n;
99
+ if (params.gt !== void 0) {
100
+ const gtVal = src_utils.paramVal(params.gt);
101
+ min = gtVal + 1n;
102
+ }
103
+ if (params.lt !== void 0) {
104
+ const ltVal = src_utils.paramVal(params.lt);
105
+ max = ltVal - 1n;
106
+ }
107
+ const minNum = Number(min > BigInt(Number.MIN_SAFE_INTEGER) ? min : BigInt(Number.MIN_SAFE_INTEGER));
108
+ const maxNum = Number(max < BigInt(Number.MAX_SAFE_INTEGER) ? max : BigInt(Number.MAX_SAFE_INTEGER));
109
+ let result = BigInt(runTypes.random(minNum, maxNum));
110
+ if (params.multipleOf !== void 0) {
111
+ const multipleOfVal = src_utils.paramVal(params.multipleOf);
112
+ const factor = result / multipleOfVal;
113
+ result = factor * multipleOfVal;
114
+ }
115
+ return result;
116
+ }
117
+ validateParams(rt, params) {
118
+ const lowerBoundCount = [params.min, params.gt].filter(Boolean).length;
119
+ if (lowerBoundCount > 1) {
120
+ throw new Error(`Cannot specify more than one of min or gt in ${this.printPath(rt)}`);
121
+ }
122
+ const upperBoundCount = [params.max, params.lt].filter(Boolean).length;
123
+ if (upperBoundCount > 1) {
124
+ throw new Error(`Cannot specify more than one of max or lt in ${this.printPath(rt)}`);
125
+ }
126
+ if (params.min && params.max && src_utils.paramVal(params.min) > src_utils.paramVal(params.max)) {
127
+ throw new Error(`min cannot be greater than max in ${this.printPath(rt)}`);
128
+ }
129
+ if (params.gt && params.lt && src_utils.paramVal(params.gt) >= src_utils.paramVal(params.lt)) {
130
+ throw new Error(`gt cannot be greater than or equal to lt in ${this.printPath(rt)}`);
131
+ }
132
+ if (params.multipleOf !== void 0) {
133
+ const multipleOfVal = src_utils.paramVal(params.multipleOf);
134
+ if (multipleOfVal <= 0) {
135
+ throw new Error(`multipleOf must be greater than 0 in ${this.printPath(rt)}`);
136
+ }
137
+ }
138
+ }
139
+ }
140
+ function getBigIntType(params) {
141
+ const min = params.min !== void 0 ? src_utils.paramVal(params.min) : void 0;
142
+ const max = params.max !== void 0 ? src_utils.paramVal(params.max) : void 0;
143
+ const isBigInt64 = min !== void 0 && max !== void 0 && min >= BIGINT64_MIN && max <= BIGINT64_MAX;
144
+ const isBigUInt64 = min !== void 0 && max !== void 0 && min >= BIGUINT64_MIN && max <= BIGUINT64_MAX;
145
+ return { isBigInt64, isBigUInt64 };
146
+ }
147
+ const BIGINT_RUN_TYPE_FORMATTER = runTypes.registerFormatter(new BigIntRunTypeFormat());
148
+ const __ΩFormatBigInt = ["P", "BrandName", () => runTypes.__ΩTypeFormat, () => BigIntRunTypeFormat.id, "FormatBigInt", 'PMc!!c"*i$e!!e!"o#%w%y'];
149
+ exports.BIGINT_RUN_TYPE_FORMATTER = BIGINT_RUN_TYPE_FORMATTER;
150
+ exports.BigIntRunTypeFormat = BigIntRunTypeFormat;
151
+ exports.__ΩFormatBigInt = __ΩFormatBigInt;
152
+ //# sourceMappingURL=bigIntFormat.runtype.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bigIntFormat.runtype.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,21 @@
1
+ import { BaseRunType, JitFnCompiler, JitErrorsFnCompiler, JitCode, jitBinarySerializerArgs, JitFunctions, BaseFnCompiler, jitBinaryDeserializerArgs, TypeFormat, BaseRunTypeFormat, RunTypeOptions } from '@mionjs/run-types';
2
+ import { ReflectionKind } from '@deepkit/type';
3
+ import { FormatParams_BigInt } from '@mionjs/core';
4
+ type BinarySerializer = BaseFnCompiler<typeof jitBinarySerializerArgs, typeof JitFunctions.toBinary.id>;
5
+ type BinaryDeserializer = BaseFnCompiler<typeof jitBinaryDeserializerArgs, typeof JitFunctions.fromBinary.id>;
6
+ export declare class BigIntRunTypeFormat extends BaseRunTypeFormat<FormatParams_BigInt> {
7
+ static readonly id: "bigintFormat";
8
+ readonly kind = ReflectionKind.bigint;
9
+ readonly name: "bigintFormat";
10
+ emitIsType(comp: JitFnCompiler, rt: BaseRunType): JitCode;
11
+ emitIsTypeErrors(comp: JitErrorsFnCompiler, rt: BaseRunType): JitCode;
12
+ emitFormat(): JitCode;
13
+ emitToBinary(comp: BinarySerializer, rt: BaseRunType): JitCode;
14
+ emitFromBinary(comp: BinaryDeserializer, rt: BaseRunType): JitCode;
15
+ _mock(opts: RunTypeOptions, rt: BaseRunType): bigint;
16
+ validateParams(rt: BaseRunType, params: FormatParams_BigInt): void;
17
+ }
18
+ export declare const BIGINT_RUN_TYPE_FORMATTER: BigIntRunTypeFormat;
19
+ export type FormatBigInt<P extends Partial<FormatParams_BigInt> = {}, BrandName extends string = never> = TypeFormat<bigint, typeof BigIntRunTypeFormat.id, P, BrandName>;
20
+ export {};
21
+ export declare type __ΩFormatBigInt = any[];
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const src_bigint_bigIntFormat_runtype = require("./bigIntFormat.runtype.cjs");
4
+ const __ΩFormatBigPositive = [() => src_bigint_bigIntFormat_runtype.__ΩFormatBigInt, 0n, "min", "FormatBigPositive", 'P."4#Mo!"w$y'];
5
+ const __ΩFormatBigNegative = [() => src_bigint_bigIntFormat_runtype.__ΩFormatBigInt, 0n, "max", "FormatBigNegative", 'P."4#Mo!"w$y'];
6
+ const __ΩFormatBigPositiveInt = [() => src_bigint_bigIntFormat_runtype.__ΩFormatBigInt, 0n, "min", 1n, "multipleOf", "FormatBigPositiveInt", 'P."4#.$4%Mo!"w&y'];
7
+ const __ΩFormatBigNegativeInt = [() => src_bigint_bigIntFormat_runtype.__ΩFormatBigInt, 0n, "max", 1n, "multipleOf", "FormatBigNegativeInt", 'P."4#.$4%Mo!"w&y'];
8
+ const __ΩFormatBigInt64 = [() => src_bigint_bigIntFormat_runtype.__ΩFormatBigInt, -9223372036854775808n, "min", 9223372036854775807n, "max", "FormatBigInt64", 'P."4#.$4%Mo!"w&y'];
9
+ const __ΩFormatBigUInt64 = [() => src_bigint_bigIntFormat_runtype.__ΩFormatBigInt, 0n, "min", 18446744073709551615n, "max", "FormatBigUInt64", 'P."4#.$4%Mo!"w&y'];
10
+ exports.__ΩFormatBigInt64 = __ΩFormatBigInt64;
11
+ exports.__ΩFormatBigNegative = __ΩFormatBigNegative;
12
+ exports.__ΩFormatBigNegativeInt = __ΩFormatBigNegativeInt;
13
+ exports.__ΩFormatBigPositive = __ΩFormatBigPositive;
14
+ exports.__ΩFormatBigPositiveInt = __ΩFormatBigPositiveInt;
15
+ exports.__ΩFormatBigUInt64 = __ΩFormatBigUInt64;
16
+ //# sourceMappingURL=defaultBigNumberFormats.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaultBigNumberFormats.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -0,0 +1,29 @@
1
+ import { FormatBigInt } from './bigIntFormat.runtype.ts';
2
+ export type FormatBigPositive = FormatBigInt<{
3
+ min: 0n;
4
+ }>;
5
+ export type FormatBigNegative = FormatBigInt<{
6
+ max: 0n;
7
+ }>;
8
+ export type FormatBigPositiveInt = FormatBigInt<{
9
+ min: 0n;
10
+ multipleOf: 1n;
11
+ }>;
12
+ export type FormatBigNegativeInt = FormatBigInt<{
13
+ max: 0n;
14
+ multipleOf: 1n;
15
+ }>;
16
+ export type FormatBigInt64 = FormatBigInt<{
17
+ min: -9223372036854775808n;
18
+ max: 9223372036854775807n;
19
+ }>;
20
+ export type FormatBigUInt64 = FormatBigInt<{
21
+ min: 0n;
22
+ max: 18446744073709551615n;
23
+ }>;
24
+ export declare type __ΩFormatBigPositive = any[];
25
+ export declare type __ΩFormatBigNegative = any[];
26
+ export declare type __ΩFormatBigPositiveInt = any[];
27
+ export declare type __ΩFormatBigNegativeInt = any[];
28
+ export declare type __ΩFormatBigInt64 = any[];
29
+ export declare type __ΩFormatBigUInt64 = any[];
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const src_bigint_bigIntFormat_runtype = require("./bigint/bigIntFormat.runtype.cjs");
4
+ const src_number_numberFormat_runtype = require("./number/numberFormat.runtype.cjs");
5
+ require("./type-formats-pure-fns.cjs");
6
+ const src_string_date_runtype = require("./string/date.runtype.cjs");
7
+ const src_string_dateTime_runtype = require("./string/dateTime.runtype.cjs");
8
+ const src_string_time_runtype = require("./string/time.runtype.cjs");
9
+ const src_string_email_runtype = require("./string/email.runtype.cjs");
10
+ const src_string_domain_runtype = require("./string/domain.runtype.cjs");
11
+ const src_string_url_runtype = require("./string/url.runtype.cjs");
12
+ const src_string_ip_runtype = require("./string/ip.runtype.cjs");
13
+ const src_string_uuid_runtype = require("./string/uuid.runtype.cjs");
14
+ const src_string_stringFormat_runtype = require("./string/stringFormat.runtype.cjs");
15
+ const FormatNames = {
16
+ // String formats
17
+ stringFormat: src_string_stringFormat_runtype.StringRunTypeFormat.id,
18
+ uuid: src_string_uuid_runtype.UUIDRunTypeFormat.id,
19
+ email: src_string_email_runtype.EmailRunTypeFormat.id,
20
+ url: src_string_url_runtype.URLRunTypeFormat.id,
21
+ domain: src_string_domain_runtype.DomainRunTypeFormat.id,
22
+ ip: src_string_ip_runtype.IPRunTypeFormat.id,
23
+ date: src_string_date_runtype.DateStringRunTypeFormat.id,
24
+ time: src_string_time_runtype.TimeStringRunTypeFormat.id,
25
+ dateTime: src_string_dateTime_runtype.DateTimeRunTypeFormat.id,
26
+ // Number formats
27
+ numberFormat: src_number_numberFormat_runtype.NumberRunTypeFormat.id,
28
+ // BigInt formats
29
+ bigintFormat: src_bigint_bigIntFormat_runtype.BigIntRunTypeFormat.id
30
+ };
31
+ const __ΩFormatName = [() => FormatNames, () => FormatNames, "FormatName", 'i!i"gfw#y'];
32
+ exports.FormatNames = FormatNames;
33
+ exports.__ΩFormatName = __ΩFormatName;
34
+ //# sourceMappingURL=constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ export declare const FormatNames: {
2
+ readonly stringFormat: "stringFormat";
3
+ readonly uuid: "uuid";
4
+ readonly email: string;
5
+ readonly url: "url";
6
+ readonly domain: "domain";
7
+ readonly ip: string;
8
+ readonly date: "date";
9
+ readonly time: "time";
10
+ readonly dateTime: "dateTime";
11
+ readonly numberFormat: "numberFormat";
12
+ readonly bigintFormat: "bigintFormat";
13
+ };
14
+ export type FormatName = (typeof FormatNames)[keyof typeof FormatNames];
15
+ export declare type __ΩFormatName = any[];
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const __ΩEMAIL_NAME_SAMPLES = ["john.doe", "jane.smith", "admin", "support", "contact", "info", "sales", "marketing", "hello", "feedback", "user123", "test.account", "random.name", "developer", "webmaster", "juan.perez", "maria.garcia", "soporte", "contacto", "ventas", "informacion", "hola", "usuario", "prueba", "desarrollador", "jean.dupont", "marie.curie", "contact", "support", "vente", "bonjour", "utilisateur", "testeur", "developpeur", "hans.schmidt", "anna.müller", "kontakt", "hilfe", "verkauf", "benutzer", "testkonto", "entwickler", "giuseppe.rossi", "maria.bianchi", "contatto", "supporto", "vendite", "utente", "prova", "sviluppatore", "joao.silva", "maria.oliveira", "contato", "suporte", "vendas", "usuario", "teste", "desenvolvedor", "홍길동", "김철수", "고객지원", "연락처", "판매", "사용자", "山田太郎", "鈴木花子", "情報", "サポート", "日本語", "テスト", "携帯", "電子", "李伟", "王芳", "张三", "联系", "测试", "用户", "开发", "arjun.sharma", "priya.kumar", "support", "contact", "vikas", "pariksha", "upayogakarta", "иван.иванов", "анна.петровна", "поддержка", "контакт", "продажи", "пользователь", "разработчик", "alpha.beta", "charlie.delta", "test123", "mock.user", "example.name", "first.last", "nickname", "alias", "temp.account", "demo.user", "EMAIL_NAME_SAMPLES", "P.!.\".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.[.\\.].^._.`.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.{.|.}.~..€..‚.ƒ.„.….†.‡Gwˆy"];
4
+ const __ΩEMAIL_SAMPLES = ["john.doe@mion.io", "jane.smith@rpc.org", "admin@wiki.org", "support@www.mion.org", "contact@www.api.org", "info@arch.org", "sales@ccmns.org", "marketing@eff.org", "hello@fsf.org", "feedback@opensource.org", "user123@node.org", "test.account@typescript.org", "random.name@rpc.org", "developer@fullstack.org", "webmaster@mion.io", "juan.perez@wiki.org", "maria.garcia@arch.org", "soporte@ccmns.org", "contacto@eff.org", "ventas@fsf.org", "informacion@opensource.org", "hola@node.org", "usuario@typescript.org", "prueba@rpc.org", "desarrollador@fullstack.org", "jean.dupont@mion.io", "marie.curie@wiki.org", "vente@arch.org", "bonjour@ccmns.org", "utilisateur@eff.org", "testeur@fsf.org", "developpeur@opensource.org", "anna.müller@node.org", "anna.schmidt@typescript.org", "kontakt@rpc.org", "hilfe@fullstack.org", "verkauf@mion.io", "benutzer@wiki.org", "entwickler@arch.org", "王芳@ccmns.org", "联系@eff.org", "测试@fsf.org", "ceshi@opensource.org", "张三@node.org", "kaifa@typescript.org", "arjun.sharma@rpc.org", "priya.kumar@fullstack.org", "vikas@mion.io", "pariksha@wiki.org", "upayogakarta@arch.org", "иван.иванов@ccmns.org", "анна.петровна@eff.org", "поддержка@fsf.org", "контакт@opensource.org", "продажи@node.org", "пользователь@typescript.org", "разработчик@rpc.org", "alpha.beta@fullstack.org", "charlie.delta@mion.io", "test123@wiki.org", "mock.user@arch.org", "example.name@ccmns.org", "first.last@eff.org", "nickname@fsf.org", "alias@opensource.org", "temp.account@node.org", "demo.user@typescript.org", "email+tag@mion.io", "email-with-hyphen@rpc.org", "email_with_underscore@wiki.org", "very.common@arch.org", "!#$%&'*+-/=?^_`{|}~@ccmns.org", '"quoted"@eff.org', '"very.(),:;<>[]\\"@opensource.org', "user.name+tag+sorting@example.com", "x@example.com", "example-indeed@strange-example.com", "test/test@test.com", 'very."(),:;<>[]..very.unusual@strange.example.com', "user%example.com@mion.io", "user-@example.org", "EMAIL_SAMPLES", "P.!.\".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.[.\\.].^._.`.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.qGwry"];
5
+ const __ΩEMAIL_SAMPLES_PUNYCODE = ["john.doe@mion.io", "jane.smith@rpc.org", "admin@xn--e1afmkfd.xn--p1ai", "support@xn--80aaicww6a.xn--p1acf", "juan.perez@wiki.org", "maria.garcia@arch.org", "soporte@xn--mgbh0fb.xn--kgbechtv", "contacto@xn--fiqz9s.xn--fiqs8s", "иван.иванов@ccmns.org", "анна.петровна@xn--80adxhks.xn--p1ai", "поддержка@xn--d1acufc.xn--j1amh", "user.name+tag+sorting@example.com", "user@sub-domain.example-site.com", "user@domain.with-number123.com", "user@xn--80akhbyknj4f.xn--p1ai", "x@xn--mgberp4a5d4ar.xn--mgbaam7a8h", "test@xn--qxam.xn--zckzah", "info@xn--9n2bp8q.xn--9t4b11yi5a", "EMAIL_SAMPLES_PUNYCODE", `P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2Gw3y`];
6
+ const __ΩURL_SAMPLES = ["https://mion.io", "https://rpc.org", "http://wiki.org", "https://www.mion.org", "http://www.api.org", "https://arch.org/path/to/resource", "http://ccmns.org/path/to/resource", "https://eff.org?query=param", "http://fsf.org?query=param#hello-world", "https://opensource.org#fragment", "http://node.org#fragment", "https://subdomain.typescript.org", "http://subdomain.rpc.org", "https://fullstack.org:8080", "http://localhost:8080/path/to/resource", "https://127.0.0.1:8080/path/to/resource", "https://254.60.167.80:80/path/to/resource", "http://:8080/path/to/resource", "http://[::1]:8080/path/to/resource", "http://[::]:8080/path/to/resource?query=param", "http://[::1]:8080/path/to/resource#fragment", "http://[::1]/path/to/resource", "ws://mion.io/socket", "ws://websocket.org/socket", "wss://socket.io/socket", "ws://live.com/socket?query=param", "wss://sock.org/socket?query=param#fragment", "ws://socketcluster.io/socket#fragment", "wss://developer..dev:8080/socket", "ws://fast.com:8080/socket?query=param", "ftp://example.com/file.txt", "ftps://example.com/file.txt", "URL_SAMPLES", `P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@GwAy`];
7
+ const __ΩFILE_URL_SAMPLES = ["file:///path/to/file.txt", "file:///C:/path/to/file.txt", "file://localhost/path/to/file.txt", "file:///home/user/file.txt", "file://example.com/path/to/file.txt", "file:///C:/Users/User/Documents/file.txt", "file:///tmp/file.txt", "file:///var/log/syslog", "file:///path/to/file.txt?query=param", "file:///C:/path/to/file.txt?query=param", "file:///path/to/file%20with%20spaces.txt", "file:///path/to/file@with@special#characters.txt", "file://localhost/path/to/file.txt", "file://localhost/C:/path/to/file.txt", "file://localhost/home/user/file.txt", "file://127.0.0.1:890/example.com/path/to/file.txt", "file://localhost/path/to/file.txt?query=param", "file:///home/user/file.txt?query=param", "FILE_URL_SAMPLES", `P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2Gw3y`];
8
+ const __ΩHTTP_URL_SAMPLES = ["https://mion.io", "https://rpc.org", "http://wiki.org", "https://www.mion.org", "http://www.api.org", "https://arch.org/path/to/resource", "http://ccmns.org/path/to/resource", "https://eff.org?query=param", "http://fsf.org?query=param#hello-world", "https://opensource.org#fragment", "http://node.org#fragment", "https://subdomain.typescript.org", "http://subdomain.rpc.org", "https://fullstack.org:8080", "http://localhost:8080/path/to/resource", "https://127.0.0.1:8080/path/to/resource", "https://254.60.167.80:80/path/to/resource", "http://:8080/path/to/resource", "http://[::1]:8080/path/to/resource", "http://[::]:8080/path/to/resource?query=param", "http://[::1]:8080/path/to/resource#fragment", "http://[::1]/path/to/resource", "HTTP_URL_SAMPLES", `P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6Gw7y`];
9
+ const __ΩSOCIAL_MEDIA_URL_SAMPLES = ["https://www.facebook.com/user", "https://twitter.com/user", "https://www.instagram.com/user/", "https://www.linkedin.com/in/user/", "https://www.tiktok.com/@user", "https://www.youtube.com/c/user", "https://www.snapchat.com/add/user", "https://www.pinterest.com/user?query=param", "https://www.reddit.com/user/user#fragment", "https://www.whatsapp.com/user/", "http://www.facebook.com/user", "http://twitter.com/user", "http://www.instagram.com/user/", "http://www.linkedin.com/in/user/?query=param", "http://www.tiktok.com/@user", "http://www.youtube.com/c/user", "http://www.snapchat.com/add/user?query=param#fragment", "http://www.pinterest.com/user/", "http://www.reddit.com/user/user/#fragment", "http://www.whatsapp.com/user/", "SOCIAL_MEDIA_URL_SAMPLES", `P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4Gw5y`];
10
+ const __ΩSOCIAL_MEDIA_DOMAINS_SAMPLES = ["facebook", "twitter", "instagram", "linkedin", "tiktok", "youtube", "snapchat", "pinterest", "reddit", "whatsapp", "SOCIAL_MEDIA_DOMAINS_SAMPLES", `P.!.".#.$.%.&.'.(.).*Gw+y`];
11
+ const TLD_SAMPLES = [
12
+ "com",
13
+ "org",
14
+ "net",
15
+ "io",
16
+ "ai",
17
+ "app",
18
+ "co",
19
+ "dev",
20
+ "tech",
21
+ "co.uk",
22
+ "com.au",
23
+ "com.br",
24
+ "com.mx",
25
+ "com.ar"
26
+ ];
27
+ const NAME_SAMPLES = [
28
+ "mion",
29
+ "mionkit",
30
+ "example",
31
+ "gogle",
32
+ "fcbook",
33
+ "amzn",
34
+ "twitt",
35
+ "insta",
36
+ "linked",
37
+ "yoube",
38
+ "pinturist",
39
+ "mion",
40
+ "mionkit",
41
+ "wiki",
42
+ "red",
43
+ "line",
44
+ "hello",
45
+ "world",
46
+ "test",
47
+ "random",
48
+ "user",
49
+ "developer",
50
+ "webmaster",
51
+ "admin",
52
+ "support",
53
+ "contact",
54
+ "info",
55
+ "mion",
56
+ "mionkit"
57
+ ];
58
+ const TLD_CHARS = "abcdefghijklmnopqrstuvwxyz";
59
+ const NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
60
+ const NAME_CHARS_UNICODE = "abcdefghijklmnopqrstuvwxyz0123456789абвгдеёжзийклмнопрстуфхцчшщъыьэюяあいうえおかきくけこさしすせそたちつてとなにぬねのアイウエオカキクケコサシスセソタチツテト中国网址域名汉字电脑互联网技术计算机软件编程한국어도메인이름인터넷기술컴퓨터소프트웨어프로그래밍ابتثجحخدذرزسشصضطظعغفقكلمنهوي";
61
+ const INTERNET_PROTOCOLS = ["http", "https", "ftp", "ftps", "ws", "wss", "file"];
62
+ const EMAIL_NAME_SAMPLES_ARRAY = [
63
+ "john.doe",
64
+ "jane.smith",
65
+ "admin",
66
+ "support",
67
+ "contact",
68
+ "info",
69
+ "sales",
70
+ "marketing",
71
+ "hello",
72
+ "feedback",
73
+ "user123",
74
+ "test.account",
75
+ "random.name",
76
+ "developer",
77
+ "webmaster",
78
+ "juan.perez",
79
+ "maria.garcia",
80
+ "soporte",
81
+ "contacto",
82
+ "ventas",
83
+ "informacion",
84
+ "hola",
85
+ "usuario",
86
+ "prueba",
87
+ "desarrollador",
88
+ "jean.dupont",
89
+ "marie.curie",
90
+ "vente",
91
+ "bonjour",
92
+ "utilisateur",
93
+ "testeur",
94
+ "developpeur"
95
+ ];
96
+ exports.EMAIL_NAME_SAMPLES_ARRAY = EMAIL_NAME_SAMPLES_ARRAY;
97
+ exports.INTERNET_PROTOCOLS = INTERNET_PROTOCOLS;
98
+ exports.NAME_CHARS = NAME_CHARS;
99
+ exports.NAME_CHARS_UNICODE = NAME_CHARS_UNICODE;
100
+ exports.NAME_SAMPLES = NAME_SAMPLES;
101
+ exports.TLD_CHARS = TLD_CHARS;
102
+ exports.TLD_SAMPLES = TLD_SAMPLES;
103
+ exports.__ΩEMAIL_NAME_SAMPLES = __ΩEMAIL_NAME_SAMPLES;
104
+ exports.__ΩEMAIL_SAMPLES = __ΩEMAIL_SAMPLES;
105
+ exports.__ΩEMAIL_SAMPLES_PUNYCODE = __ΩEMAIL_SAMPLES_PUNYCODE;
106
+ exports.__ΩFILE_URL_SAMPLES = __ΩFILE_URL_SAMPLES;
107
+ exports.__ΩHTTP_URL_SAMPLES = __ΩHTTP_URL_SAMPLES;
108
+ exports.__ΩSOCIAL_MEDIA_DOMAINS_SAMPLES = __ΩSOCIAL_MEDIA_DOMAINS_SAMPLES;
109
+ exports.__ΩSOCIAL_MEDIA_URL_SAMPLES = __ΩSOCIAL_MEDIA_URL_SAMPLES;
110
+ exports.__ΩURL_SAMPLES = __ΩURL_SAMPLES;
111
+ //# sourceMappingURL=constants.mock.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.mock.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}