leaf-converter
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.1.3"></a> | ||
## [1.1.3](https://github.com/forsigner/leaf-converter/compare/v1.1.2...v1.1.3) (2018-01-03) | ||
### Bug Fixes | ||
* 兼容有引号的对象 ([7cfa215](https://github.com/forsigner/leaf-converter/commit/7cfa215)) | ||
<a name="1.1.2"></a> | ||
@@ -7,0 +17,0 @@ ## [1.1.2](https://github.com/forsigner/leaf-converter/compare/v1.1.1...v1.1.2) (2018-01-03) |
@@ -24,3 +24,3 @@ 'use strict'; | ||
nodes.reverse().forEach(function (node) { | ||
var name = node.key.name; | ||
var prop = node.key.name || node.key.value; | ||
var _node$value = node.value, | ||
@@ -33,3 +33,3 @@ start = _node$value.start, | ||
var find = comments.find(function (item) { | ||
return item.key === '// ' + name && item.commentLine === line; | ||
return item.key === '// ' + prop && item.commentLine === line; | ||
}); | ||
@@ -36,0 +36,0 @@ |
@@ -18,5 +18,2 @@ 'use strict'; | ||
function requestToSchema(request) { | ||
console.log('-----------------'); | ||
console.log(request); | ||
console.log('----------'); | ||
var _request$query = request.query, | ||
@@ -23,0 +20,0 @@ query = _request$query === undefined ? {} : _request$query, |
{ | ||
"name": "leaf-converter", | ||
"description": "", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": { |
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
24167
664