-
Notifications
You must be signed in to change notification settings - Fork 9
isPlainObject/isArray validation, falsy values for presence validation, node 0.10.x support when running tests #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isPlainObject/isArray validation, falsy values for presence validation, node 0.10.x support when running tests #11
Conversation
| field: paramName, | ||
| message: customMessage || message(paramName, "required"), | ||
| result: !!get(params, paramName) | ||
| result: get(params, paramName) != null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great catch!
|
@bjrmatos Your PR looks really good. |
16ac42d to
efb89dc
Compare
|
PR updated with your observations ❤️ |
|
This is looking fantastic, @bjrmatos. |
|
@nettofarah done! 😄 |
|
Great! Thank you! |
isPlainObject/isArray validation, falsy values for presence validation, node 0.10.x support when running tests
|
I'll publish a new release tomorrow |
|
@nettofarah thnk you! |
while preparing a PR for #9 i've noticed that running npm test is broken in node v0.10 due the use of template literals.