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

mailgun-js

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailgun-js - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

main.js

18

mailgun.js

@@ -65,6 +65,11 @@ /*!

var headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Length': qsdata.length
};
if (method === 'GET' || method === 'DELETE') {
path = path.concat('?', qsdata);
}
else {
var headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Length': qsdata.length
};
}

@@ -116,3 +121,6 @@ var opts = {

req.write(qsdata);
if (method === 'POST' || method === 'PUT' || method === 'PATCH') {
req.write(qsdata);
}
req.end();

@@ -119,0 +127,0 @@ }

@@ -8,3 +8,3 @@ {

"keywords": ["email", "mailgun"],
"version": "0.3.3",
"version": "0.3.4",
"homepage": "https://github.com/1lobby/mailgun-js",

@@ -11,0 +11,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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