grunt-contrib-haml
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-contrib-haml", | ||
"description": "Compile Haml to HTML", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/jhchen/grunt-contrib-haml", | ||
@@ -34,3 +34,3 @@ "contributors": [{ | ||
"dependencies": { | ||
"grunt-lib-contrib": "~0.5.1" | ||
"dargs": "~0.1.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
@@ -11,2 +11,4 @@ /* | ||
var dargs = require('dargs'); | ||
module.exports = function(grunt) { | ||
@@ -16,3 +18,2 @@ var path = require('path'); | ||
grunt.registerMultiTask('haml', 'Compile Haml to HTML', function() { | ||
var helpers = require('grunt-lib-contrib').init(grunt); | ||
var options = this.options(); | ||
@@ -27,8 +28,4 @@ var cb = this.async(); | ||
grunt.util.async.forEachSeries(this.files, function(f, next) { | ||
var args; | ||
var args = ['haml', f.dest, '--stdin'].concat(dargs(options)); | ||
args = [f.dest, '--stdin'].concat(helpers.optsToArgs(options)); | ||
args.unshift('haml'); | ||
if (bundleExec) { | ||
@@ -35,0 +32,0 @@ args.unshift('bundle', 'exec'); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
0
7731
57
1
+ Addeddargs@~0.1.0
+ Addeddargs@0.1.0(transitive)
- Removedgrunt-lib-contrib@~0.5.1
- Removedgrunt-lib-contrib@0.5.3(transitive)
- Removedzlib-browserify@0.0.1(transitive)