Socket
Socket
Sign inDemoInstall

mailgun

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailgun - npm Package Compare versions

Comparing version 0.4.3 to 0.5.0

9

mailgun.js

@@ -65,3 +65,3 @@ //

return {
host: 'mailgun.net',
host: 'api.mailgun.net',
port: 443,

@@ -94,15 +94,10 @@ method: method,

// Flexible argument magic!
// Flexible argument magic
var args = Array.prototype.slice.call(arguments, 4);
// Pluck servername.
if (args.length && typeof args[0] == 'string')
servername = args.shift() || servername;
// Pluck options.
if (args.length && typeof args[0] == 'object')
options = args.shift() || options;
// Pluck callback.
if (args.length && typeof args[0] == 'function')
callback = args.shift() || callback;
// Don't be messy.
delete args;

@@ -109,0 +104,0 @@ // We allow recipients to be passed as either a string or an array,

{
"name": "mailgun",
"version": "0.4.3",
"version": "0.5.0",
"description": "Mailgun for Node.js",

@@ -5,0 +5,0 @@ "author": "shz",

@@ -0,0 +0,0 @@ # node-mailgun

Sorry, the diff of this file is not supported yet

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