Comparing version 1.2.0 to 1.2.1
@@ -0,0 +0,0 @@ # How to contribute |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"repository": "git://github.com/spumko/joi", | ||
@@ -15,6 +15,6 @@ "main": "index", | ||
"dependencies": { | ||
"hoek": "1.0.x" | ||
"hoek": "1.x.x" | ||
}, | ||
"devDependencies": { | ||
"lab": "0.x.x" | ||
"lab": "1.x.x" | ||
}, | ||
@@ -21,0 +21,0 @@ "scripts": { |
@@ -0,0 +0,0 @@ <a href="https://github.com/spumko"><img src="https://raw.github.com/spumko/spumko/master/images/from.png" align="right" /></a> |
@@ -535,2 +535,13 @@ // Load modules | ||
it('should pass string validation of missing optional key with regex string condition', function (done) { | ||
var rules = { | ||
key: Joi.types.String().alphanum(false).min(8) | ||
}; | ||
var err = Joi.validate({}, rules); | ||
expect(err).to.not.exist; | ||
done(); | ||
}); | ||
it('should pass validation with extra keys and remove them when stripExtraKeys is set', function (done) { | ||
@@ -537,0 +548,0 @@ |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
@@ -0,0 +0,0 @@ // Load modules |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
318735
3798
+ Addedhoek@1.5.2(transitive)
- Removedhoek@1.0.3(transitive)
Updatedhoek@1.x.x