Superstruct v0.6.0 Release Notes

Release Date: 2018-09-13 // over 5 years ago
  • BREAKING
    • Invalid Date objects are now considered invalid. Previously using the built-in 'date' validator would only check that the object was a Date instance, and not that it was a valid one. This has been fixed, and although it is technically a breaking change, most everyone would have expected this behavior to begin with.