@validex/core 1.0.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 (101) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +583 -0
  3. package/dist/checks/index.cjs +51 -0
  4. package/dist/checks/index.d.cts +207 -0
  5. package/dist/checks/index.d.ts +207 -0
  6. package/dist/checks/index.js +51 -0
  7. package/dist/chunk-2OTGUKO7.cjs +26 -0
  8. package/dist/chunk-4HUGF4EZ.js +0 -0
  9. package/dist/chunk-5CYBSNNG.cjs +33 -0
  10. package/dist/chunk-5DOFRLSB.js +30 -0
  11. package/dist/chunk-64X6D23X.cjs +24 -0
  12. package/dist/chunk-6MGS4JWP.js +152 -0
  13. package/dist/chunk-AGJWIOFF.js +24 -0
  14. package/dist/chunk-BAFEYOPS.js +43 -0
  15. package/dist/chunk-BYMZTDYD.js +56 -0
  16. package/dist/chunk-D232V332.cjs +30 -0
  17. package/dist/chunk-FD77PZXB.js +9 -0
  18. package/dist/chunk-H3XHQLZF.cjs +43 -0
  19. package/dist/chunk-ISY3F7TI.cjs +239 -0
  20. package/dist/chunk-JEKRBIPN.cjs +1 -0
  21. package/dist/chunk-KTN4NQQL.js +33 -0
  22. package/dist/chunk-LSQNDPFQ.cjs +9 -0
  23. package/dist/chunk-NDLUDRZJ.js +24 -0
  24. package/dist/chunk-OCTLUBGT.cjs +24 -0
  25. package/dist/chunk-OFT3FQPJ.cjs +152 -0
  26. package/dist/chunk-OOFMB7K5.js +34 -0
  27. package/dist/chunk-OTPQTLPM.js +50 -0
  28. package/dist/chunk-P3FRVJ3U.cjs +50 -0
  29. package/dist/chunk-PFPNNQGJ.js +30 -0
  30. package/dist/chunk-PQ4TUE2Q.cjs +2688 -0
  31. package/dist/chunk-SMDC2EAD.js +26 -0
  32. package/dist/chunk-TB6J73U7.js +239 -0
  33. package/dist/chunk-TBVAKZA5.js +2688 -0
  34. package/dist/chunk-TSPTIW3V.cjs +34 -0
  35. package/dist/chunk-WE2OD5XD.cjs +30 -0
  36. package/dist/chunk-WKVMDEA3.js +26 -0
  37. package/dist/chunk-ZAUX2RGL.cjs +56 -0
  38. package/dist/chunk-ZWIO2MJX.cjs +26 -0
  39. package/dist/cli/index.cjs +120 -0
  40. package/dist/cli/index.d.cts +1 -0
  41. package/dist/cli/index.d.ts +1 -0
  42. package/dist/cli/index.js +120 -0
  43. package/dist/commonPasswords-3BYUBARZ.cjs +10 -0
  44. package/dist/commonPasswords-ZYOEI6PG.js +10 -0
  45. package/dist/countryCodes-EKJKVHR5.cjs +10 -0
  46. package/dist/countryCodes-RTJZVCLB.js +10 -0
  47. package/dist/countryCodes-VY56VZPT.cjs +255 -0
  48. package/dist/countryCodes-YRY75MQP.js +255 -0
  49. package/dist/creditCardPrefixes-EXMJZGE7.cjs +10 -0
  50. package/dist/creditCardPrefixes-EZK7T4IZ.js +10 -0
  51. package/dist/creditCardPrefixes-HKWKCHNU.cjs +48 -0
  52. package/dist/creditCardPrefixes-QP3S4ZAU.js +48 -0
  53. package/dist/currencyCodes-GU6W3HSN.cjs +171 -0
  54. package/dist/currencyCodes-P67AASLW.js +171 -0
  55. package/dist/currencyCodes-RMRLGDME.cjs +10 -0
  56. package/dist/currencyCodes-U6TSAWDR.js +10 -0
  57. package/dist/disposableDomains-DCXSV422.js +10 -0
  58. package/dist/disposableDomains-USU2JQSF.cjs +10 -0
  59. package/dist/ibanPatterns-2PM32RIY.cjs +85 -0
  60. package/dist/ibanPatterns-BSQUWKLY.js +85 -0
  61. package/dist/ibanPatterns-KTLY6TZY.cjs +10 -0
  62. package/dist/ibanPatterns-LJRPR7FV.js +10 -0
  63. package/dist/index-Cid7Ygr_.d.cts +950 -0
  64. package/dist/index-Cid7Ygr_.d.ts +950 -0
  65. package/dist/index.cjs +361 -0
  66. package/dist/index.d.cts +132 -0
  67. package/dist/index.d.ts +132 -0
  68. package/dist/index.js +361 -0
  69. package/dist/locales/en.cjs +10 -0
  70. package/dist/locales/en.d.cts +234 -0
  71. package/dist/locales/en.d.ts +234 -0
  72. package/dist/locales/en.js +10 -0
  73. package/dist/passwordsTier1-NAZLSHKW.cjs +105 -0
  74. package/dist/passwordsTier1-OYRMLOWD.js +105 -0
  75. package/dist/passwordsTier2-GYJTYGY6.cjs +906 -0
  76. package/dist/passwordsTier2-JAEO5AYY.js +906 -0
  77. package/dist/passwordsTier3-BAPUFHZM.cjs +9006 -0
  78. package/dist/passwordsTier3-E6WBK5OB.js +9006 -0
  79. package/dist/phoneDetection-AFSSD4IB.cjs +6 -0
  80. package/dist/phoneDetection-G23LZ6MU.js +6 -0
  81. package/dist/phoneParser-2RTXDB6H.js +10 -0
  82. package/dist/phoneParser-CGRP2OUN.cjs +10 -0
  83. package/dist/postalCodes-4EZVDT2N.cjs +10 -0
  84. package/dist/postalCodes-ZPAJB3P5.js +10 -0
  85. package/dist/reservedUsernames-3QPPKUXR.cjs +246 -0
  86. package/dist/reservedUsernames-GIK6NX3J.js +246 -0
  87. package/dist/reservedUsernames-QR4ONXSL.js +10 -0
  88. package/dist/reservedUsernames-W65FGT6A.cjs +10 -0
  89. package/dist/rules/index.cjs +66 -0
  90. package/dist/rules/index.d.cts +2 -0
  91. package/dist/rules/index.d.ts +2 -0
  92. package/dist/rules/index.js +66 -0
  93. package/dist/utilities/index.cjs +8 -0
  94. package/dist/utilities/index.d.cts +47 -0
  95. package/dist/utilities/index.d.ts +47 -0
  96. package/dist/utilities/index.js +8 -0
  97. package/dist/vatPatterns-BLRXHNCP.js +36 -0
  98. package/dist/vatPatterns-DNVZJPTW.js +10 -0
  99. package/dist/vatPatterns-NPN6SV2Y.cjs +36 -0
  100. package/dist/vatPatterns-RRHUTA3U.cjs +10 -0
  101. package/package.json +133 -0
