Comparing version 1.2.7 to 1.3.0
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ (function (global) { |
@@ -0,0 +0,0 @@ /* |
{ | ||
"name": "tv4", | ||
"version": "1.2.7", | ||
"version": "1.3.0", | ||
"author": "Geraint Luff", | ||
@@ -24,3 +24,3 @@ "description": "A public domain JSON Schema validator for JavaScript", | ||
}, | ||
"license:": [ | ||
"license": [ | ||
{ | ||
@@ -37,20 +37,20 @@ "type": "Public Domain", | ||
"grunt": "~0.4.1", | ||
"grunt-cli": "~0.1.9", | ||
"grunt-component-io": "~0.1.0", | ||
"grunt-concat-sourcemap": "~0.2", | ||
"grunt-contrib-clean": "~0.4.1", | ||
"grunt-contrib-copy": "~0.4.1", | ||
"grunt-contrib-jshint": "~0.6.2", | ||
"mocha": "~1.11.0", | ||
"grunt-contrib-uglify": "~0.2.2", | ||
"grunt-markdown": "~0.3.0", | ||
"grunt-mocha": "~0.4", | ||
"grunt-mocha-test": "~0.5.0", | ||
"grunt-cli": "~0.1.9", | ||
"grunt-contrib-uglify": "~0.2.2", | ||
"grunt-contrib-copy": "~0.4.1", | ||
"proclaim": "1.4", | ||
"mocha-unfunk-reporter": "~0.2", | ||
"jshint-path-reporter": "~0.1", | ||
"grunt-concat-sourcemap": "~0.2", | ||
"source-map-support": "~0.1", | ||
"grunt-markdown": "~0.3.0", | ||
"grunt-push-release": "~0.1.1", | ||
"grunt-regex-replace": "~0.2.5", | ||
"jshint-path-reporter": "~0.1", | ||
"mocha": "~1.11.0", | ||
"mocha-unfunk-reporter": "~0.2", | ||
"proclaim": "1.4", | ||
"requirejs": "~2.1.11", | ||
"grunt-component-io": "~0.1.0" | ||
"source-map-support": "~0.1" | ||
}, | ||
@@ -57,0 +57,0 @@ "engines": { |
@@ -83,3 +83,3 @@ # Tiny Validator (for v4 JSON Schema) | ||
`validationFailure` is simply taken from `tv4.error`. | ||
`validationError` is simply taken from `tv4.error`. | ||
@@ -86,0 +86,0 @@ ## Cyclical JavaScript objects |
@@ -0,0 +0,0 @@ // Provides support for asynchronous validation (fetching schemas) using jQuery |
@@ -1583,3 +1583,5 @@ /* | ||
validateResult: function () { | ||
var result = {}; | ||
var result = {toString: function () { | ||
return this.valid ? 'valid' : this.error.message; | ||
}}; | ||
this.validate.apply(result, arguments); | ||
@@ -1602,3 +1604,5 @@ return result; | ||
} | ||
var result = {}; | ||
var result = {toString: function () { | ||
return this.valid ? 'valid' : this.error.message; | ||
}}; | ||
result.errors = context.errors; | ||
@@ -1605,0 +1609,0 @@ result.missing = context.missing; |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
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
96981
13
2058
1