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.4.1 to 0.4.2

4

package.json
{
"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 @@

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