Comparing version 0.4.5 to 0.4.6
{ | ||
"name": "ajv", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "Another JSON schema Validator", | ||
@@ -5,0 +5,0 @@ "main": "lib/ajv.js", |
@@ -6,2 +6,3 @@ # ajv - Another JSON Schema Validator | ||
[![Build Status](https://travis-ci.org/epoberezkin/ajv.svg?branch=master)](https://travis-ci.org/epoberezkin/ajv) | ||
[![npm version](https://badge.fury.io/js/ajv.svg)](http://badge.fury.io/js/ajv) | ||
@@ -15,3 +16,3 @@ ## JSON Schema standard | ||
- correct string lengths for strings with unicode pairs (can be turned off) | ||
- formats defined by JSON Schema draft 4 standard (can be turned off) | ||
- formats defined by JSON Schema draft 4 standard and custom formats (can be turned off) | ||
@@ -25,3 +26,7 @@ ajv passes all the tests from [JSON Schema Test Suite](https://github.com/json-schema/JSON-Schema-Test-Suite) (apart from the one that requires that `1.0` is not an integer). | ||
[Same benchmark](https://github.com/epoberezkin/json-schema-benchmark) run on faster CPU with node 0.12. | ||
[Benchmark of individual test cases](https://rawgit.com/zaggino/z-schema/master/benchmark/results.html) by [z-schema](https://github.com/zaggino/z-schema). | ||
## Install | ||
@@ -28,0 +33,0 @@ |
@@ -69,3 +69,3 @@ 'use strict'; | ||
// if (testSet.description != 'remote ref, containing refs itself') return; | ||
describe(testSet.description, function() { | ||
(testSet.skip ? describe.skip : describe)(testSet.description, function() { | ||
var validate, fullValidate; | ||
@@ -81,3 +81,3 @@ // it(testSet.description, function() { | ||
// if (test.description != 'valid object from z-schema benchmark') return; | ||
it(test.description, function() { | ||
(test.skip ? it.skip : it)(test.description, function() { | ||
var valid = validate(test.data); | ||
@@ -84,0 +84,0 @@ // console.log('result', valid, test.valid, validate.errors); |
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
267079
117
7961
152