New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-contrib-hogan

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-hogan - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

.jshintrc

44

package.json
{
"name": "grunt-contrib-hogan",
"description": "Hogan template compiler task for grunt.",
"version": "0.0.2",
"homepage": "https://github.com/vanetix/grunt-contrib-hogan",
"author": {
"name": "Matt McFarland",
"email": "matmcfarland@gmail.com"
},
"version": "0.1.0",
"author": "vanetix <matmcfarland@gmail.com>",
"main": "Gruntfile.js",
"bin": "bin/grunt-contrib-hogan",
"repository": {

@@ -14,16 +12,2 @@ "type": "git",

},
"bugs": {
"url": "https://github.com/vanetix/grunt-contrib-hogan/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/vanetix/grunt-contrib-hogan/blob/master/LICENSE-MIT"
}
],
"main": "grunt.js",
"bin": "bin/grunt-contrib-hogan",
"engines": {
"node": "*"
},
"scripts": {

@@ -33,13 +17,21 @@ "test": "grunt"

"devDependencies": {
"grunt": "0.3.x"
"grunt": "~0.4.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-nodeunit": "~0.1.2"
},
"dependencies": {
"grunt-contrib-clean": "0.3.x",
"grunt-lib-contrib": "0.4.x",
"hogan.js": "2.0.x"
"hogan.js": "~2.0.0",
"grunt-lib-contrib": "~0.5.2"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"keywords": [
"hogan",
"grunt-contrib-hogan"
]
"gruntplugin"
],
"engines": {
"node": "*"
}
}

@@ -19,11 +19,6 @@ /*

grunt.registerMultiTask('hogan', 'Compile hogan templates.', function() {
var src,
nsInfo,
options,
compiled,
srcFiles,
filename,
output = [];
var src, nsInfo, options, compiled,
srcFiles, filename, output = [];
options = helpers.options(this, {
options = this.options({
namespace: "Templates",

@@ -38,12 +33,8 @@ templateOptions: { asString: true },

// Shim for processing file args prior to grunt v0.4
this.files = this.files || helpers.normalizeMultiTaskFiles(this.data, this.target);
this.files.forEach(function(files) {
srcFiles = grunt.file.expandFiles(files.src);
srcFiles.forEach(function(file) {
files.src.forEach(function(file) {
src = grunt.file.read(file);
/**
* Log the error to the console if an error is throw
* Log the error to the console if an error is thrown
* while compiling template

@@ -50,0 +41,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