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

buildmail

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buildmail - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

4

CHANGELOG.md
# Changelog
## 3.3.1
* Fixed an issue with handling `Date` and `References` header
## 3.3.0

@@ -4,0 +8,0 @@

3

lib/buildmail.js

@@ -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 @@

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