htmlprocessor
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -135,3 +135,3 @@ /* | ||
if (this._blockTypes[block.type] && (!block.targets || | ||
utils._.indexOf(block.targets, this.options.environment) >= 0)) { | ||
utils._.indexOf(block.targets, this.options.environment) >= 0) || (!this.options.strip && !this.options.environment)) { | ||
result = this._replace(block, result, filepath); | ||
@@ -138,0 +138,0 @@ } else if (this.options.strip) { |
{ | ||
"name": "htmlprocessor", | ||
"description": "Process html file using special comments", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"author": { | ||
@@ -28,3 +28,3 @@ "name": "Denis Ciccale", | ||
"bin": { | ||
"htmlprocessor": "./cli.js" | ||
"htmlprocessor": "./bin/htmlprocessor" | ||
}, | ||
@@ -31,0 +31,0 @@ "keywords": [ |
@@ -7,6 +7,4 @@ # htmlprocessor [![Build Status](https://travis-ci.org/dciccale/node-htmlprocessor.svg?branch=master)](https://travis-ci.org/dciccale/node-htmlprocessor) [![NPM version](https://badge.fury.io/js/htmlprocessor.png)](http://badge.fury.io/js/htmlprocessor) | ||
This module was originally merged into the [grunt-processhtml](http://github.com/dciccale/grunt-processhtml) task. | ||
This module is the processor behind [grunt-processhtml](http://github.com/dciccale/grunt-processhtml) | ||
Now its a standalone module without grunt dependency. | ||
For plenty of documentation please visit [grunt-processhtml](http://github.com/dciccale/grunt-processhtml) | ||
@@ -13,0 +11,0 @@ |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
15659
5
299
55