spamscanner 5.0.0 → 5.1.2

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
@@ -54,7 +54,7 @@
54
54
 
55
55
  ## Foreword
56
56
 
57
- Spam Scanner is a tool and service built by [@niftylettuce][niftylettuce] after hitting countless roadblocks with existing spam-detection solutions. In other words, it's our current [plan][plan-for-spam] for [spam][better-plan-for-spam].
57
+ Spam Scanner is a tool and service created after hitting countless roadblocks with existing spam-detection solutions. In other words, it's our current [plan][plan-for-spam] for [spam][better-plan-for-spam].
58
58
 
59
59
  Our goal is to build and utilize a scalable, performant, simple, easy to maintain, and powerful API for use in our service at [Forward Email][forward-email] to limit spam and provide other measures to prevent attacks on our users.
60
60
 
@@ -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/>
@@ -605,8 +606,6 @@ This means you can run your app with `NODE_DEBUG=spamscanner node app.js` to get
605
606
 
606
607
  [homograph-attack]: https://en.wikipedia.org/wiki/IDN_homograph_attack
607
608
 
608
- [niftylettuce]: https://github.com/niftylettuce
609
-
610
609
  [forward-email]: https://forwardemail.net
611
610
 
612
611
  [rspamd]: https://rspamd.com/