Comparing version 3.3.0 to 3.3.1
# Changelog | ||
## 3.3.1 | ||
* Fixed an issue with handling `Date` and `References` header | ||
## 3.3.0 | ||
@@ -4,0 +8,0 @@ |
@@ -460,4 +460,5 @@ 'use strict'; | ||
var options = {}; | ||
var formattedHeaders = ['From', 'Sender', 'To', 'Cc', 'Bcc', 'Reply-To', 'Date', 'References']; | ||
if (value && ['From', 'Sender', 'To', 'Cc', 'Bcc', 'Reply-To'].indexOf(key) < 0 && typeof value === 'object') { | ||
if (value && formattedHeaders.indexOf(key) < 0 && typeof value === 'object') { | ||
Object.keys(value).forEach(function (key) { | ||
@@ -464,0 +465,0 @@ if (key !== 'value') { |
{ | ||
"name": "buildmail", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "buildmail is a low level rfc2822 message composer. Define your own mime tree, no magic included.", | ||
@@ -5,0 +5,0 @@ "author": "Andris Reinman <andris@kreata.ee>", |
@@ -250,5 +250,2 @@ # buildmail | ||
## getHeader | ||
@@ -255,0 +252,0 @@ |
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
91652
1919
603