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

gzipper

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gzipper - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

14

Gzipper.js

@@ -66,3 +66,3 @@ const zlib = require('zlib')

*/
[compileFolderRecursively](target, pending = 0) {
[compileFolderRecursively](target, pending = 0, files = []) {
try {

@@ -80,2 +80,3 @@ const filesList = fs.readdirSync(target)

) {
files.push(file)
this[compressFile](

@@ -92,3 +93,8 @@ file,

if (!pending) {
this.logger.success(`All files have been compressed.`, true)
this.logger.success(
`${files.length} ${
files.length > 1 ? 'files have' : 'file has'
} been compressed.`,
true
)
}

@@ -99,3 +105,3 @@ }

--pending
this[compileFolderRecursively](filePath, pending)
this[compileFolderRecursively](filePath, pending, files)
}

@@ -163,3 +169,3 @@ })

this.logger.warn(`${compressionType} -> ${optionsStr.slice(0, -2)}`)
this.logger.warn(`${compressionType} -> ${optionsStr.slice(0, -2)}`, true)
}

@@ -166,0 +172,0 @@ }

{
"name": "gzipper",
"version": "2.0.4",
"version": "2.0.5",
"description": "CLI for gzipping files.",

@@ -5,0 +5,0 @@ "main": "index.js",

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