table
Advanced tools
Comparing version 6.0.6 to 6.0.7
@@ -17,2 +17,5 @@ { | ||
"typeof": "function" | ||
}, | ||
"singleLine": { | ||
"typeof": "boolean" | ||
} | ||
@@ -19,0 +22,0 @@ }, |
@@ -19,2 +19,5 @@ "use strict"; | ||
"typeof": "function" | ||
}, | ||
"singleLine": { | ||
"typeof": "boolean" | ||
} | ||
@@ -801,3 +804,3 @@ }, | ||
for (const key0 in data) { | ||
if (!((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "drawHorizontalLine"))) { | ||
if (!(((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "drawHorizontalLine")) || (key0 === "singleLine"))) { | ||
const err0 = { | ||
@@ -870,4 +873,21 @@ keyword: "additionalProperties", | ||
} | ||
if (data.singleLine !== undefined) { | ||
if (typeof data.singleLine != "boolean") { | ||
const err2 = { | ||
keyword: "typeof", | ||
dataPath: dataPath + "/singleLine", | ||
schemaPath: "#/properties/singleLine/typeof", | ||
params: {}, | ||
message: "should pass \"typeof\" keyword validation" | ||
}; | ||
if (vErrors === null) { | ||
vErrors = [err2]; | ||
} else { | ||
vErrors.push(err2); | ||
} | ||
errors++; | ||
} | ||
} | ||
} else { | ||
const err2 = { | ||
const err3 = { | ||
keyword: "type", | ||
@@ -882,5 +902,5 @@ dataPath, | ||
if (vErrors === null) { | ||
vErrors = [err2]; | ||
vErrors = [err3]; | ||
} else { | ||
vErrors.push(err2); | ||
vErrors.push(err3); | ||
} | ||
@@ -887,0 +907,0 @@ errors++; |
@@ -84,3 +84,3 @@ { | ||
}, | ||
"version": "6.0.6" | ||
"version": "6.0.7" | ||
} |
<a name="table"></a> | ||
# Table | ||
[![GitSpo Mentions](https://gitspo.com/badges/mentions/gajus/table?style=flat-square)](https://gitspo.com/mentions/gajus/table) | ||
[![Travis build status](http://img.shields.io/travis/gajus/table/master.svg?style=flat-square)](https://travis-ci.org/gajus/table) | ||
@@ -6,0 +5,0 @@ [![Coveralls](https://img.shields.io/coveralls/gajus/table.svg?style=flat-square)](https://coveralls.io/github/gajus/table) |
197505
2763
735