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.2 to 2.0.3

28

lib/index.d.ts

@@ -154,20 +154,12 @@ /**

/**
* Defines the callback for the `_postRequest` function.
*
* @param err - Returns the error message returned from the server.
* @param status - Returns the HTTP status code.
* @param body - Returns the response body.
*/
declare type PostRequestCallback = (err: string | null, status: number, body: string) => void;
/**
* Represents the Akismet API client.
*/
export declare class AkismetClient {
_blog: string;
_apiKey: string;
_host: string;
_endPoint: string;
_port: number;
_userAgent: string;
_charSet: string;
private _blog;
private _apiKey;
private _host;
private _endPoint;
private _port;
private _userAgent;
private _charSet;
/**

@@ -198,3 +190,3 @@ * Initialize the Akismet client.

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

@@ -217,5 +209,3 @@ * Marks a comment as spam and reports to the Akismet API.

*/
_postRequest(hostname: string, path: string, query: {
[key: string]: any;
}, callback: PostRequestCallback): void;
private _postRequest;
}

@@ -222,0 +212,0 @@ /**

{
"name": "akismet",
"version": "2.0.2",
"version": "2.0.3",
"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