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.3 to 0.3.4

4

package.json
{
"name": "grunt-processhtml",
"description": "Process html files at build time to modify them depending on the release environment",
"version": "0.3.3",
"version": "0.3.4",
"homepage": "https://github.com/dciccale/grunt-processhtml",

@@ -32,3 +32,3 @@ "author": {

"dependencies": {
"htmlprocessor": "~0.1.0"
"htmlprocessor": "0.1.6"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -5,2 +5,6 @@ # 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)

### Looking for the stand-alone version?
Use [node-htmlprocessor](https://github.com/dciccale/node-htmlprocessor)
## Getting Started

@@ -212,3 +216,3 @@ This plugin requires Grunt `~0.4.1`

If you do wan't to process the whole file as a template, it will be compiled after compiling the inside template blocks
If you do want to process the whole file as a template, it will be compiled after compiling the inside template blocks
if any.

@@ -233,3 +237,3 @@

Define the `templateSettings` option with lodash (templateSettings)[http://lodash.com/docs#templateSettings] options to customize the
Define the `templateSettings` option with lodash [templateSettings](http://lodash.com/docs#templateSettings) options to customize the
template syntax.

@@ -434,4 +438,3 @@

templateSettings: {
opener: '{{',
closer: '}}'
interpolate: /{{([\s\S]+?)}}/g // mustache
},

@@ -486,2 +489,3 @@ data: {

The `custom.html` to be processed:
```html

@@ -496,3 +500,3 @@ <!doctype html>

<!-- build:template
{{= message }}
{{ message }}
/build -->

@@ -499,0 +503,0 @@ </body>

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