leaf-converter
Advanced tools
Comparing version 1.9.2 to 1.9.3
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="1.9.3"></a> | ||
## [1.9.3](https://github.com/forsigner/leaf-converter/compare/v1.9.2...v1.9.3) (2018-02-01) | ||
<a name="1.9.2"></a> | ||
@@ -7,0 +12,0 @@ ## [1.9.2](https://github.com/forsigner/leaf-converter/compare/v1.9.1...v1.9.2) (2018-02-01) |
'use strict'; | ||
exports.keywords = ['maxLength', 'minLength', 'pattern', 'enum', 'minimum', 'maximum', 'required', 'maxProperties', 'minProperties', 'additionalProperties', 'minItems', 'maxItems', 'uniqueItems']; | ||
exports.keywords = ['maxLength', 'minLength', 'pattern', 'enum', 'minimum', 'maximum', | ||
// 'required', | ||
'maxProperties', 'minProperties', 'additionalProperties', 'minItems', 'maxItems', 'uniqueItems']; | ||
exports.numKeywords = ['maxLength', 'minLength', 'minimum', 'maximum', 'maxProperties', 'minProperties', 'minItems', 'maxItems']; |
@@ -34,3 +34,3 @@ 'use strict'; | ||
var tmp = ['`/**']; | ||
var tmp = ['/**']; | ||
keywords.forEach(function (word) { | ||
@@ -40,3 +40,3 @@ if (!properties[key][word]) return; | ||
}); | ||
tmp.push('*/`'); | ||
tmp.push('*/'); | ||
@@ -43,0 +43,0 @@ if (tmp.length > 2) { |
{ | ||
"name": "leaf-converter", | ||
"description": "", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": { |
35844
864