Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-contrib-compress

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-compress - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

9

Gruntfile.js

@@ -30,11 +30,2 @@ /*

test_vars: {
name: 'grunt-contrib-compress',
version: '0.1.0'
},
files: {
compress_test: 'folder_one'
},
// Configuration to be run (and then tested).

@@ -41,0 +32,0 @@ compress: {

2

package.json
{
"name": "grunt-contrib-compress",
"description": "Compress files and folders.",
"version": "0.4.2",
"version": "0.4.3",
"homepage": "https://github.com/gruntjs/grunt-contrib-compress",

@@ -6,0 +6,0 @@ "author": {

@@ -82,2 +82,3 @@ # grunt-contrib-compress [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-compress.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-compress)

* 2013-03-13   v0.4.3   Fix for gzip; continue iteration on returning early.
* 2013-03-12   v0.4.2   Refactor task like other contrib tasks. Fix gzip of multiple files. Remove unused dependencies.

@@ -98,2 +99,2 @@ * 2013-02-21   v0.4.1   Pretty print compressed sizes. Logging each addition to a compressed file now only happens in verbose mode.

*This file was generated on Wed Mar 13 2013 12:00:33.*
*This file was generated on Thu Mar 14 2013 12:11:12.*

@@ -27,3 +27,3 @@ /*

var src = file.src.filter(grunt.file.isFile).map(grunt.file.read).join('');
if (src.length < 1) { return; }
if (src.length < 1) { return next(); }

@@ -39,3 +39,3 @@ // Append ext if the specified one isnt there

var gz = zlib.createGzip();
var gz = zlib.createGzip(exports.options);
gz.pipe(fs.createWriteStream(file.dest));

@@ -42,0 +42,0 @@ gz.write(src);

Sorry, the diff of this file is not supported yet

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