Socket
Socket
Sign inDemoInstall

libmime

Package Overview
Dependencies
3
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.5

CHANGELOG.md

2

package.json
{
"name": "libmime",
"description": "Encode and decode quoted printable and base64 strings",
"version": "0.1.4",
"version": "0.1.5",
"main": "src/libmime",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/andris9/libmime",

@@ -289,3 +289,3 @@ 'use strict';

libmime.buildHeaderParam(param, value, 50).forEach(function(encodedParam) {
if (encodedParam.key === param && !/[\s'"\\;\/=]|^\-/.test(encodedParam.value)) {
if (!/[\s"\\;\/=]|^[\-']|'$/.test(encodedParam.value)) {
paramsArray.push(encodedParam.key + '=' + encodedParam.value);

@@ -292,0 +292,0 @@ } else {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc