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

clamscan

Package Overview
Dependencies
Maintainers
3
Versions
62
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 2.2.2 to 2.2.3

2

package.json
{
"name": "clamscan",
"version": "2.2.2",
"version": "2.2.3",
"author": "Kyle Farris <kyle.farris@infotechinc.com> (https://infotechinc.com)",

@@ -5,0 +5,0 @@ "description": "Use Node JS to scan files on your server with ClamAV's clamscan/clamdscan binary or via TCP to a remote server or local UNIX Domain socket. This is especially useful for scanning uploaded files provided by un-trusted sources.",

@@ -175,2 +175,4 @@ # NodeJS Clamscan Virus Scanning Utility

NOTE: If a valid `port` is provided but no `host` value is provided, the clamscan will assume `'localhost'` for `host`.
## A note about using this module via sockets or TCP

@@ -177,0 +179,0 @@

@@ -17,2 +17,3 @@ /**

const badScanFile = `${badScanDir}/bad_file_1.txt`;
const spacedVirusFile = `${badScanDir}/bad file 1.txt`;

@@ -47,4 +48,5 @@ // prettier-ignore

getStream: () => Readable.from(eicarBuffer),
writeFileSpaced: () => writeFileSync(spacedVirusFile, eicarBuffer.toString()),
};
module.exports = EicarGen;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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