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

onezip

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onezip - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

ChangeLog

4

legacy/lib/onezip.js

@@ -129,2 +129,3 @@ 'use strict';

this.emit('start');
var from = this._from;

@@ -227,7 +228,6 @@ var to = this._to;

this.emit('start');
yauzl.open(from, { lazyEntries: true, autoClose: false }, function (error, zipfile) {
var wasError = void 0;
var handleError = function handleError(error) {
if (error) {
wasError = true;
_this9.emit('error', error);

@@ -234,0 +234,0 @@ }

@@ -127,2 +127,3 @@ 'use strict';

this.emit('start');
const from = this._from;

@@ -149,3 +150,3 @@ const to = this._to;

const stream = this._createReadStream(filename, () => {
end(name)
end(name);
});

@@ -208,3 +209,3 @@

});
}
};

@@ -230,7 +231,6 @@ OneZip.prototype._parse = function(fn) {

this.emit('start');
yauzl.open(from, {lazyEntries: true, autoClose: false}, (error, zipfile) => {
let wasError;
const handleError = (error) => {
if (error) {
wasError = true;
this.emit('error', error);

@@ -237,0 +237,0 @@ }

{
"name": "onezip",
"version": "1.0.0",
"version": "1.0.1",
"description": "pack and extract .zip archives with emitter",

@@ -42,3 +42,3 @@ "main": "lib/onezip.js",

"pipe-io": "^1.2.0",
"yargs-parser": "^3.2.0",
"yargs-parser": "^4.0.2",
"yauzl": "^2.6.0",

@@ -45,0 +45,0 @@ "yazl": "^2.4.1"

@@ -131,3 +131,3 @@ # OneZip [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

- [Jaguar](https://github.com/coderaser/jaguar "Jaguar") - Pack and extract .tar.gz archives with emitter.
- [Jaguar](https://github.com/coderaser/node-jaguar "Jaguar") - Pack and extract .tar.gz archives with emitter.

@@ -147,3 +147,3 @@ ## License

[CoverageURL]: https://coveralls.io/github/coderaiser/node-jaguar?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/node-jaguar/badge.svg?branch=master&service=github
[CoverageURL]: https://coveralls.io/github/coderaiser/node-onezip?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/node-onezip/badge.svg?branch=master&service=github
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