Skip to content

v2.3.0

Compare
Choose a tag to compare
@kylefarris kylefarris released this 23 Jul 06:02
· 10 commits to master since this release

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 of numGoodFiles. 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 the SCAN command; now it's using the CONTSCAN 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