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

mimelib

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mimelib - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

11

mime-functions.js

@@ -197,8 +197,13 @@ var Iconv = require("iconv").Iconv;

str = str.replace(/\=(?![a-f0-9]{2})/ig,"=3D");
// convert quoted-printable to urlencoded
str = str.replace(/%/g,'%25').replace(/\=/g,"%");
if(charset == "UTF-8"){
str = decodeURIComponent(str);
try{
str = decodeURIComponent(str);
}catch(E){
str = decodeBytestreamUrlencoding(str);
str = fromCharset(charset, str);
}
}else{

@@ -205,0 +210,0 @@ if(charset=="ISO-8859-1" || charset=="LATIN1")

{
"name": "mimelib",
"description": "MIME functions to encode/decode e-mails etc.",
"version": "0.1.10",
"version": "0.1.11",
"author" : "Andris Reinman",

@@ -6,0 +6,0 @@ "homepage":"http://github.com/andris9/mimelib",

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