lib: support ranges in validateInt32() · nodejs/node@36e5100 · GitHub
Skip to content

Commit 36e5100

Browse files
cjihrigtargos
authored andcommitted
lib: support ranges in validateInt32()
This commit adds minimum and maximum value checks to the validateInt32() validator. PR-URL: #20588 Fixes: #20498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Backport-PR-URL: #21172
1 parent 2ffb9d6 commit 36e5100

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

lib/internal/validators.js

Lines changed: 6 additions & 2 deletions

0 commit comments

Comments
 (0)