Commit 35e589d
feat: update UUID validation to support versions 1-8, nil, max, and all (#2647)
* fix: update UUID validation to support versions 1-8, nil, max, and all
* feat: add loose UUID validation and update documentation
* feat: enhance isUUID function to support array of versions and add corresponding tests
* test: update loose UUID validation tests with new valid and invalid cases
* Enhance @IsUUID description for version support
Updated the @IsUUID description to include support for an array of versions.
---------
Co-authored-by: Brage Sekse Aarset <brage.aarset@gmail.com>1 parent 042fb57 commit 35e589d
3 files changed
Lines changed: 448 additions & 9 deletions
File tree
- src/decorator/string
- test/functional
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
| 933 | + | |
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
10 | 12 | | |
| 13 | + | |
11 | 14 | | |
12 | | - | |
13 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 24 | | |
15 | 25 | | |
16 | 26 | | |
17 | | - | |
| 27 | + | |
18 | 28 | | |
| 29 | + | |
19 | 30 | | |
20 | | - | |
| 31 | + | |
21 | 32 | | |
22 | 33 | | |
23 | 34 | | |
| |||
0 commit comments