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

email-misspelled

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-misspelled - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

12

lib/typings/index.d.ts
export declare type DomainList = string[];
export declare type Result = {
export interface Result {
/** Suggested domain */

@@ -11,6 +11,14 @@ suggest: string;

original: string;
};
}
export interface EmailMisspelled {
(email: string): Result[];
}
export interface EmailMisspelledConfig {
/** Maximum length difference between strings; Default: 2 */
lengthDiffMax?: number;
/** Number of misspelled error allowed; Default: 2 */
maxMisspelled?: number;
/** List of email domain to compare */
domains: string[];
}
export interface EmailMisspelledConstructor {

@@ -17,0 +25,0 @@ (config: {

2

package.json

@@ -86,3 +86,3 @@ {

},
"version": "3.2.1"
"version": "3.2.2"
}
export declare type DomainList = string[];
export declare type Result = {
export interface Result {
/** Suggested domain */

@@ -11,6 +11,14 @@ suggest: string;

original: string;
};
}
export interface EmailMisspelled {
(email: string): Result[];
}
export interface EmailMisspelledConfig {
/** Maximum length difference between strings; Default: 2 */
lengthDiffMax?: number;
/** Number of misspelled error allowed; Default: 2 */
maxMisspelled?: number;
/** List of email domain to compare */
domains: string[];
}
export interface EmailMisspelledConstructor {

@@ -17,0 +25,0 @@ (config: {

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