Comparing version 2.2.2 to 2.2.3
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
284904
4412
669