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

acquit

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acquit - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

lib/formatCode.js

4

History.md

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

3

lib/parse.js
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",

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