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

grunt-literate

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-literate - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

lib/literate.js

@@ -76,3 +76,4 @@ "use strict";

content += lines.join("\n");
// Each line should have newline char after, also the last
content += lines.join("\n") + "\n";
} else if (code) {

@@ -92,2 +93,5 @@ // Code

// Just one newline at eof
content = content.replace(/\n+$/, "\n");
return content;

@@ -94,0 +98,0 @@ }

2

package.json
{
"name": "grunt-literate",
"description": "Generate docs from your source",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/phadej/grunt-literate",

@@ -6,0 +6,0 @@ "author": {

@@ -53,2 +53,5 @@ # grunt-literate

- 0.1.2 Newline improvements
- Newline at the end of comment
- Only one newline at the end of generated file
- 0.1.1 Fix issue with unindenting

@@ -60,2 +63,3 @@ - 0.1.0 Initial release

This task could be abused to do literate programming.
[Docco](http://jashkenas.github.io/docco/) is similar tool,
however *literate* is markup-language-agnostic.
```js
//foobar
// vim: set sts=2 sw=2 ts=2 et:
/*

@@ -65,2 +65,5 @@ * grunt-literate

- 0.1.2 Newline improvements
- Newline at the end of comment
- Only one newline at the end of generated file
- 0.1.1 Fix issue with unindenting

@@ -72,2 +75,4 @@ - 0.1.0 Initial release

This task could be abused to do literate programming.
[Docco](http://jashkenas.github.io/docco/) is similar tool,
however *literate* is markup-language-agnostic.

@@ -101,2 +106,1 @@

```

@@ -1,2 +0,2 @@

//foobar
// vim: set sts=2 sw=2 ts=2 et:
/*

@@ -64,2 +64,5 @@ * grunt-literate

- 0.1.2 Newline improvements
- Newline at the end of comment
- Only one newline at the end of generated file
- 0.1.1 Fix issue with unindenting

@@ -71,3 +74,4 @@ - 0.1.0 Initial release

This task could be abused to do literate programming.
[Docco](http://jashkenas.github.io/docco/) is similar tool,
however *literate* is markup-language-agnostic.
*/

@@ -74,0 +78,0 @@

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