Commit a0cfb0c
lib: add validateInteger() validator
This allows validation of integers that are not int32 or uint32.
PR-URL: #20851
Fixes: #20844
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Backport-PR-URL: #21171
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>1 parent 6a098ad commit a0cfb0cCopy full SHA for a0cfb0c
File tree
Expand file treeCollapse file tree
1 file changed
+16
-1
lines changedOpen diff view settings
Filter options
- lib/internal
Expand file treeCollapse file tree
1 file changed
+16
-1
lines changedOpen diff view settings
Collapse file
+16-1Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
17 | 31 | |
18 | 32 | |
19 | 33 | |
| ||
53 | 67 | |
54 | 68 | |
55 | 69 | |
| 70 | + |
56 | 71 | |
57 | 72 | |
58 | 73 | |
0 commit comments