grunt-processhtml
Advanced tools
Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "grunt-processhtml", | ||
"description": "Process html files at build time to modify them depending on the release environment", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"homepage": "https://github.com/dciccale/grunt-processhtml", | ||
@@ -34,3 +34,3 @@ "author": { | ||
"htmlprocessor": "^0.2.4", | ||
"lodash.clonedeep": "^4.3.2" | ||
"lodash": "^4.17.5" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
@@ -5,3 +5,2 @@ # grunt-processhtml | ||
[![Build Status](https://api.travis-ci.org/dciccale/grunt-processhtml.svg)](https://travis-ci.org/dciccale/grunt-processhtml) | ||
[![Mentions](https://mentions-badge.com/dciccale/grunt-processhtml.svg)](https://mentions-badge.com/dciccale/grunt-processhtml) | ||
[![NPM downloads](https://img.shields.io/npm/dm/grunt-processhtml.svg)](https://www.npmjs.com/package/grunt-processhtml) | ||
@@ -45,3 +44,3 @@ | ||
Types: `js`, `css`, `remove`, `template` or `include`. or any html attribute if written like this: `[href]`, `[src]`, etc. | ||
Types: `js`, `css`, `remove`, `template`, `include` or any html attribute if written like this: `[href]`, `[src]`, etc. | ||
@@ -58,3 +57,3 @@ ##### target | ||
If used styles or scripts will be included in the output html file. | ||
If used, the styles or scripts will be included in the output html file. | ||
@@ -64,3 +63,3 @@ ##### value | ||
Optional for types: `remove`, `template` and `js`, `css` types with `inline` modifier. | ||
Optional for types: `remove`, `template`, `js` and `css` types with `inline` modifier. | ||
@@ -204,3 +203,3 @@ Could be a file name: `script.min.js` or a path if an attribute like `[src]` is specified to keep the original file name intact but replace its path. | ||
<!-- this will change the class to 'production' only when de 'dist' build is executed --> | ||
<!-- this will change the class to 'production' only when the 'dist' build is executed --> | ||
<html class="production"> | ||
@@ -207,0 +206,0 @@ |
@@ -12,3 +12,3 @@ /* | ||
var cloneDeep = require('lodash.clonedeep'); | ||
var lodash = require('lodash'); | ||
var path = require('path'); | ||
@@ -60,3 +60,3 @@ var async = require('async'); | ||
if (options.process) { | ||
content = html.template(content, cloneDeep(html.data), options.templateSettings); | ||
content = html.template(content, lodash.cloneDeep(html.data), options.templateSettings); | ||
} | ||
@@ -63,0 +63,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
24165
5
605
+ Addedlodash@^4.17.5
+ Addedlodash@4.17.21(transitive)
- Removedlodash.clonedeep@^4.3.2
- Removedlodash.clonedeep@4.5.0(transitive)