grunt-processhtml
Advanced tools
Comparing version 0.3.7 to 0.3.8
{ | ||
"name": "grunt-processhtml", | ||
"description": "Process html files at build time to modify them depending on the release environment", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"homepage": "https://github.com/dciccale/grunt-processhtml", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
# grunt-processhtml [![Build Status](https://travis-ci.org/dciccale/grunt-processhtml.png?branch=master)](https://travis-ci.org/dciccale/grunt-processhtml) [![NPM version](https://badge.fury.io/js/grunt-processhtml.png)](http://badge.fury.io/js/grunt-processhtml) | ||
# grunt-processhtml [![Build Status](https://api.travis-ci.org/dciccale/grunt-processhtml.svg)](https://travis-ci.org/dciccale/grunt-processhtml) [![NPM version](https://badge.fury.io/js/grunt-processhtml.png)](http://badge.fury.io/js/grunt-processhtml) | ||
@@ -572,2 +572,3 @@ > Process html files at build time to modify them depending on the release environment | ||
## Release History | ||
- 0.3.8 Fix #74 | ||
- 0.3.7 Update [node-htmlprocessor](https://github.com/dciccale/node-htmlprocessor) dependency with added `inline` modifier | ||
@@ -574,0 +575,0 @@ - 0.3.6 Update node-htmlprocessor version and add specific test for templates |
@@ -34,5 +34,6 @@ /* | ||
async.eachSeries(this.files, function(f, n) { | ||
async.eachSeries(this.files, function (f, n) { | ||
var destFile = path.normalize(f.dest); | ||
var srcFiles = f.src.filter(function(filepath) { | ||
var srcFiles = f.src.filter(function (filepath) { | ||
// Warn on and remove invalid source files (if nonull was set). | ||
@@ -52,3 +53,3 @@ if (!grunt.file.exists(filepath)) { | ||
var result = []; | ||
async.concatSeries(srcFiles, function(file, next) { | ||
async.concatSeries(srcFiles, function (file, next) { | ||
@@ -62,5 +63,5 @@ var content = html.process(file); | ||
result.push(content); | ||
next(null); | ||
process.nextTick(next); | ||
}, function() { | ||
}, function () { | ||
grunt.file.write(destFile, result.join(grunt.util.normalizelf(grunt.util.linefeed))); | ||
@@ -70,6 +71,4 @@ grunt.verbose.writeln('File ' + destFile.cyan + ' created.'); | ||
}); | ||
}, function() { | ||
done(); | ||
}); | ||
}, done); | ||
}); | ||
}; |
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
23238
6
204
592