Releases: kylefarris/clamscan
Releases · kylefarris/clamscan
v2.4.0
New Features
- Create new public-facing
ping()
method. The method previously existed as only a private method named_ping()
. The underscored private method still exists for backwards-compatibility (in case someone was using it despite it not being directly documented). There is no intention of ever deprecating the private version of this method but it is recommended to move to the officially public one anyways just for good measure. (thanks to @hduprat-qare for this PR #133)
General
- Updated 3rd-party dependencies where possible (some others will take some time to get updated)
- Updated API documentation
- General code cleanup and linting
- Fixed a couple minor bugs found during linting
v2.3.1
Bug Fixes
- ACTUALLY fixed OS-agnostic recursive file discovery (previous commit had the relevant lines removed during clean up). File discovery now happens entirely using Node APIs.
v2.3.0
Bug Fixes
scanDir
(and others) was unnecessarily stripping multiple spaces in a file name. Fixes #126- On Windows, when scanning files, files were not able to be found due to using a unix command
find
. This was fixed by using a pure JS method of finding files in a directory recursively (and not). Fixes #126 - Scanning files recursively was somewhat broken and this has now been fixed.
Enhancements
scanDir
now provides additional feedback in the form ofnumGoodFiles
. This is a compromise created in lieu of the potentially dangerous alternative of providing all clean files scanned (which could be millions in some cases). This value is available in callback and promise-style APIs.- When scanning a directory of TCP or local socket, scanning no longer stops when a virus is found when not using
multiscan
... Before, single-threaded scanning was using theSCAN
command; now it's using theCONTSCAN
command so that all files are scanned.
Other
- Updated to latest 3rd-party dependencies where possible
- Updated API docs
- New tests written and some updated
Full Changelog: v2.2.3...v2.3.0
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.2
Fixes Vulnerabilities
- Updated development packages that were flagged as having vulnerabilities to versions that were clean.