valgen 5.2.1 → 5.2.2
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 +8 -0
- package/package.json +1 -1
- package/typings/rules/pipe.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# v5.2.2
|
|
2
|
+
[2024-03-29]
|
|
3
|
+
|
|
4
|
+
### Changes
|
|
5
|
+
|
|
6
|
+
* Updated dependencies ([`9d9af6f`](https://github.com/panates/valgen/commit/9d9af6fadeece926a8ec1bc93d14ffc7ace625d0))
|
|
7
|
+
* Updated dependencies ([`636ce75`](https://github.com/panates/valgen/commit/636ce759e83e765661e7c5c8730c6b824076d344))
|
|
8
|
+
|
|
1
9
|
# v5.2.1
|
|
2
10
|
[2024-03-27]
|
|
3
11
|
|
package/package.json
CHANGED
package/typings/rules/pipe.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { Validator } from '../core/index.js';
|
|
|
3
3
|
*
|
|
4
4
|
* @validator pipe
|
|
5
5
|
*/
|
|
6
|
-
export declare function pipe<T>(...rules:
|
|
6
|
+
export declare function pipe<T>(...rules: Validator[]): Validator<T>;
|
|
7
7
|
/**
|
|
8
8
|
* Test given value against to all codecs and returns original input
|
|
9
9
|
* @validator allOf
|
|
10
10
|
*/
|
|
11
|
-
export declare function allOf(...rules: Validator[]): Validator<
|
|
11
|
+
export declare function allOf<T = any>(...rules: Validator[]): Validator<T>;
|