Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

akismet

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akismet - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

lib/index.d.ts

@@ -141,3 +141,3 @@ /**

/**
* Defines the callback for the `checkSpam` function.
* Defines the callback for the `checkComment` function.
*

@@ -147,3 +147,3 @@ * @param err - Returns the error message returned from the server.

*/
declare type CheckSpamCallback = (err: string | null, isSpam: boolean) => void;
declare type CheckCommentCallback = (err: string | null, isSpam: boolean) => void;
/**

@@ -192,3 +192,3 @@ * Defines the callback for the `submitSpam` and `submitHam` functions.

*/
checkComment(options: AkismetParameters, callback: CheckSpamCallback): void;
checkComment(options: AkismetParameters, callback: CheckCommentCallback): void;
/**

@@ -200,3 +200,3 @@ * Historic alias of `checkComment`.

*/
checkSpam(options: AkismetParameters, callback: CheckSpamCallback): void;
checkSpam(options: AkismetParameters, callback: CheckCommentCallback): void;
/**

@@ -203,0 +203,0 @@ * Marks a comment as spam and reports to the Akismet API.

{
"name": "akismet",
"version": "2.0.0",
"version": "2.0.1",
"keywords": [

@@ -5,0 +5,0 @@ "akismet",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc