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

@sendgrid/helpers

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sendgrid/helpers - npm Package Compare versions

Comparing version 6.0.0-beta.4 to 6.0.0-beta.5

12

classes/mail.js

@@ -18,5 +18,5 @@ 'use strict';

/**
* Constructor
*/
/**
* Constructor
*/
constructor(data) {

@@ -466,5 +466,5 @@

/**
* To JSON
*/
/**
* To JSON
*/
toJSON() {

@@ -471,0 +471,0 @@

@@ -17,5 +17,5 @@ 'use strict';

/**
* Constructor
*/
/**
* Constructor
*/
constructor(data) {

@@ -225,3 +225,3 @@

}
if (typeof substitutions !== 'object' || substitutions === null) {
if (typeof substitutions !== 'object') {
throw new Error('Object expected for `substitutions`');

@@ -249,6 +249,6 @@ }

reverseMergeSubstitutions(substitutions) {
if (typeof substitutions === 'undefined') {
if (typeof substitutions === 'undefined' || substitutions === null) {
return;
}
if (typeof substitutions !== 'object' || substitutions === null) {
if (typeof substitutions !== 'object') {
throw new Error('Object expected for `substitutions`');

@@ -275,4 +275,4 @@ }

/**
* To JSON
*/
* To JSON
*/
toJSON() {

@@ -279,0 +279,0 @@

{
"name": "@sendgrid/helpers",
"description": "SendGrid NodeJS internal helpers",
"version": "6.0.0-beta.4",
"version": "6.0.0-beta.5",
"author": "SendGrid <dx@sendgrid.com> (sendgrid.com)",

@@ -6,0 +6,0 @@ "contributors": [

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