grunt-packer
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -126,7 +126,7 @@ var crypto = require('crypto'), | ||
var packedCss, packedFile; | ||
var packedContent, packedFile; | ||
if(result.files.length > 1) { | ||
if(helpers.checkFiles(grunt, root, f, result)) { | ||
packedCss = packer(result.files.map(function(fl){ | ||
packedContent = packer(result.files.map(function(fl){ | ||
return path.join(root, fl); | ||
@@ -138,3 +138,3 @@ }), root); | ||
// write packed file | ||
grunt.file.write(packedFile, packedCss); | ||
grunt.file.write(packedFile, packedContent); | ||
@@ -141,0 +141,0 @@ // update HTML |
{ | ||
"name": "grunt-packer", | ||
"description": "Grunt plugin to automagically concat JS and CSS files found in HTML", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"author": "Oleg Elifantiev <oleg@elifantiev.ru>", | ||
@@ -16,3 +16,3 @@ "contributors": [], | ||
"dependencies": { | ||
"xmldom": "0.1.16", | ||
"xmldom": "https://github.com/Olegas/xmldom/tarball/master", | ||
"grunt": "0.4.x" | ||
@@ -19,0 +19,0 @@ }, |
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
33383
1
- Removedxmldom@0.1.16(transitive)
Updatedxmldom@https://github.com/Olegas/xmldom/tarball/master