spamscanner 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -493,7 +493,7 @@ Returns an Array of SHA-256 hashed tokenized and stemmed words, with respect to
493
493
 
494
494
  Note that this is "smart" in the sense it will parse the "Content-Language" header of the message, the `content` attribute of the HTML message's `<meta http-equiv="Content-Language" content="en-us">`, or the `lang` attribute of `<html lang="en">`.
495
495
 
496
- After parsing the language of the message, it will then use the package [franc][] to attempt to determine the language of the message (as long as the message has at least 150 characters, which is configurable).
496
+ After parsing the language of the message, it will then use the package [franc][] to attempt to determine the language of the message (as long as the message has at least 5 characters, which is configurable).
497
497
 
498
498
  **Most importantly** the following types of tokens are replaced with cryptographically generated random hashes:
499
499
 
@@ -581,6 +581,7 @@ This means you can run your app with `NODE_DEBUG=spamscanner node app.js` to get
581
581
 
582
582
  ## References
583
583
 
584
+ * [CC-CEDICT](https://cc-cedict.org/) is licensed under Creative Commons Attribution-ShareAlike 4.0 International License.
584
585
  * <https://www.digitalocean.com/community/tutorials/how-to-setup-exim-spamassassin-clamd-and-dovecot-on-an-arch-linux-vps>
585
586
  * <https://medium.com/@wingsuitist/set-up-clamav-for-osx-1-the-open-source-virus-scanner-82a927b60fa3>
586
587
  * <http://redgreenrepeat.com/2019/08/09/setting-up-clamav-on-macos/>