Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Releases: ansman/validate.js

0.13.1

15 Jun 17:55
Compare
Choose a tag to compare

This release was initially called 0.13.0 but due to a mistake it is released as 0.13.1

• added missing 'var' to avoid leaking to the global namespace (#242)
• There is now a type validator that will check the value's type. Thanks Dmitry Kirilyuk for suggesting this.
• make a best guess at prettifying object with no toString (#284)
• Support for data URIs (#278)
• Fix some issues with the email validation. Thanks Yusuf Aji Wibowo for reporting it.
• If within in the exclusion validator is an object the values are now used when formatting ${value} in the message. Thanks Rhys Lloyd for reporting it.