@@ -0,0 +1,171 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/data/currencyCodes.json
2
+ var currencyCodes_default = [
3
+ "AED",
4
+ "AFN",
5
+ "ALL",
6
+ "AMD",
7
+ "ANG",
8
+ "AOA",
9
+ "ARS",
10
+ "AUD",
11
+ "AWG",
12
+ "AZN",
13
+ "BAM",
14
+ "BBD",
15
+ "BDT",
16
+ "BGN",
17
+ "BHD",
18
+ "BIF",
19
+ "BMD",
20
+ "BND",
21
+ "BOB",
22
+ "BRL",
23
+ "BSD",
24
+ "BTN",
25
+ "BWP",
26
+ "BYN",
27
+ "BZD",
28
+ "CAD",
29
+ "CDF",
30
+ "CHF",
31
+ "CLP",
32
+ "CNY",
33
+ "COP",
34
+ "CRC",
35
+ "CUP",
36
+ "CVE",
37
+ "CZK",
38
+ "DJF",
39
+ "DKK",
40
+ "DOP",
41
+ "DZD",
42
+ "EGP",
43
+ "ERN",
44
+ "ETB",
45
+ "EUR",
46
+ "FJD",
47
+ "FKP",
48
+ "GBP",
49
+ "GEL",
50
+ "GHS",
51
+ "GIP",
52
+ "GMD",
53
+ "GNF",
54
+ "GTQ",
55
+ "GYD",
56
+ "HKD",
57
+ "HNL",
58
+ "HRK",
59
+ "HTG",
60
+ "HUF",
61
+ "IDR",
62
+ "ILS",
63
+ "INR",
64
+ "IQD",
65
+ "IRR",
66
+ "ISK",
67
+ "JMD",
68
+ "JOD",
69
+ "JPY",
70
+ "KES",
71
+ "KGS",
72
+ "KHR",
73
+ "KMF",
74
+ "KPW",
75
+ "KRW",
76
+ "KWD",
77
+ "KYD",
78
+ "KZT",
79
+ "LAK",
80
+ "LBP",
81
+ "LKR",
82
+ "LRD",
83
+ "LSL",
84
+ "LYD",
85
+ "MAD",
86
+ "MDL",
87
+ "MGA",
88
+ "MKD",
89
+ "MMK",
90
+ "MNT",
91
+ "MOP",
92
+ "MRU",
93
+ "MUR",
94
+ "MVR",
95
+ "MWK",
96
+ "MXN",
97
+ "MYR",
98
+ "MZN",
99
+ "NAD",
100
+ "NGN",
101
+ "NIO",
102
+ "NOK",
103
+ "NPR",
104
+ "NZD",
105
+ "OMR",
106
+ "PAB",
107
+ "PEN",
108
+ "PGK",
109
+ "PHP",
110
+ "PKR",
111
+ "PLN",
112
+ "PYG",
113
+ "QAR",
114
+ "RON",
115
+ "RSD",
116
+ "RUB",
117
+ "RWF",
118
+ "SAR",
119
+ "SBD",
120
+ "SCR",
121
+ "SDG",
122
+ "SEK",
123
+ "SGD",
124
+ "SHP",
125
+ "SLE",
126
+ "SOS",
127
+ "SRD",
128
+ "SSP",
129
+ "STN",
130
+ "SVC",
131
+ "SYP",
132
+ "SZL",
133
+ "THB",
134
+ "TJS",
135
+ "TMT",
136
+ "TND",
137
+ "TOP",
138
+ "TRY",
139
+ "TTD",
140
+ "TWD",
141
+ "TZS",
142
+ "UAH",
143
+ "UGX",
144
+ "USD",
145
+ "UYU",
146
+ "UZS",
147
+ "VES",
148
+ "VND",
149
+ "VUV",
150
+ "WST",
151
+ "XAF",
152
+ "XCD",
153
+ "XOF",
154
+ "XPF",
155
+ "YER",
156
+ "ZAR",
157
+ "ZMW",
158
+ "ZWL",
159
+ "XAU",
160
+ "XAG",
161
+ "XPT",
162
+ "XPD",
163
+ "XDR",
164
+ "XBA",
165
+ "XBB",
166
+ "XBC",
167
+ "XBD"
168
+ ];
169
+
170
+
171
+ exports.default = currencyCodes_default;
@@ -0,0 +1,171 @@
1
+ // src/data/currencyCodes.json
2
+ var currencyCodes_default = [
3
+ "AED",
4
+ "AFN",
5
+ "ALL",
6
+ "AMD",
7
+ "ANG",
8
+ "AOA",
9
+ "ARS",
10
+ "AUD",
11
+ "AWG",
12
+ "AZN",
13
+ "BAM",
14
+ "BBD",
15
+ "BDT",
16
+ "BGN",
17
+ "BHD",
18
+ "BIF",
19
+ "BMD",
20
+ "BND",
21
+ "BOB",
22
+ "BRL",
23
+ "BSD",
24
+ "BTN",
25
+ "BWP",
26
+ "BYN",
27
+ "BZD",
28
+ "CAD",
29
+ "CDF",
30
+ "CHF",
31
+ "CLP",
32
+ "CNY",
33
+ "COP",
34
+ "CRC",
35
+ "CUP",
36
+ "CVE",
37
+ "CZK",
38
+ "DJF",
39
+ "DKK",
40
+ "DOP",
41
+ "DZD",
42
+ "EGP",
43
+ "ERN",
44
+ "ETB",
45
+ "EUR",
46
+ "FJD",
47
+ "FKP",
48
+ "GBP",
49
+ "GEL",
50
+ "GHS",
51
+ "GIP",
52
+ "GMD",
53
+ "GNF",
54
+ "GTQ",
55
+ "GYD",
56
+ "HKD",
57
+ "HNL",
58
+ "HRK",
59
+ "HTG",
60
+ "HUF",
61
+ "IDR",
62
+ "ILS",
63
+ "INR",
64
+ "IQD",
65
+ "IRR",
66
+ "ISK",
67
+ "JMD",
68
+ "JOD",
69
+ "JPY",
70
+ "KES",
71
+ "KGS",
72
+ "KHR",
73
+ "KMF",
74
+ "KPW",
75
+ "KRW",
76
+ "KWD",
77
+ "KYD",
78
+ "KZT",
79
+ "LAK",
80
+ "LBP",
81
+ "LKR",
82
+ "LRD",
83
+ "LSL",
84
+ "LYD",
85
+ "MAD",
86
+ "MDL",
87
+ "MGA",
88
+ "MKD",
89
+ "MMK",
90
+ "MNT",
91
+ "MOP",
92
+ "MRU",
93
+ "MUR",
94
+ "MVR",
95
+ "MWK",
96
+ "MXN",
97
+ "MYR",
98
+ "MZN",
99
+ "NAD",
100
+ "NGN",
101
+ "NIO",
102
+ "NOK",
103
+ "NPR",
104
+ "NZD",
105
+ "OMR",
106
+ "PAB",
107
+ "PEN",
108
+ "PGK",
109
+ "PHP",
110
+ "PKR",
111
+ "PLN",
112
+ "PYG",
113
+ "QAR",
114
+ "RON",
115
+ "RSD",
116
+ "RUB",
117
+ "RWF",
118
+ "SAR",
119
+ "SBD",
120
+ "SCR",
121
+ "SDG",
122
+ "SEK",
123
+ "SGD",
124
+ "SHP",
125
+ "SLE",
126
+ "SOS",
127
+ "SRD",
128
+ "SSP",
129
+ "STN",
130
+ "SVC",
131
+ "SYP",
132
+ "SZL",
133
+ "THB",
134
+ "TJS",
135
+ "TMT",
136
+ "TND",
137
+ "TOP",
138
+ "TRY",
139
+ "TTD",
140
+ "TWD",
141
+ "TZS",
142
+ "UAH",
143
+ "UGX",
144
+ "USD",
145
+ "UYU",
146
+ "UZS",
147
+ "VES",
148
+ "VND",
149
+ "VUV",
150
+ "WST",
151
+ "XAF",
152
+ "XCD",
153
+ "XOF",
154
+ "XPF",
155
+ "YER",
156
+ "ZAR",
157
+ "ZMW",
158
+ "ZWL",
159
+ "XAU",
160
+ "XAG",
161
+ "XPT",
162
+ "XPD",
163
+ "XDR",
164
+ "XBA",
165
+ "XBB",
166
+ "XBC",
167
+ "XBD"
168
+ ];
169
+ export {
170
+ currencyCodes_default as default
171
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunk2OTGUKO7cjs = require('./chunk-2OTGUKO7.cjs');
6
+
7
+
8
+
9
+
10
+ exports.clearCurrencyCodesCache = _chunk2OTGUKO7cjs.clearCurrencyCodesCache; exports.getCurrencyCodes = _chunk2OTGUKO7cjs.getCurrencyCodes; exports.loadCurrencyCodes = _chunk2OTGUKO7cjs.loadCurrencyCodes;
@@ -0,0 +1,10 @@
1
+ import {
2
+ clearCurrencyCodesCache,
3
+ getCurrencyCodes,
4
+ loadCurrencyCodes
5
+ } from "./chunk-SMDC2EAD.js";
6
+ export {
7
+ clearCurrencyCodesCache,
8
+ getCurrencyCodes,
9
+ loadCurrencyCodes
10
+ };
@@ -0,0 +1,10 @@
1
+ import {
2
+ clearDisposableDomainsCache,
3
+ getDisposableDomains,
4
+ loadDisposableDomains
5
+ } from "./chunk-AGJWIOFF.js";
6
+ export {
7
+ clearDisposableDomainsCache,
8
+ getDisposableDomains,
9
+ loadDisposableDomains
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunk64X6D23Xcjs = require('./chunk-64X6D23X.cjs');
6
+
7
+
8
+
9
+
10
+ exports.clearDisposableDomainsCache = _chunk64X6D23Xcjs.clearDisposableDomainsCache; exports.getDisposableDomains = _chunk64X6D23Xcjs.getDisposableDomains; exports.loadDisposableDomains = _chunk64X6D23Xcjs.loadDisposableDomains;
@@ -0,0 +1,85 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/data/ibanPatterns.json
2
+ var ibanPatterns_default = [
3
+ { country: "AD", length: 24, regex: "^AD\\d{10}[A-Z0-9]{12}$" },
4
+ { country: "AE", length: 23, regex: "^AE\\d{21}$" },
5
+ { country: "AL", length: 28, regex: "^AL\\d{10}[A-Z0-9]{16}$" },
6
+ { country: "AT", length: 20, regex: "^AT\\d{18}$" },
7
+ { country: "AZ", length: 28, regex: "^AZ\\d{2}[A-Z]{4}[A-Z0-9]{20}$" },
8
+ { country: "BA", length: 20, regex: "^BA\\d{18}$" },
9
+ { country: "BE", length: 16, regex: "^BE\\d{14}$" },
10
+ { country: "BG", length: 22, regex: "^BG\\d{2}[A-Z]{4}\\d{6}[A-Z0-9]{8}$" },
11
+ { country: "BH", length: 22, regex: "^BH\\d{2}[A-Z]{4}[A-Z0-9]{14}$" },
12
+ { country: "BI", length: 27, regex: "^BI\\d{25}$" },
13
+ { country: "BR", length: 29, regex: "^BR\\d{25}[A-Z][A-Z0-9]$" },
14
+ { country: "BY", length: 28, regex: "^BY\\d{2}[A-Z0-9]{4}\\d{4}[A-Z0-9]{16}$" },
15
+ { country: "CH", length: 21, regex: "^CH\\d{7}[A-Z0-9]{12}$" },
16
+ { country: "CR", length: 22, regex: "^CR\\d{2}0\\d{17}$" },
17
+ { country: "CY", length: 28, regex: "^CY\\d{10}[A-Z0-9]{16}$" },
18
+ { country: "CZ", length: 24, regex: "^CZ\\d{22}$" },
19
+ { country: "DE", length: 22, regex: "^DE\\d{20}$" },
20
+ { country: "DK", length: 18, regex: "^DK\\d{16}$" },
21
+ { country: "DO", length: 28, regex: "^DO\\d{2}[A-Z0-9]{4}\\d{20}$" },
22
+ { country: "EE", length: 20, regex: "^EE\\d{18}$" },
23
+ { country: "EG", length: 29, regex: "^EG\\d{27}$" },
24
+ { country: "ES", length: 24, regex: "^ES\\d{22}$" },
25
+ { country: "FI", length: 18, regex: "^FI\\d{16}$" },
26
+ { country: "FO", length: 18, regex: "^FO\\d{16}$" },
27
+ { country: "FR", length: 27, regex: "^FR\\d{12}[A-Z0-9]{11}\\d{2}$" },
28
+ { country: "GB", length: 22, regex: "^GB\\d{2}[A-Z]{4}\\d{14}$" },
29
+ { country: "GE", length: 22, regex: "^GE\\d{2}[A-Z]{2}\\d{16}$" },
30
+ { country: "GI", length: 23, regex: "^GI\\d{2}[A-Z]{4}[A-Z0-9]{15}$" },
31
+ { country: "GL", length: 18, regex: "^GL\\d{16}$" },
32
+ { country: "GR", length: 27, regex: "^GR\\d{9}[A-Z0-9]{16}$" },
33
+ { country: "GT", length: 28, regex: "^GT\\d{2}[A-Z0-9]{24}$" },
34
+ { country: "HR", length: 21, regex: "^HR\\d{19}$" },
35
+ { country: "HU", length: 28, regex: "^HU\\d{26}$" },
36
+ { country: "IE", length: 22, regex: "^IE\\d{2}[A-Z]{4}\\d{14}$" },
37
+ { country: "IL", length: 23, regex: "^IL\\d{25}$" },
38
+ { country: "IQ", length: 23, regex: "^IQ\\d{2}[A-Z]{4}\\d{15}$" },
39
+ { country: "IS", length: 26, regex: "^IS\\d{24}$" },
40
+ { country: "IT", length: 27, regex: "^IT\\d{2}[A-Z]\\d{10}[A-Z0-9]{12}$" },
41
+ { country: "JO", length: 30, regex: "^JO\\d{2}[A-Z]{4}\\d{4}[A-Z0-9]{18}$" },
42
+ { country: "KW", length: 30, regex: "^KW\\d{2}[A-Z]{4}[A-Z0-9]{22}$" },
43
+ { country: "KZ", length: 20, regex: "^KZ\\d{5}[A-Z0-9]{13}$" },
44
+ { country: "LB", length: 28, regex: "^LB\\d{6}[A-Z0-9]{20}$" },
45
+ { country: "LC", length: 32, regex: "^LC\\d{2}[A-Z]{4}[A-Z0-9]{24}$" },
46
+ { country: "LI", length: 21, regex: "^LI\\d{7}[A-Z0-9]{12}$" },
47
+ { country: "LT", length: 20, regex: "^LT\\d{18}$" },
48
+ { country: "LU", length: 20, regex: "^LU\\d{5}[A-Z0-9]{13}$" },
49
+ { country: "LV", length: 21, regex: "^LV\\d{2}[A-Z]{4}[A-Z0-9]{13}$" },
50
+ { country: "LY", length: 25, regex: "^LY\\d{23}$" },
51
+ { country: "MC", length: 27, regex: "^MC\\d{12}[A-Z0-9]{11}\\d{2}$" },
52
+ { country: "MD", length: 24, regex: "^MD\\d{2}[A-Z0-9]{20}$" },
53
+ { country: "ME", length: 22, regex: "^ME\\d{20}$" },
54
+ { country: "MK", length: 19, regex: "^MK\\d{5}[A-Z0-9]{10}\\d{2}$" },
55
+ { country: "MR", length: 27, regex: "^MR\\d{25}$" },
56
+ { country: "MT", length: 31, regex: "^MT\\d{2}[A-Z]{4}\\d{5}[A-Z0-9]{18}$" },
57
+ { country: "MU", length: 30, regex: "^MU\\d{2}[A-Z]{4}\\d{19}[A-Z]{3}$" },
58
+ { country: "NL", length: 18, regex: "^NL\\d{2}[A-Z]{4}\\d{10}$" },
59
+ { country: "NO", length: 15, regex: "^NO\\d{13}$" },
60
+ { country: "PK", length: 24, regex: "^PK\\d{2}[A-Z]{4}[A-Z0-9]{16}$" },
61
+ { country: "PL", length: 28, regex: "^PL\\d{26}$" },
62
+ { country: "PS", length: 29, regex: "^PS\\d{2}[A-Z]{4}[A-Z0-9]{21}$" },
63
+ { country: "PT", length: 25, regex: "^PT\\d{23}$" },
64
+ { country: "QA", length: 29, regex: "^QA\\d{2}[A-Z]{4}[A-Z0-9]{21}$" },
65
+ { country: "RO", length: 24, regex: "^RO\\d{2}[A-Z]{4}[A-Z0-9]{16}$" },
66
+ { country: "RS", length: 22, regex: "^RS\\d{20}$" },
67
+ { country: "SA", length: 24, regex: "^SA\\d{4}[A-Z0-9]{18}$" },
68
+ { country: "SC", length: 31, regex: "^SC\\d{2}[A-Z]{4}\\d{20}[A-Z]{3}$" },
69
+ { country: "SE", length: 24, regex: "^SE\\d{22}$" },
70
+ { country: "SI", length: 19, regex: "^SI\\d{17}$" },
71
+ { country: "SK", length: 24, regex: "^SK\\d{22}$" },
72
+ { country: "SM", length: 27, regex: "^SM\\d{2}[A-Z]\\d{10}[A-Z0-9]{12}$" },
73
+ { country: "ST", length: 25, regex: "^ST\\d{23}$" },
74
+ { country: "SV", length: 28, regex: "^SV\\d{2}[A-Z]{4}\\d{20}$" },
75
+ { country: "TL", length: 23, regex: "^TL\\d{21}$" },
76
+ { country: "TN", length: 24, regex: "^TN\\d{22}$" },
77
+ { country: "TR", length: 26, regex: "^TR\\d{7}[A-Z0-9]{17}$" },
78
+ { country: "UA", length: 29, regex: "^UA\\d{8}[A-Z0-9]{19}$" },
79
+ { country: "VA", length: 22, regex: "^VA\\d{20}$" },
80
+ { country: "VG", length: 24, regex: "^VG\\d{2}[A-Z]{4}\\d{16}$" },
81
+ { country: "XK", length: 20, regex: "^XK\\d{18}$" }
82
+ ];
83
+
84
+
85
+ exports.default = ibanPatterns_default;
@@ -0,0 +1,85 @@
1
+ // src/data/ibanPatterns.json
2
+ var ibanPatterns_default = [
3
+ { country: "AD", length: 24, regex: "^AD\\d{10}[A-Z0-9]{12}$" },
4
+ { country: "AE", length: 23, regex: "^AE\\d{21}$" },
5
+ { country: "AL", length: 28, regex: "^AL\\d{10}[A-Z0-9]{16}$" },
6
+ { country: "AT", length: 20, regex: "^AT\\d{18}$" },
7
+ { country: "AZ", length: 28, regex: "^AZ\\d{2}[A-Z]{4}[A-Z0-9]{20}$" },
8
+ { country: "BA", length: 20, regex: "^BA\\d{18}$" },
9
+ { country: "BE", length: 16, regex: "^BE\\d{14}$" },
10
+ { country: "BG", length: 22, regex: "^BG\\d{2}[A-Z]{4}\\d{6}[A-Z0-9]{8}$" },
11
+ { country: "BH", length: 22, regex: "^BH\\d{2}[A-Z]{4}[A-Z0-9]{14}$" },
12
+ { country: "BI", length: 27, regex: "^BI\\d{25}$" },
13
+ { country: "BR", length: 29, regex: "^BR\\d{25}[A-Z][A-Z0-9]$" },
14
+ { country: "BY", length: 28, regex: "^BY\\d{2}[A-Z0-9]{4}\\d{4}[A-Z0-9]{16}$" },
15
+ { country: "CH", length: 21, regex: "^CH\\d{7}[A-Z0-9]{12}$" },
16
+ { country: "CR", length: 22, regex: "^CR\\d{2}0\\d{17}$" },
17
+ { country: "CY", length: 28, regex: "^CY\\d{10}[A-Z0-9]{16}$" },
18
+ { country: "CZ", length: 24, regex: "^CZ\\d{22}$" },
19
+ { country: "DE", length: 22, regex: "^DE\\d{20}$" },
20
+ { country: "DK", length: 18, regex: "^DK\\d{16}$" },
21
+ { country: "DO", length: 28, regex: "^DO\\d{2}[A-Z0-9]{4}\\d{20}$" },
22
+ { country: "EE", length: 20, regex: "^EE\\d{18}$" },
23
+ { country: "EG", length: 29, regex: "^EG\\d{27}$" },
24
+ { country: "ES", length: 24, regex: "^ES\\d{22}$" },
25
+ { country: "FI", length: 18, regex: "^FI\\d{16}$" },
26
+ { country: "FO", length: 18, regex: "^FO\\d{16}$" },
27
+ { country: "FR", length: 27, regex: "^FR\\d{12}[A-Z0-9]{11}\\d{2}$" },
28
+ { country: "GB", length: 22, regex: "^GB\\d{2}[A-Z]{4}\\d{14}$" },
29
+ { country: "GE", length: 22, regex: "^GE\\d{2}[A-Z]{2}\\d{16}$" },
30
+ { country: "GI", length: 23, regex: "^GI\\d{2}[A-Z]{4}[A-Z0-9]{15}$" },
31
+ { country: "GL", length: 18, regex: "^GL\\d{16}$" },
32
+ { country: "GR", length: 27, regex: "^GR\\d{9}[A-Z0-9]{16}$" },
33
+ { country: "GT", length: 28, regex: "^GT\\d{2}[A-Z0-9]{24}$" },
34
+ { country: "HR", length: 21, regex: "^HR\\d{19}$" },
35
+ { country: "HU", length: 28, regex: "^HU\\d{26}$" },
36
+ { country: "IE", length: 22, regex: "^IE\\d{2}[A-Z]{4}\\d{14}$" },
37
+ { country: "IL", length: 23, regex: "^IL\\d{25}$" },
38
+ { country: "IQ", length: 23, regex: "^IQ\\d{2}[A-Z]{4}\\d{15}$" },
39
+ { country: "IS", length: 26, regex: "^IS\\d{24}$" },
40
+ { country: "IT", length: 27, regex: "^IT\\d{2}[A-Z]\\d{10}[A-Z0-9]{12}$" },
41
+ { country: "JO", length: 30, regex: "^JO\\d{2}[A-Z]{4}\\d{4}[A-Z0-9]{18}$" },
42
+ { country: "KW", length: 30, regex: "^KW\\d{2}[A-Z]{4}[A-Z0-9]{22}$" },
43
+ { country: "KZ", length: 20, regex: "^KZ\\d{5}[A-Z0-9]{13}$" },
44
+ { country: "LB", length: 28, regex: "^LB\\d{6}[A-Z0-9]{20}$" },
45
+ { country: "LC", length: 32, regex: "^LC\\d{2}[A-Z]{4}[A-Z0-9]{24}$" },
46
+ { country: "LI", length: 21, regex: "^LI\\d{7}[A-Z0-9]{12}$" },
47
+ { country: "LT", length: 20, regex: "^LT\\d{18}$" },
48
+ { country: "LU", length: 20, regex: "^LU\\d{5}[A-Z0-9]{13}$" },
49
+ { country: "LV", length: 21, regex: "^LV\\d{2}[A-Z]{4}[A-Z0-9]{13}$" },
50
+ { country: "LY", length: 25, regex: "^LY\\d{23}$" },
51
+ { country: "MC", length: 27, regex: "^MC\\d{12}[A-Z0-9]{11}\\d{2}$" },
52
+ { country: "MD", length: 24, regex: "^MD\\d{2}[A-Z0-9]{20}$" },
53
+ { country: "ME", length: 22, regex: "^ME\\d{20}$" },
54
+ { country: "MK", length: 19, regex: "^MK\\d{5}[A-Z0-9]{10}\\d{2}$" },
55
+ { country: "MR", length: 27, regex: "^MR\\d{25}$" },
56
+ { country: "MT", length: 31, regex: "^MT\\d{2}[A-Z]{4}\\d{5}[A-Z0-9]{18}$" },
57
+ { country: "MU", length: 30, regex: "^MU\\d{2}[A-Z]{4}\\d{19}[A-Z]{3}$" },
58
+ { country: "NL", length: 18, regex: "^NL\\d{2}[A-Z]{4}\\d{10}$" },
59
+ { country: "NO", length: 15, regex: "^NO\\d{13}$" },
60
+ { country: "PK", length: 24, regex: "^PK\\d{2}[A-Z]{4}[A-Z0-9]{16}$" },
61
+ { country: "PL", length: 28, regex: "^PL\\d{26}$" },
62
+ { country: "PS", length: 29, regex: "^PS\\d{2}[A-Z]{4}[A-Z0-9]{21}$" },
63
+ { country: "PT", length: 25, regex: "^PT\\d{23}$" },
64
+ { country: "QA", length: 29, regex: "^QA\\d{2}[A-Z]{4}[A-Z0-9]{21}$" },
65
+ { country: "RO", length: 24, regex: "^RO\\d{2}[A-Z]{4}[A-Z0-9]{16}$" },
66
+ { country: "RS", length: 22, regex: "^RS\\d{20}$" },
67
+ { country: "SA", length: 24, regex: "^SA\\d{4}[A-Z0-9]{18}$" },
68
+ { country: "SC", length: 31, regex: "^SC\\d{2}[A-Z]{4}\\d{20}[A-Z]{3}$" },
69
+ { country: "SE", length: 24, regex: "^SE\\d{22}$" },
70
+ { country: "SI", length: 19, regex: "^SI\\d{17}$" },
71
+ { country: "SK", length: 24, regex: "^SK\\d{22}$" },
72
+ { country: "SM", length: 27, regex: "^SM\\d{2}[A-Z]\\d{10}[A-Z0-9]{12}$" },
73
+ { country: "ST", length: 25, regex: "^ST\\d{23}$" },
74
+ { country: "SV", length: 28, regex: "^SV\\d{2}[A-Z]{4}\\d{20}$" },
75
+ { country: "TL", length: 23, regex: "^TL\\d{21}$" },
76
+ { country: "TN", length: 24, regex: "^TN\\d{22}$" },
77
+ { country: "TR", length: 26, regex: "^TR\\d{7}[A-Z0-9]{17}$" },
78
+ { country: "UA", length: 29, regex: "^UA\\d{8}[A-Z0-9]{19}$" },
79
+ { country: "VA", length: 22, regex: "^VA\\d{20}$" },
80
+ { country: "VG", length: 24, regex: "^VG\\d{2}[A-Z]{4}\\d{16}$" },
81
+ { country: "XK", length: 20, regex: "^XK\\d{18}$" }
82
+ ];
83
+ export {
84
+ ibanPatterns_default as default
85
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunk5CYBSNNGcjs = require('./chunk-5CYBSNNG.cjs');
6
+
7
+
8
+
9
+
10
+ exports.clearIbanPatternsCache = _chunk5CYBSNNGcjs.clearIbanPatternsCache; exports.getIbanPatterns = _chunk5CYBSNNGcjs.getIbanPatterns; exports.loadIbanPatterns = _chunk5CYBSNNGcjs.loadIbanPatterns;
@@ -0,0 +1,10 @@
1
+ import {
2
+ clearIbanPatternsCache,
3
+ getIbanPatterns,
4
+ loadIbanPatterns
5
+ } from "./chunk-KTN4NQQL.js";
6
+ export {
7
+ clearIbanPatternsCache,
8
+ getIbanPatterns,
9
+ loadIbanPatterns
10
+ };