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

log-segment

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-segment - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

7

main.js

@@ -7,2 +7,3 @@ 'use strict'

const nodemailer = require('nodemailer')
const isHtml = require('is-html')

@@ -489,3 +490,7 @@ // ? Error.stackTraceLimit = Infinity;

const _options = tools.object.clone(email.options)
_options.text = message + '\n'
if (isHtml(message)) {
_options.html = message
} else {
_options.text = message + '\n'
}

@@ -492,0 +497,0 @@ email._transporter.sendMail(_options, (err, info) => {

3

package.json
{
"name": "log-segment",
"version": "1.7.0",
"version": "1.7.1",
"description": "logger with partition",

@@ -10,2 +10,3 @@ "main": "main.js",

"fs-extra": "^3.x",
"is-html": "^1.1.x",
"nodemailer": "^4.x"

@@ -12,0 +13,0 @@ },

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