@sendgrid/helpers
Advanced tools
Comparing version 6.0.0-beta.4 to 6.0.0-beta.5
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73250