Socket
Socket
Sign inDemoInstall

clamscan

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clamscan - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

9

HISTORY.md

@@ -37,1 +37,10 @@ # Changes

* `scan_files` now supports directories as well and will obey your `scan_recursively` option.
### 0.6.1 (2015-01-05)
* Updated description in package.json file.
### 0.6.2 (2014-01-05)
* Removed the unnecessary "index_old.js" file put there for reference during the 0.5.0 -> 0.6.0 semi-rewrite.
*

9

index.js

@@ -186,4 +186,6 @@ /*!

var num_files = files.length;
if (this.settings.debug_mode === true) {
console.log("node-clam: Scanning a list of passed files.");
console.log("node-clam: Scanning a list of " + num_files + " passed files.");
}

@@ -198,2 +200,5 @@

if (self.settings.debug_mode)
console.log("node-clam: " + completed_files + "/" + num_files + " have been scanned!");
if(!infected) {

@@ -207,3 +212,3 @@ good_files.push(file);

if(completed_files >= files.length) {
if(completed_files >= num_files) {
if(self.settings.debug_mode) {

@@ -210,0 +215,0 @@ console.log('node-clam: Scan Complete!');

{
"name": "clamscan",
"version": "0.6.1",
"version": "0.6.2",
"author": "Kyle Farris <kfarris@chomponllc.com> (http://chomponllc.com)",

@@ -5,0 +5,0 @@ "description": "Use Node JS to scan files on your server with ClamAV's clamscan binary or clamdscan daemon. This is especially useful for scanning uploaded files provided by un-trusted sources.",

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