Socket
Socket
Sign inDemoInstall

libmime

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libmime - npm Package Compare versions

Comparing version 5.2.0 to 5.2.1

4

CHANGELOG.md
# Changelog
## v5.2.1 2023-01-27
- Fix base64 encoding for emoji bytes in encoded words
## v5.2.0 2022-12-08

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

@@ -151,2 +151,8 @@ /* eslint no-control-regex: 0, no-div-regex: 0, quotes: 0 */

// without breaking byte length limit
if (/[\ud83c\ud83d\ud83e]/.test(chr) && i < len - 1) {
// composite emoji byte, so add the next byte as well
chr += encodedStr.charAt(++i);
}
if (Buffer.byteLength(lpart + chr) <= maxLength || i === 0) {

@@ -153,0 +159,0 @@ lpart += chr;

6

package.json
{
"name": "libmime",
"description": "Encode and decode quoted printable and base64 strings",
"version": "5.2.0",
"version": "5.2.1",
"main": "lib/libmime",

@@ -30,3 +30,3 @@ "homepage": "https://github.com/andris9/libmime",

"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-prettier": "8.6.0",
"grunt": "1.5.3",

@@ -36,4 +36,4 @@ "grunt-cli": "1.4.3",

"grunt-mocha-test": "0.13.3",
"mocha": "10.1.0"
"mocha": "10.2.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