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

yauzl

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yauzl - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

13

index.js

@@ -7,3 +7,2 @@ var fs = require("fs");

var PassThrough = require("stream").PassThrough;
var Iconv = require("iconv").Iconv;

@@ -333,3 +332,4 @@ exports.open = open;

}
var cp437_to_utf8 = new Iconv("cp437", "utf8");
var cp437 = '\u0000☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ';
function bufferToString(buffer, start, end, isUtf8) {

@@ -339,8 +339,7 @@ if (isUtf8) {

} else {
var slice = buffer.slice(start, end);
if (slice.length === 0) {
return "";
} else {
return cp437_to_utf8.convert(slice).toString("utf8");
var result = "";
for (var i = start; i < end; i++) {
result += cp437[buffer[i]];
}
return result;
}

@@ -347,0 +346,0 @@ }

{
"name": "yauzl",
"version": "2.0.3",
"version": "2.1.0",
"description": "yet another unzip library for node",

@@ -28,5 +28,4 @@ "main": "index.js",

"fd-slicer": "~0.2.1",
"iconv": "~2.1.4",
"pend": "~1.1.3"
}
}
# yauzl
yet another unzip library for node.
yet another unzip library for node. For zipping, see
[yazl](https://github.com/thejoshwolfe/yazl).

@@ -5,0 +6,0 @@ Design principles:

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