Comparing version 0.6.2 to 0.6.3
@@ -0,1 +1,5 @@ | ||
0.6.3 / 2018-05-04 | ||
================== | ||
* fix(parse): format `it()` block `code` to remove extra indents | ||
0.6.2 / 2018-03-31 | ||
@@ -2,0 +6,0 @@ ================== |
var _ = require('lodash'); | ||
var esprima = require('esprima'); | ||
var formatCode = require('./formatCode'); | ||
var marked = require('marked'); | ||
@@ -48,3 +49,3 @@ var util = require('util'); | ||
comments: _.map(_comments || [], 'value'), | ||
code: contents.substring(node.expression.arguments[1].body.range[0] + 1, node.expression.arguments[1].body.range[1] - 1) | ||
code: formatCode(contents.substring(node.expression.arguments[1].body.range[0] + 1, node.expression.arguments[1].body.range[1] - 1)) | ||
}; | ||
@@ -51,0 +52,0 @@ |
{ | ||
"name": "acquit", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Parse BDD-style tests (Mocha, Jasmine) to generate documentation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
38331
16
522