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

lambda-monitor-logger

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-monitor-logger - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

5

lib/logic/email.js

@@ -5,7 +5,8 @@ "use strict";

const emailFormat = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/;
module.exports = {
notify: obj => {
Joi.assert(obj, Joi.object().keys({
from: Joi.string().email(),
to: Joi.string().email(),
from: Joi.string().pattern(emailFormat),
to: Joi.string().pattern(emailFormat),
subject: Joi.string(),

@@ -12,0 +13,0 @@ body: Joi.string()

2

package.json
{
"name": "lambda-monitor-logger",
"version": "3.2.1",
"version": "3.2.2",
"description": "Logging designed to be used with lambda-monitor",

@@ -5,0 +5,0 @@ "main": "lib/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