Skip to content

Releases: kylefarris/clamscan

v2.4.0

21 Oct 16:48
Compare
Choose a tag to compare

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

23 Jul 16:42
Compare
Choose a tag to compare

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

23 Jul 06:02
Compare
Choose a tag to compare

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

v2.2.3

22 Jul 18:19
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug where filenames with consecutive spaces were being replaced with a single space (#125)
  • Fixed bug where, in some instances, the socket would close before finishing when scanning using scanStream (#127).

v2.2.2

22 Jul 18:02
Compare
Choose a tag to compare

Bug Fixes

  • Added ability to connect with a port only (localhost is presumed) - Fixes #123

v2.2.1

18 Mar 20:30
Compare
Choose a tag to compare

Fixes

Other

  • Set some default value for testing on Macs

v2.2.0

18 Mar 17:24
Compare
Choose a tag to compare

Merges:

Other

  • Updated to latest versions of dependencies
  • Fixed CI tests

Thanks to all that reported issues and contributed fixes!

v2.1.2

18 Mar 15:59
Compare
Choose a tag to compare

Fixes Vulnerabilities

  • Updated development packages that were flagged as having vulnerabilities to versions that were clean.

v2.1.1

18 Mar 15:54
Compare
Choose a tag to compare

Bug Fixes

  • Fixed issue when this._clamavSocket is not defined #97
  • Solve the lock due to promise returned in a promise #96

v2.1.0

03 Mar 04:51
Compare
Choose a tag to compare

Enhancements

  • Add check: If server closes the connection before PONG #95
  • Added new test to check if enhancement above is working
  • Update package-lock to work with NPM v8