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

grunt-packer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-packer - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

6

lib/helpers.js

@@ -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 @@ },

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