New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0 to 0.1.1

11

lib/literate.js

@@ -50,3 +50,3 @@ "use strict";

// block comment starting with /**
var value = comment.value.slice(1).replace(whitespaceRe, "");
var value = comment.value.slice(1);

@@ -57,2 +57,11 @@ var lines = value.split(/\n/);

// Drop empty lines at the beginning of the literate comment
while (true) {
if (lines[0] !== undefined && isWhitespace(lines[0])) {
lines.shift();
} else {
break;
}
}
// unindent lines

@@ -59,0 +68,0 @@ lines = lines.map(function (line) {

2

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

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

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

- 0.1.1 Fix issue with unindenting
- 0.1.0 Initial release

@@ -55,0 +56,0 @@

@@ -65,2 +65,3 @@

- 0.1.1 Fix issue with unindenting
- 0.1.0 Initial release

@@ -88,3 +89,3 @@

var content = "";
f.src.forEach(function (filename) {

@@ -91,0 +92,0 @@ content += literate(grunt.file.read(filename), options);

@@ -64,2 +64,3 @@ //foobar

- 0.1.1 Fix issue with unindenting
- 0.1.0 Initial release

@@ -66,0 +67,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