valgen 5.13.4 → 5.14.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.
package/CHANGELOG.md CHANGED
@@ -1,299 +1,266 @@
1
- # v5.13.4
2
- [2025-03-26]
1
+ ## Changelog
3
2
 
4
- ### Fixes
3
+ ### [v5.14.0](https://github.com/panates/valgen/compare/v5.13.4...v5.14.0) -
5
4
 
6
- * fix: isNotEmpty do not work for number and boolean types ([`e5175d8`](https://github.com/panates/valgen/commit/e5175d82f532a0a8370754fa6739a13221401788))
5
+ #### 🛠 Refactoring and Updates
7
6
 
8
- # v5.13.3
9
- [2025-03-17]
7
+ - refactor: Moved from jest to mocha @Eray Hanoğlu
10
8
 
11
- ### Fixes
9
+ ### [v5.13.4](https://github.com/panates/valgen/compare/v5.13.3...v5.13.4) - 26 March 2025
12
10
 
13
- * fix: isEmpty and isNotEmpty rules adds error issue twice ([`d74b9af`](https://github.com/panates/valgen/commit/d74b9afed10e5d93a97298879c68de8937d55321))
11
+ #### 🪲 Fixes
14
12
 
15
- # v5.13.2
16
- [2025-03-15]
13
+ - fix: isNotEmpty do not work for number and boolean types @Eray Hanoğlu
17
14
 
18
- ### Fixes
15
+ ### [v5.13.3](https://github.com/panates/valgen/compare/v5.13.2...v5.13.3) - 17 March 2025
19
16
 
20
- * fix: Fixed ignoring pipe validators if context.errors has items. ([`0b02ca1`](https://github.com/panates/valgen/commit/0b02ca17762f9512542bc79ad044d1072805f857))
17
+ #### 🪲 Fixes
21
18
 
22
- # v5.13.1
23
- [2025-03-14]
19
+ - fix: isEmpty and isNotEmpty rules adds error issue twice @Eray Hanoğlu
24
20
 
25
- ### Fixes
21
+ ### [v5.13.2](https://github.com/panates/valgen/compare/v5.13.1...v5.13.2) - 15 March 2025
26
22
 
27
- * fix: Fixed validation of Date, Buffer and ArrayBuffer objects of isEmpty and isNotEmpty rules ([`24992b8`](https://github.com/panates/valgen/commit/24992b845f229c8cd1e5d0049704e6c99bf5a6be))
28
- * fix: Fixed validation of Date, Buffer and ArrayBuffer objects of isEmpty and isNotEmpty rules ([`37681bf`](https://github.com/panates/valgen/commit/37681bf88f5c0adf4f102856791b0b3a547aea74))
23
+ #### 🪲 Fixes
29
24
 
30
- ### Changes
25
+ - fix: Fixed ignoring pipe validators if context.errors has items. @Eray Hanoğlu
31
26
 
32
- * chore: Removed Node 16 tests ([`606e01a`](https://github.com/panates/valgen/commit/606e01abb6cefd11e0dfdc6a20cb4e26371bb6e9))
27
+ ### [v5.13.1](https://github.com/panates/valgen/compare/v5.13.0...v5.13.1) - 14 March 2025
33
28
 
34
- # v5.13.0
35
- [2025-02-03]
29
+ #### 🪲 Fixes
36
30
 
37
- ### Changes
31
+ - fix: Fixed validation of Date, Buffer and ArrayBuffer objects of isEmpty and isNotEmpty rules @Eray Hanoğlu
32
+ - fix: Fixed validation of Date, Buffer and ArrayBuffer objects of isEmpty and isNotEmpty rules @Eray Hanoğlu
38
33
 
39
- * refactor: Updated dependencies ([`dca11c1`](https://github.com/panates/valgen/commit/dca11c1d094daca39974bbc9c70b8f30480c4d0a))
40
- * refactor: Changed error messages to "positive sentences" ([`3b746df`](https://github.com/panates/valgen/commit/3b746df70ab0e25e32e3f5b957f1c24f3f0fcc70))
41
- * chore: Updated github workflow ([`661738f`](https://github.com/panates/valgen/commit/661738f1fd90eed72ec2718e67159a8ab614e65e))
42
- * dev: Fixed ts config ([`e3251ce`](https://github.com/panates/valgen/commit/e3251ce7776de3bd4afeb0c2d0ed5d19f6aabd4f))
43
- * dev: Added missing script ([`dd019d9`](https://github.com/panates/valgen/commit/dd019d923f8305462e27cad1745564071c9c34bb))
34
+ ### [v5.13.0](https://github.com/panates/valgen/compare/v5.12.0...v5.13.0) - 3 February 2025
44
35
 
45
- # v5.12.0
46
- [2024-11-04]
36
+ #### 🛠 Refactoring and Updates
47
37
 
48
- ### Changes
38
+ - refactor: Updated dependencies @Eray Hanoğlu
39
+ - refactor: Changed error messages to "positive sentences" @Eray Hanoğlu
49
40
 
50
- * refactor: Move from 'validator' library to "@browsery/validator" for ESM compatibility ([`5a0d1bd`](https://github.com/panates/valgen/commit/5a0d1bd499581c80033b063942247fe550930dec))
41
+ #### 💬 General Changes
51
42
 
52
- # v5.11.0
53
- [2024-11-04]
43
+ - dev: Fixed ts config @Eray Hanoğlu
44
+ - dev: Added missing script @Eray Hanoğlu
54
45
 
55
- ### Changes
46
+ ### [v5.12.0](https://github.com/panates/valgen/compare/v5.11.0...v5.12.0) - 4 November 2024
56
47
 
57
- * nit: Updated dependencies ([`f348c6c`](https://github.com/panates/valgen/commit/f348c6c52cb8efa9716e36d96e233fdbda605cec))
48
+ #### 🛠 Refactoring and Updates
58
49
 
59
- # v5.10.0
60
- [2024-09-14]
50
+ - refactor: Move from 'validator' library to "@browsery/validator" for ESM compatibility @Eray Hanoğlu
61
51
 
62
- ### Changes
52
+ ### [v5.11.0](https://github.com/panates/valgen/compare/v5.10.0...v5.11.0) - 4 November 2024
63
53
 
64
- * chore: Moved from circleci to github actions ([`179e630`](https://github.com/panates/valgen/commit/179e630a1b1327acf995decb88ed86b015a48c6a))
65
- * fixed: Circular imports ([`f2a83b9`](https://github.com/panates/valgen/commit/f2a83b9f466f1bc5acaabef3ac78f6c567ed7b54))
54
+ #### 💬 General Changes
66
55
 
67
- # v5.9.0
68
- [2024-08-20]
56
+ - nit: Updated dependencies @Eray Hanoğlu
69
57
 
70
- ### Changes
58
+ ### [v5.10.0](https://github.com/panates/valgen/compare/v5.9.0...v5.10.0) - 14 September 2024
71
59
 
72
- * Fixed compatibility for "Node16" and "NodeNext" moduleResolution options ([`9985ad6`](https://github.com/panates/valgen/commit/9985ad68ded7ddd62a630fbb54fd4f25a405cb62))
60
+ #### 💬 General Changes
73
61
 
74
- # v5.8.2
75
- [2024-08-12]
62
+ - fixed: Circular imports @Eray Hanoğlu
76
63
 
77
- ### Changes
64
+ ### [v5.9.0](https://github.com/panates/valgen/compare/v5.8.2...v5.9.0) - 20 August 2024
78
65
 
79
- * Applied publint to check package.json ([`cbb7553`](https://github.com/panates/valgen/commit/cbb7553eb841f43f333ebbe6ba39977009148e6e))
66
+ #### 💬 General Changes
80
67
 
81
- # v5.8.1
82
- [2024-08-12]
68
+ - Fixed compatibility for "Node16" and "NodeNext" moduleResolution options @Eray Hanoğlu
83
69
 
84
- ### Changes
70
+ ### [v5.8.2](https://github.com/panates/valgen/compare/v5.8.1...v5.8.2) - 12 August 2024
85
71
 
86
- * Applied publint to check package.json ([`cf051f4`](https://github.com/panates/valgen/commit/cf051f4fe5944698fda111fdf6efa059eba11309))
72
+ #### 💬 General Changes
87
73
 
88
- # v5.8.0
89
- [2024-08-12]
74
+ - Applied publint to check package.json @Eray Hanoğlu
90
75
 
91
- ### Changes
76
+ ### [v5.8.1](https://github.com/panates/valgen/compare/v5.8.0...v5.8.1) - 12 August 2024
92
77
 
93
- * Rollback to ES2020 ([`bb198c6`](https://github.com/panates/valgen/commit/bb198c61aa1b30d83e561d24ebfa4fdb2be1559e))
78
+ #### 💬 General Changes
94
79
 
95
- # v5.7.0
96
- [2024-08-09]
80
+ - Applied publint to check package.json @Eray Hanoğlu
97
81
 
98
- ### Changes
82
+ ### [v5.8.0](https://github.com/panates/valgen/compare/v5.7.0...v5.8.0) - 12 August 2024
99
83
 
100
- * Made ready for Node16 moduleResolution ([`fc45964`](https://github.com/panates/valgen/commit/fc459640c49c4125e5e5047a60a83ae8ab05db23))
84
+ #### 💬 General Changes
101
85
 
102
- # v5.6.0
103
- [2024-07-14]
86
+ - Rollback to ES2020 @Eray Hanoğlu
104
87
 
105
- ### Changes
88
+ ### [v5.7.0](https://github.com/panates/valgen/compare/v5.6.0...v5.7.0) - 9 August 2024
106
89
 
107
- * Added isNotNull and isNotNullish rules ([`19902a5`](https://github.com/panates/valgen/commit/19902a5e2a12f1958952671ffce6e2eab77457a5))
108
- * Added isNotNull and isNotNullish rules ([`ff881d6`](https://github.com/panates/valgen/commit/ff881d6be81068c70e020109485b91854c355598))
90
+ #### 💬 General Changes
109
91
 
110
- # v5.5.0
111
- [2024-07-14]
92
+ - Made ready for Node16 moduleResolution @Eray Hanoğlu
112
93
 
113
- ### Changes
94
+ ### [v5.6.0](https://github.com/panates/valgen/compare/v5.5.0...v5.6.0) - 14 July 2024
114
95
 
115
- * Moved eslint config to @panates/eslint-config ([`c2f3e2d`](https://github.com/panates/valgen/commit/c2f3e2dfec484fe891de3b519b7f26779c451b43))
116
- * Changed error message ([`3edf948`](https://github.com/panates/valgen/commit/3edf948a674d11a4ff5efcb97ca255b0723a11ca))
117
- * Removed coercing of isNull and isNullish rules ([`4337d0a`](https://github.com/panates/valgen/commit/4337d0a4bd148718f33f744257b13afdd5c3ac50))
118
- * Now pipe can return original input value when returnIndex = -1 ([`baf698c`](https://github.com/panates/valgen/commit/baf698c289254743d70ef815188f2300d7230f00))
96
+ #### 💬 General Changes
119
97
 
120
- # v5.4.1
121
- [2024-05-18]
98
+ - Added isNotNull and isNotNullish rules @Eray Hanoğlu
99
+ - Added isNotNull and isNotNullish rules @Eray Hanoğlu
122
100
 
123
- ### Changes
101
+ ### [v5.5.0](https://github.com/panates/valgen/compare/v5.4.1...v5.5.0) - 14 July 2024
124
102
 
125
- * Exposed toBigint ([`50ad810`](https://github.com/panates/valgen/commit/50ad8101d58619c92d134059564a4cbaa575f5de))
103
+ #### 💬 General Changes
126
104
 
127
- # v5.4.0
128
- [2024-05-18]
105
+ - Moved eslint config to @panates/eslint-config @Eray Hanoğlu
106
+ - Changed error message @Eray Hanoğlu
107
+ - Removed coercing of isNull and isNullish rules @Eray Hanoğlu
108
+ - Now pipe can return original input value when returnIndex = -1 @Eray Hanoğlu
129
109
 
130
- ### Changes
110
+ ### [v5.4.1](https://github.com/panates/valgen/compare/v5.4.0...v5.4.1) - 18 May 2024
131
111
 
132
- * Added returnIndex to pipe() ([`87458ad`](https://github.com/panates/valgen/commit/87458adb3eb6a4465c8198f942df1fbb333738ff))
133
- * Updated circleci config ([`101361c`](https://github.com/panates/valgen/commit/101361c20f1b78a75392b9e796bc9075b492cb3e))
112
+ #### 💬 General Changes
134
113
 
135
- # v5.3.2
136
- [2024-05-18]
114
+ - Exposed toBigint @Eray Hanoğlu
137
115
 
138
- ### Changes
116
+ ### [v5.4.0](https://github.com/panates/valgen/compare/v5.3.2...v5.4.0) - 18 May 2024
139
117
 
140
- * Updated dependencies ([`9e618ab`](https://github.com/panates/valgen/commit/9e618ab5062b106a7321ef50beac0cd0ccf7e56c))
141
- * Fixed coveralls token ([`ede2734`](https://github.com/panates/valgen/commit/ede27343a163ef6649866fedb141598518d6e1c3))
118
+ #### 💬 General Changes
142
119
 
143
- # v5.3.1
144
- [2024-05-18]
120
+ - Added returnIndex to pipe() @Eray Hanoğlu
121
+ - Updated circleci config @Eray Hanoğlu
145
122
 
146
- ### Changes
123
+ ### [v5.3.2](https://github.com/panates/valgen/compare/v5.3.1...v5.3.2) - 18 May 2024
147
124
 
148
- * Reorganized many rules ([`e470fe7`](https://github.com/panates/valgen/commit/e470fe7b99dc23378253c6e549d1df7c219fbbc9))
149
- * Updated code documentation ([`81e7ccf`](https://github.com/panates/valgen/commit/81e7ccf145075a0649cb7281062f422cd989dfa3))
150
- * Fixed rule name ([`73d90d1`](https://github.com/panates/valgen/commit/73d90d14314d6d98d089c60134f05d651a2e4b0f))
125
+ #### 💬 General Changes
151
126
 
152
- # v5.3.0
153
- [2024-05-06]
127
+ - Updated dependencies @Eray Hanoğlu
128
+ - Fixed coveralls token @Eray Hanoğlu
154
129
 
155
- ### Changes
130
+ ### [v5.3.1](https://github.com/panates/valgen/compare/v5.3.0...v5.3.1) - 18 May 2024
156
131
 
157
- * Added validation generation option to enable coercing by default. ([`5b012ee`](https://github.com/panates/valgen/commit/5b012ee21b89e601ebb7d9f624d93042862da8ca))
132
+ #### 💬 General Changes
158
133
 
159
- # v5.2.2
160
- [2024-03-29]
134
+ - Reorganized many rules @Eray Hanoğlu
135
+ - Updated code documentation @Eray Hanoğlu
136
+ - Fixed rule name @Eray Hanoğlu
161
137
 
162
- ### Changes
138
+ ### [v5.3.0](https://github.com/panates/valgen/compare/v5.2.2...v5.3.0) - 6 May 2024
163
139
 
164
- * Updated dependencies ([`9d9af6f`](https://github.com/panates/valgen/commit/9d9af6fadeece926a8ec1bc93d14ffc7ace625d0))
165
- * Updated dependencies ([`636ce75`](https://github.com/panates/valgen/commit/636ce759e83e765661e7c5c8730c6b824076d344))
140
+ #### 💬 General Changes
166
141
 
167
- # v5.2.1
168
- [2024-03-27]
142
+ - Added validation generation option to enable coercing by default. @Eray Hanoğlu
169
143
 
170
- ### Changes
144
+ ### [v5.2.2](https://github.com/panates/valgen/compare/v5.2.1...v5.2.2) - 29 March 2024
171
145
 
172
- * Updated dependencies ([`117bab5`](https://github.com/panates/valgen/commit/117bab58f731c1572959668dd4d6fca36d779433))
146
+ #### 💬 General Changes
173
147
 
174
- # v5.2.0
175
- [2024-01-04]
148
+ - Updated dependencies @Eray Hanoğlu
149
+ - Updated dependencies @Eray Hanoğlu
176
150
 
177
- ### Changes
151
+ ### [v5.2.1](https://github.com/panates/valgen/compare/v5.2.0...v5.2.1) - 27 March 2024
178
152
 
179
- * Now validator options persist in context ([`418901f`](https://github.com/panates/valgen/commit/418901f74ee266d84e50ee82ba5a7221bd2be627))
153
+ #### 💬 General Changes
180
154
 
181
- # v5.1.0
182
- [2023-12-23]
155
+ - Updated dependencies @Eray Hanoğlu
183
156
 
184
- ### Changes
157
+ ### [v5.2.0](https://github.com/panates/valgen/compare/v5.1.0...v5.2.0) - 4 January 2024
185
158
 
186
- * Moved from "dayjs" to "date-fns" ([`fd240af`](https://github.com/panates/valgen/commit/fd240afe3cdbb7485695d204aa25b9bf62ad315a))
159
+ #### 💬 General Changes
187
160
 
188
- # v5.0.1
189
- [2023-12-23]
161
+ - Now validator options persist in context @Eray Hanoğlu
190
162
 
191
- ### Changes
163
+ ### [v5.1.0](https://github.com/panates/valgen/compare/v5.0.1...v5.1.0) - 23 December 2023
192
164
 
193
- * Added new rules ([`ddcab7c`](https://github.com/panates/valgen/commit/ddcab7c54c287a9ec839c04302faa6b3bf5e554d))
194
- * Moved all validator factories into "factories" namespace, ([`2ac5abd`](https://github.com/panates/valgen/commit/2ac5abd7f2097de4ec769bcc55034636142ee598))
165
+ #### 💬 General Changes
195
166
 
196
- # v5.0.0
197
- [2023-12-21]
167
+ - Moved from "dayjs" to "date-fns" @Eray Hanoğlu
198
168
 
199
- ### Changes
169
+ ### [v5.0.1](https://github.com/panates/valgen/compare/v5.0.0...v5.0.1) - 23 December 2023
200
170
 
201
- * Moved all validator factories into "factories" namespace, ([`e93dddd`](https://github.com/panates/valgen/commit/e93dddd7aa3aa3bcdfbf9fa1615f9504fbff7e6f))
171
+ #### 💬 General Changes
202
172
 
203
- # v4.3.2
204
- [2023-12-08]
173
+ - Added new rules @Eray Hanoğlu
174
+ - Moved all validator factories into "factories" namespace, @Eray Hanoğlu
205
175
 
206
- ### Changes
176
+ ## [v5.0.0](https://github.com/panates/valgen/compare/v4.3.2...v5.0.0) - 21 December 2023
207
177
 
208
- * Updated dependenices ([`a539d1b`](https://github.com/panates/valgen/commit/a539d1b6d2d3629174e3d14efee58aacb4e6730a))
209
- * Pass "_this" parameter to preValidation and postValidation methods ([`bdb6a97`](https://github.com/panates/valgen/commit/bdb6a97ed50b538fad97ed1fb2161f8665647214))
178
+ #### 💬 General Changes
210
179
 
211
- # v4.3.1
212
- [2023-12-04]
180
+ - Moved all validator factories into "factories" namespace, @Eray Hanoğlu
213
181
 
214
- ### Changes
182
+ ### [v4.3.2](https://github.com/panates/valgen/compare/v4.3.1...v4.3.2) - 8 December 2023
215
183
 
216
- * Made preValidation and postValidation static ([`71fa530`](https://github.com/panates/valgen/commit/71fa53050428fc937dcdda24cb9a43baf0f2d384))
184
+ #### 💬 General Changes
217
185
 
218
- # v4.3.0
219
- [2023-12-02]
186
+ - Updated dependenices @Eray Hanoğlu
187
+ - Pass "_this" parameter to preValidation and postValidation methods @Eray Hanoğlu
220
188
 
221
- ### Changes
189
+ ### [v4.3.1](https://github.com/panates/valgen/compare/v4.3.0...v4.3.1) - 4 December 2023
222
190
 
223
- * Updated dependencies ([`4ff01f0`](https://github.com/panates/valgen/commit/4ff01f0f52c7efeab0c3e154946ba32d1cf04e86))
224
- * Added [preValidation] and [postValidation] to isObject rule ([`2f8351d`](https://github.com/panates/valgen/commit/2f8351d10fd1a9cc78577c52b37681319f3d28b2))
191
+ #### 💬 General Changes
225
192
 
226
- # v4.2.5
227
- [2023-11-27]
193
+ - Made preValidation and postValidation static @Eray Hanoğlu
228
194
 
229
- ### Changes
195
+ ### [v4.3.0](https://github.com/panates/valgen/compare/v4.2.5...v4.3.0) - 2 December 2023
230
196
 
231
- * Fixed isArray error location property. ([`b42ca30`](https://github.com/panates/valgen/commit/b42ca300c9c5a68685a70a9cff895e9ad97eb650))
197
+ #### 💬 General Changes
232
198
 
233
- # v4.2.4
234
- [2023-11-20]
199
+ - Updated dependencies @Eray Hanoğlu
200
+ - Added [preValidation] and [postValidation] to isObject rule @Eray Hanoğlu
235
201
 
236
- ### Changes
202
+ ### [v4.2.5](https://github.com/panates/valgen/compare/v4.2.4...v4.2.5) - 27 November 2023
237
203
 
238
- * Added json parsing feature to isObject validator ([`0cd128a`](https://github.com/panates/valgen/commit/0cd128ab8bae6e834230004c4b7bf857ce67b76f))
204
+ #### 💬 General Changes
239
205
 
240
- # v4.2.3
241
- [2023-11-20]
206
+ - Fixed isArray error location property. @Eray Hanoğlu
242
207
 
243
- ### Changes
208
+ ### [v4.2.4](https://github.com/panates/valgen/compare/v4.2.3...v4.2.4) - 20 November 2023
244
209
 
245
- * Optimized error messages ([`21e29dc`](https://github.com/panates/valgen/commit/21e29dc2eff846fbeccb7737ffe41496bca583c5))
210
+ #### 💬 General Changes
246
211
 
247
- # v4.2.2
248
- [2023-11-15]
212
+ - Added json parsing feature to isObject validator @Eray Hanoğlu
249
213
 
250
- ### Changes
214
+ ### [v4.2.3](https://github.com/panates/valgen/compare/v4.2.2...v4.2.3) - 20 November 2023
251
215
 
252
- * Changed "trim" option ([`b5eff4f`](https://github.com/panates/valgen/commit/b5eff4ffd61eb78ea244dfe2c66ca86275b9578c))
216
+ #### 💬 General Changes
253
217
 
254
- # v4.2.1
255
- [2023-11-15]
218
+ - Optimized error messages @Eray Hanoğlu
256
219
 
257
- ### Changes
220
+ ### [v4.2.2](https://github.com/panates/valgen/compare/v4.2.1...v4.2.2) - 15 November 2023
258
221
 
259
- * Fixed generating invalid date string ([`6407ac6`](https://github.com/panates/valgen/commit/6407ac6bd17bf84a8d031efe9b3998d58c5b7f8b))
222
+ #### 💬 General Changes
260
223
 
261
- # v4.2.0
262
- [2023-11-15]
224
+ - Changed "trim" option @Eray Hanoğlu
263
225
 
264
- ### Changes
226
+ ### [v4.2.1](https://github.com/panates/valgen/compare/v4.2.0...v4.2.1) - 15 November 2023
265
227
 
266
- * Removed "format" option and added "precision" option to isDate validator ([`2e332a6`](https://github.com/panates/valgen/commit/2e332a6fb9907e0b50f98a6dbcbbdfb3764af867))
267
- * Added test for "label" option ([`162f41a`](https://github.com/panates/valgen/commit/162f41ac36762a146718c3efc4784bb33f48c955))
228
+ #### 💬 General Changes
268
229
 
269
- # v4.1.0
270
- [2023-10-31]
230
+ - Fixed generating invalid date string @Eray Hanoğlu
271
231
 
272
- ### Changes
232
+ ### [v4.2.0](https://github.com/panates/valgen/compare/v4.1.0...v4.2.0) - 15 November 2023
273
233
 
274
- * Updated validation messages. ([`066fc4e`](https://github.com/panates/valgen/commit/066fc4e0f9fc7a0c0543572cf543c66084611135))
234
+ #### 💬 General Changes
275
235
 
276
- # v4.0.1
277
- [2023-10-24]
236
+ - Removed "format" option and added "precision" option to isDate validator @Eray Hanoğlu
237
+ - Added test for "label" option @Eray Hanoğlu
278
238
 
279
- ### Changes
239
+ ### [v4.1.0](https://github.com/panates/valgen/compare/v4.0.1...v4.1.0) - 31 October 2023
280
240
 
281
- * Added "coerce" option to isNull and isUndefined rules ([`8c02040`](https://github.com/panates/valgen/commit/8c02040264174e26c840fce351da8b69e664d626))
241
+ #### 💬 General Changes
282
242
 
283
- # v4.0.0
284
- [2023-08-17]
243
+ - Updated validation messages. @Eray Hanoğlu
285
244
 
286
- ### Changes
245
+ ### [v4.0.1](https://github.com/panates/valgen/compare/v4.0.0...v4.0.1) - 24 October 2023
287
246
 
288
- * Initial release of v4.0.0-alpha.1 ([`499af8e`](https://github.com/panates/valgen/commit/499af8eed81feeacb4bba5c254fbf1ede3933564))
289
- * Implemented all initial validators and tests ([`0ff5c5c`](https://github.com/panates/valgen/commit/0ff5c5c28aa59b44de90d016e8c056c26b3b479d))
290
- * Updated dependencies ([`804e00c`](https://github.com/panates/valgen/commit/804e00c3fcf344f4dcdb96efe0fc94ea3521cb92))
291
- * Better error handling ([`91dae2f`](https://github.com/panates/valgen/commit/91dae2f260f1d02ff5ed418f3247b452c1fed214))
292
- * Updated deps ([`df1cb70`](https://github.com/panates/valgen/commit/df1cb700a3799f09305af774c05ca534e5f88870))
293
- * Added isBigint validator ([`87ba007`](https://github.com/panates/valgen/commit/87ba00753dc018a4bd06492ec99fa37967046c58))
294
- * Fixed isObject coerce issue ([`47c7d4e`](https://github.com/panates/valgen/commit/47c7d4ed2d0e483788e939b357995a156ac3b7bc))
295
- * Improved isDateString ([`59d0d14`](https://github.com/panates/valgen/commit/59d0d14909132a502a9880cc11b9303897a3c79a))
296
- * Updated dayjs ([`e212dd2`](https://github.com/panates/valgen/commit/e212dd2834a07015fcceede3bf211f2a9db11eb6))
297
- * Updated deps ([`d20588e`](https://github.com/panates/valgen/commit/d20588eaa51be7547655d3494bb42e35cb6effa8))
298
- * Updated deps ([`82a2c0d`](https://github.com/panates/valgen/commit/82a2c0dc36c9cc54667231e88dfec6521097a157))
299
- * Fixed isObject coerce issue ([`b79833b`](https://github.com/panates/valgen/commit/b79833ba032494a18a91b1569da2d244f3c4c4b9))
247
+ #### 💬 General Changes
248
+
249
+ - Added "coerce" option to isNull and isUndefined rules @Eray Hanoğlu
250
+
251
+ ## [v4.0.0](https://github.com/panates/valgen/compare/v3.2.1...v4.0.0) - 17 August 2023
252
+
253
+ #### 💬 General Changes
254
+
255
+ - Initial release of v4.0.0-alpha.1 @Eray Hanoğlu
256
+ - Implemented all initial validators and tests @Eray Hanoğlu
257
+ - Updated dependencies @Eray Hanoğlu
258
+ - Better error handling @Eray Hanoğlu
259
+ - Updated deps @Eray Hanoğlu
260
+ - Added isBigint validator @Eray Hanoğlu
261
+ - Fixed isObject coerce issue @Eray Hanoğlu
262
+ - Improved isDateString @Eray Hanoğlu
263
+ - Updated dayjs @Eray Hanoğlu
264
+ - Updated deps @Eray Hanoğlu
265
+ - Updated deps @Eray Hanoğlu
266
+ - Fixed isObject coerce issue @Eray Hanoğlu
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valgen",
3
3
  "description": "Fast runtime type validator, converter and io (encoding/decoding) library",
4
- "version": "5.13.4",
4
+ "version": "5.14.0",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {
@@ -58,5 +58,8 @@
58
58
  "converter",
59
59
  "transform",
60
60
  "type"
61
- ]
61
+ ],
62
+ "publishConfig": {
63
+ "access": "public"
64
+ }
62
65
  }
@@ -4,4 +4,4 @@ export * from './types.js';
4
4
  export * from './utilities.js';
5
5
  export * from './validation-error.js';
6
6
  export * from './validator.js';
7
- export { Maybe, Nullish, Type } from 'ts-gems';
7
+ export type { Maybe, Nullish, Type } from 'ts-gems';
package/types/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as vg from './rules/index.js';
2
2
  export * from './constants.js';
3
3
  export * from './core/index.js';
4
- export { IsObject } from './rules/type-rules/is-object.js';
4
+ export type { IsObject } from './rules/type-rules/is-object.js';
5
5
  declare const isAny: import("./core/validator.js").Validator<any, any, import("./core/types.js").ExecutionOptions>;
6
6
  declare const isArray: import("./core/validator.js").Validator<unknown[], unknown, import("./core/types.js").ExecutionOptions>;
7
7
  declare const isBigint: import("./core/validator.js").Validator<bigint, unknown, import("./core/types.js").ExecutionOptions>;
package/types/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as vg from './rules/index.js';
2
2
  export * from './constants.js';
3
3
  export * from './core/index.js';
4
- export { IsObject } from './rules/type-rules/is-object.js';
4
+ export type { IsObject } from './rules/type-rules/is-object.js';
5
5
  declare const isAny: import("./core/validator.js").Validator<any, any, import("./core/types.js").ExecutionOptions>;
6
6
  declare const isArray: import("./core/validator.js").Validator<unknown[], unknown, import("./core/types.js").ExecutionOptions>;
7
7
  declare const isBigint: import("./core/validator.js").Validator<bigint, unknown, import("./core/types.js").ExecutionOptions>;