grunt-emberify
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "grunt-emberify", | ||
"description": "Precompile handlebars templates and concatenate all Ember files.", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"homepage": "https://github.com/gyllstromk/grunt-emberify", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -12,4 +12,3 @@ /* | ||
var fs = require('fs'), | ||
util = require('util'), | ||
var util = require('util'), | ||
path = require('path'); | ||
@@ -28,6 +27,6 @@ | ||
templates[templateName] = | ||
Handlebars.precompile(fs.readFileSync(each).toString()).toString(); | ||
Handlebars.precompile(grunt.file.read(each)).toString(); | ||
}); | ||
fs.writeFile(this.target, grunt.utils._.keys(templates).map(function(templateName) { | ||
grunt.file.write(this.target, grunt.utils._.keys(templates).map(function(templateName) { | ||
// grunt underscore library is old. should use `pairs` | ||
@@ -34,0 +33,0 @@ |
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
5763
97