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

grunt-contrib-haml

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-haml - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

4

package.json
{
"name": "grunt-contrib-haml",
"description": "Compile Haml to HTML",
"version": "0.1.2",
"version": "0.2.0",
"homepage": "https://github.com/jhchen/grunt-contrib-haml",

@@ -28,3 +28,3 @@ "contributors": [{

"engines": {
"node": ">= 0.8.0"
"node": ">= 0.10.0"
},

@@ -31,0 +31,0 @@ "scripts": {

@@ -31,2 +31,4 @@ # grunt-contrib-haml [![Build Status](https://secure.travis-ci.org/jhchen/grunt-contrib-haml.png?branch=master)](http://travis-ci.org/jhchen/grunt-contrib-haml)

Any HAML options are also valid. Ex. { format: 'html5' } will run haml with --format html5.
#### loadPath

@@ -42,2 +44,7 @@ Type: `String|Array`

#### encoding
Type: `String`
Specifiy default character encoding. Same as running haml with the -E option.
### Examples

@@ -58,2 +65,3 @@

options: { // Target options
bundleExec: true,
style: 'expanded'

@@ -60,0 +68,0 @@ },

@@ -25,2 +25,5 @@ /*

var encoding = options.encoding;
delete options.encoding;
grunt.util.async.forEachSeries(this.files, function(f, next) {

@@ -33,2 +36,6 @@ var args = ['haml', f.dest, '--stdin'].concat(dargs(options));

if (encoding) {
args.push('-E', encoding);
}
var max = f.src.filter(function(filepath) {

@@ -35,0 +42,0 @@ // Warn on and remove invalid source files (if nonull was set).

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