Comparing version 2.0.1 to 2.0.2
# Changelog | ||
## v2.0.2 2016-02-11 | ||
* Fixed an issue with base64 mime words encoding | ||
## v2.0.1 2016-02-11 | ||
@@ -4,0 +8,0 @@ |
@@ -129,3 +129,3 @@ 'use strict'; | ||
if (maxLength && encodedStr.length > maxLength) { | ||
if (maxLength && (mimeWordEncoding !== 'B' ? encodedStr : libbase64.encode(data)).length > maxLength) { | ||
if (mimeWordEncoding === 'Q') { | ||
@@ -132,0 +132,0 @@ encodedStr = splitMimeEncodedString(encodedStr, maxLength).join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); |
{ | ||
"name": "libmime", | ||
"description": "Encode and decode quoted printable and base64 strings", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "lib/libmime", | ||
@@ -27,8 +27,8 @@ "homepage": "https://github.com/andris9/libmime", | ||
"devDependencies": { | ||
"chai": "^3.4.1", | ||
"chai": "^3.5.0", | ||
"grunt": "^0.4.5", | ||
"grunt-eslint": "^17.3.1", | ||
"grunt-mocha-test": "^0.12.7", | ||
"mocha": "^2.3.4" | ||
"mocha": "^2.4.5" | ||
} | ||
} |
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
134565