Comparing version 11.0.1 to 11.0.2
@@ -84,3 +84,3 @@ 'use strict'; | ||
else if (timestamp && multiplier) { | ||
date = new Date(value * multiplier); | ||
date = /^\s*$/.test(value) ? internals.invalidDate : new Date(value * multiplier); | ||
} | ||
@@ -87,0 +87,0 @@ else { |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"homepage": "https://github.com/hapijs/joi", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hapijs/joi", |
@@ -29,3 +29,3 @@ ![joi Logo](https://raw.github.com/hapijs/joi/master/images/joi.png) | ||
# API | ||
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v11.0.1/API.md). | ||
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v11.0.2/API.md). | ||
@@ -32,0 +32,0 @@ # Example |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167934