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

reduce-image

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reduce-image - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

lib/ImageReducer.js

@@ -164,3 +164,3 @@ 'use strict';

mkdirp(
path.join( reducer.options.destPath, fileInfo.relativePath ),
path.join( reducer.options.destPath, fileInfo.relativePath, fileInfo.basename ),
function( err )

@@ -287,3 +287,3 @@ {

var finalFile = fileInfo.targetFile + '.gz',
gzip = zlib.createGzip(),
gzip = zlib.createGzip( { windowBits: 15, level: 9, memLevel: 9 } ),
inp = fs.createReadStream( fileInfo.fullPath ),

@@ -290,0 +290,0 @@ out = fs.createWriteStream( finalFile ),

{
"name" : "reduce-image",
"version" : "0.0.1",
"version" : "0.0.2",
"description" : "Lossy recompression and resizing tool for images when file size is more important than quality",

@@ -5,0 +5,0 @@ "author" : "Aleksi Asikainen <aleksi.asikainen@gmail.com>",

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