You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

encoding

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

16

index.js

@@ -34,5 +34,17 @@ var Iconv, iconvLite = require("iconv-lite");;

if(Iconv && !useLite){
result = convertIconv(str, to, from);
try{
result = convertIconv(str, to, from);
}catch(E){
try{
result = convertIconvLite(str, to, from);
}catch(E){
result = str;
}
}
}else{
result = convertIconvLite(str, to, from);
try{
result = convertIconvLite(str, to, from);
}catch(E){
result = str;
}
}

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

2

package.json
{
"name": "encoding",
"version": "0.1.2",
"version": "0.1.3",
"description": "Remove accents from international characters",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc