New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gmailnator

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gmailnator - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

17

index.js

@@ -170,8 +170,15 @@ const got = require("got");

}).then(function(response) {
if (response.body.split("<hr />")[1] !== undefined) {
var body = response.body.split("<hr />")[1];
cb(null, body);
var json = JSON.parse(response.body);
if (json !== null) {
if (json.content) {cb(null, json.content);} else {
cb({
"code": "couldNotParse",
"message": "We could not parse your email."
}, null);
}
} else {
var body = "";
cb(null, body);
cb({
"code": "couldNotParse",
"message": "We could not parse your email."
}, null);
}

@@ -178,0 +185,0 @@ }).catch(function(e) {

{
"name": "gmailnator",
"version": "1.1.6",
"version": "1.1.7",
"description": "access gmailnator.com programically",

@@ -5,0 +5,0 @@ "main": "index.js",

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