mailchecker
Advanced tools
Comparing version 3.0.0 to 3.0.1
# Change Log | ||
## [v3.0.0](https://github.com/fgribreau/mailchecker/tree/v3.0.0) (2016-03-21) | ||
[Full Changelog](https://github.com/fgribreau/mailchecker/compare/v2.0.1...v3.0.0) | ||
**Merged pull requests:** | ||
- fix\(node\): regression in input check since 1.6.2 [\#58](https://github.com/FGRibreau/mailchecker/pull/58) ([gierschv](https://github.com/gierschv)) | ||
- Use camelCase for JS identifiers [\#57](https://github.com/FGRibreau/mailchecker/pull/57) ([owst](https://github.com/owst)) | ||
## [v2.0.1](https://github.com/fgribreau/mailchecker/tree/v2.0.1) (2016-03-19) | ||
@@ -4,0 +12,0 @@ [Full Changelog](https://github.com/fgribreau/mailchecker/compare/v2.0.0...v2.0.1) |
{ | ||
"name": "fgribreau/mailchecker", | ||
"description": "Temporary (disposable/throwaway) email detection library. Covers 1987 fake email providers.", | ||
"keywords": ["fake", "email", "detection"], | ||
"license": "MIT", | ||
"require-dev": { | ||
"phpunit/phpunit": "5.0.*" | ||
}, | ||
"autoload": { | ||
"classmap": ["platform/php/MailChecker.php"] | ||
} | ||
} |
{ | ||
"name": "mailchecker", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Cross-language temporary (disposable/throwaway) email detection library. Covers hundreds fake email providers.", | ||
@@ -12,3 +12,4 @@ "main": "platform/node/", | ||
"changelog": "./scripts/changelog && git commit -a -m 'docs(changelog)' && git push", | ||
"publish-gem": "gem build *.gemspec && gem push ruby-mailchecker-${npm_package_version}.gem" | ||
"release-patch": "npm-release patch && npm run changelog && npm run publish-gem", | ||
"publish-gem": "sed -E -i '' \"s/spec.version[[:space:]]*=(.*)/spec.version='${npm_package_version}'/g\" *.gemspec && (git add *.gemspec && git commit -m \"feat(gemspec): updated to ${npm_package_version}\" || true) && gem build *.gemspec && gem push ruby-mailchecker-${npm_package_version}.gem" | ||
}, | ||
@@ -15,0 +16,0 @@ "repository": { |
# MailChecker | ||
[![Build Status](https://img.shields.io/circleci/project/FGRibreau/mailchecker.svg)](https://circleci.com/gh/FGRibreau/mailchecker/) [![Deps]( https://img.shields.io/david/FGRibreau/mailchecker.svg)](https://david-dm.org/FGRibreau/mailchecker) [![NPM version](https://img.shields.io/npm/v/mailchecker.svg)](http://badge.fury.io/js/mailchecker) [![Gem version](https://img.shields.io/gem/v/ruby-mailchecker.svg)](http://badge.fury.io/js/mailchecker) [![Downloads](http://img.shields.io/npm/dm/mailchecker.svg)](https://www.npmjs.com/package/mailchecker) ![extra](https://img.shields.io/badge/actively%20maintained-yes-ff69b4.svg) | ||
[![Build Status](https://img.shields.io/circleci/project/FGRibreau/mailchecker.svg)](https://circleci.com/gh/FGRibreau/mailchecker/) [![Deps]( https://img.shields.io/david/FGRibreau/mailchecker.svg)](https://david-dm.org/FGRibreau/mailchecker) [![NPM version](https://img.shields.io/npm/v/mailchecker.svg)](http://badge.fury.io/js/mailchecker) [![Gem version](https://img.shields.io/gem/v/ruby-mailchecker.svg)](http://badge.fury.io/js/mailchecker) [![Packagist version](https://img.shields.io/packagist/v/FGRibreau/mailchecker.svg)](https://packagist.org/packages/fgribreau/mailchecker) [![Downloads](http://img.shields.io/npm/dm/mailchecker.svg)](https://www.npmjs.com/package/mailchecker) ![extra](https://img.shields.io/badge/actively%20maintained-yes-ff69b4.svg) | ||
@@ -13,9 +13,34 @@ Cross-language email validation. Backed by a [database](./list.json) of **1987 throwable email providers**. | ||
> Looking for a free **Redis administration & monitoring** service? | ||
> | ||
> [**Create your free account on Redsmin**](https://www.redsmin.com?gh) | ||
> Need a **free Redis GUI**? | ||
> | ||
> Redsmin offers real-time, atomic, performant administration and monitoring services for Redis | ||
<p align="center"><a href="https://redsmin.com?gh"><img src="https://www.redsmin.com/im/logo/rect-large-color-transparent@256.png"/></a></p> | ||
<p align="center"><a href="https://redsmin.com?gh">Start administrating your Redis servers now<br/><img src="https://www.redsmin.com/im/mac-video.png"/></a></p> | ||
------------------------ | ||
# Upgrade from 1.x to 3.x | ||
Mailchecker public API has been normalized, here are the changes: | ||
- NodeJS/JavaScript: `MailChecker(email)` -> `MailChecker.isValid(email)` | ||
- PHP: `MailChecker($email)` -> `MailChecker::isValid($email)` | ||
- Python | ||
```python | ||
import MailChecker | ||
m = MailChecker.MailChecker() | ||
if not m.is_valid('bla@example.com'): | ||
# ... | ||
``` | ||
became: | ||
```python | ||
import MailChecker | ||
if not MailChecker.is_valid('bla@example.com'): | ||
# ... | ||
``` | ||
------------------------- | ||
@@ -146,2 +171,7 @@ | ||
PHP | ||
```bash | ||
composer require fgribreau/mailchecker | ||
``` | ||
__We accept pull-requests for other package manager__. | ||
@@ -178,3 +208,3 @@ | ||
I maintain this project in my free time, if it helped you please support my work [via paypal](paypal.me/fgribreau), thanks a lot! | ||
I maintain this project in my free time, if it helped you please support my work [via paypal](https://paypal.me/fgribreau), thanks a lot! | ||
@@ -181,0 +211,0 @@ ## [Changelog](/CHANGELOG.md) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
377182
1263
214