@zootools/email-spell-checker
Advanced tools
Comparing version 1.10.0 to 1.11.0
import run from './lib/run'; | ||
import { POPULAR_DOMAINS } from './lib/config'; | ||
import { POPULAR_DOMAINS, POPULAR_TLDS } from './lib/config'; | ||
declare const MailSpellChecker: { | ||
run: typeof run; | ||
POPULAR_DOMAINS: string[]; | ||
POPULAR_TLDS: string[]; | ||
}; | ||
export { run, POPULAR_DOMAINS }; | ||
export { run, POPULAR_DOMAINS, POPULAR_TLDS }; | ||
export default MailSpellChecker; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.POPULAR_DOMAINS = exports.run = void 0; | ||
exports.POPULAR_TLDS = exports.POPULAR_DOMAINS = exports.run = void 0; | ||
const run_1 = __importDefault(require("./lib/run")); | ||
@@ -12,6 +12,8 @@ exports.run = run_1.default; | ||
Object.defineProperty(exports, "POPULAR_DOMAINS", { enumerable: true, get: function () { return config_1.POPULAR_DOMAINS; } }); | ||
Object.defineProperty(exports, "POPULAR_TLDS", { enumerable: true, get: function () { return config_1.POPULAR_TLDS; } }); | ||
const MailSpellChecker = { | ||
run: run_1.default, | ||
POPULAR_DOMAINS: config_1.POPULAR_DOMAINS, | ||
POPULAR_TLDS: config_1.POPULAR_TLDS, | ||
}; | ||
exports.default = MailSpellChecker; |
{ | ||
"private": false, | ||
"name": "@zootools/email-spell-checker", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "mailSpellChecker.js (mail spell checker) is a lightweight module that suggests a right domain when your users misspell it in an email address", | ||
@@ -16,3 +16,3 @@ "main": "./dist/index.js", | ||
"prepare": "husky install", | ||
"release": "npm run build && npm publish", | ||
"release": "npm run test && npm install && npm run build && npm publish", | ||
"semantic-release": "semantic-release", | ||
@@ -19,0 +19,0 @@ "test:watch": "jest --watch", |
34442
640