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

smtpapi

Package Overview
Dependencies
Maintainers
7
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtpapi - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

5

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
## [1.3.1] - 2017-4-10
### Fixed
- #16 fix issue where concat was used incorrectly
- Thanks to [Limian Wang](https://github.com/limianwang) for the PR!
## [1.3.0] - 2017-4-6

@@ -5,0 +10,0 @@ ### Added

2

lib/main.js

@@ -63,3 +63,3 @@ (function() {

if (cat instanceof Array) {
this.header.category.concat(cat);
this.header.category = this.header.category.concat(cat);
} else {

@@ -66,0 +66,0 @@ this.header.category.push(cat);

{
"name": "smtpapi",
"version": "1.3.0",
"version": "1.3.1",
"description": "Build SendGrid X-SMTPAPI headers in nodejs.",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -36,3 +36,3 @@ [![BuildStatus](https://travis-ci.org/sendgrid/smtpapi-nodejs.png?branch=master)](https://travis-ci.org/sendgrid/smtpapi-nodejs)

...
"smtpapi": "1.3.0"
"smtpapi": "1.3.1"
}

@@ -39,0 +39,0 @@ }

@@ -62,2 +62,7 @@ var assert = require('assert');

it('addCategory', function() {
header.addCategory(['addCategory']);
header.jsonString().should.equal(t.add_category_array);
});
it('addCategoryUnicode', function() {

@@ -64,0 +69,0 @@ header.addCategory('カテゴリUnicode');

@@ -11,2 +11,3 @@ {

"add_category": "{\"category\":[\"addCategory\",\"addCategory2\"]}",
"add_category_array": "{\"category\":[\"addCategory\"]}",
"add_category_unicode": "{\"category\":[\"\\u30ab\\u30c6\\u30b4\\u30eaUnicode\",\"\\u30ab\\u30c6\\u30b4\\u30ea2Unicode\"]}",

@@ -13,0 +14,0 @@ "set_categories": "{\"category\":[\"setCategories\"]}",

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