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

mailchecker

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailchecker - npm Package Compare versions

Comparing version 5.0.9 to 6.0.1

4

package.json
{
"name": "mailchecker",
"version": "5.0.9",
"version": "6.0.1",
"description": "Cross-language temporary (disposable/throwaway) email detection library. Covers hundreds fake email providers.",

@@ -22,3 +22,3 @@ "main": "platform/node/index.js",

"test:node": "mocha --timeout 10000 -r should -R spec -u tdd",
"test:php": "docker run --platform linux/amd64 -i -v $(pwd):/app -w /app phpunit/phpunit test/platform.php.test.php",
"test:php": "docker run --platform linux/amd64 -i -v $(pwd):/code -e XDEBUG_MODE=coverage -w /code pipelinecomponents/phpunit phpunit test/platform.php.test.php",
"test:python": "docker run -i -v $(pwd):/app -w /app python:2.7-alpine3.7 python test/*.test.py",

@@ -25,0 +25,0 @@ "test:python3": "docker run -i -v $(pwd):/app -w /app python:3.6-alpine3.7 python test/*.test.py",

@@ -30,2 +30,5 @@ # MailChecker

> Need to provide Webhooks inside your SaaS?
- [Try Hook0, an open-source self-hostable webhook micro-service](https://www.hook0.com/)
> Need to embed a charts into an email?

@@ -48,4 +51,14 @@ >

# Upgrade from 1.x to 3.x
# Upgrade
## From 3.x to 4.x
- PHP
```php
# import using the fully qualified name.
use Fgribreau\MailChecker;
// ...
echo MailChecker::isValid('myemail@yopmail.com');
```
## From 1.x to 3.x
Mailchecker public API has been normalized, here are the changes:

@@ -122,4 +135,7 @@

```php
include __DIR__."/MailChecker/platform/php/MailChecker.php";
use Fgribreau\MailChecker;
require __DIR__ . '/vendor/autoload.php';
if(!MailChecker::isValid('myemail@yopmail.com')){

@@ -315,3 +331,3 @@ die('O RLY !');

<li><a href="https://github.com/trisix">trisix</a> — <a href="https://github.com/FGRibreau/mailchecker/commits?author=trisix" title="View the GitHub contributions of trisix on repository FGRibreau/mailchecker">view contributions</a></li>
<li><a href="http://greenkeeper.io/">Greenkeeper</a> — <a href="https://github.com/FGRibreau/mailchecker/commits?author=greenkeeperio-bot" title="View the GitHub contributions of Greenkeeper on repository FGRibreau/mailchecker">view contributions</a></li>
<li><a href="http://greenkeeper.io/">Greenkeeper</a></li>
<li><a href="http://wusty.io">Dustin Clark</a></li>

@@ -318,0 +334,0 @@ <li><a href="http://antonz.ru/">Anton Zhiyanov</a></li>

Sorry, the diff of this file is too big to display

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