Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leaf-converter

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaf-converter - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

10

CHANGELOG.md

@@ -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)

4

lib/json-comment-parser/parse.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc