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

grunt-processhtml

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-processhtml - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

Gruntfile.js

2

package.json
{
"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);
});
};
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