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 6.0.2 to 6.1.0

2

lib/inhale.js
'use strict';
const {promisify} = require('util');
const {promisify} = require('node:util');

@@ -5,0 +5,0 @@ const add = (emitter, event, result) => {

'use strict';
const process = require('node:process');
const isString = (a) => typeof a === 'string';
const {
createReadStream,
createWriteStream,
} = require('fs');
} = require('node:fs');

@@ -14,8 +14,8 @@ const {

unlink,
} = require('fs/promises');
} = require('node:fs/promises');
const path = require('path');
const {EventEmitter} = require('events');
const {inherits, promisify} = require('util');
const assert = require('assert');
const path = require('node:path');
const {EventEmitter} = require('node:events');
const {inherits, promisify} = require('node:util');
const assert = require('node:assert');

@@ -28,3 +28,3 @@ const pipe = require('pipe-io');

const superfind = require('./superfind');
const isString = (a) => typeof a === 'string';
const {dirname} = path;

@@ -189,4 +189,4 @@

.on('error', (error) => {
this.emit('error', error);
})
this.emit('error', error);
})
.on('end', end);

@@ -193,0 +193,0 @@ };

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

@@ -30,3 +30,3 @@ "type": "commonjs",

"yargs-parser": "^21.1.1",
"yauzl": "^2.6.0",
"yauzl": "^3.1.3",
"yazl": "^2.4.1"

@@ -37,4 +37,5 @@ },

"@iocmd/wait": "^2.1.0",
"@putout/eslint-flat": "^2.0.0",
"c8": "^9.1.0",
"eslint": "^9.0.0-alpha.2",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-putout": "^22.3.1",

@@ -44,3 +45,2 @@ "madrun": "^10.0.1",

"nodemon": "^3.0.3",
"nyc": "^15.0.0",
"putout": "^35.0.1",

@@ -47,0 +47,0 @@ "rimraf": "^5.0.5",

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

`onezip` could be used localy. It will emit event on every packed/extracted file.
`onezip` could be used locally. It will emit event on every packed/extracted file.
Good for making progress bars.

@@ -55,3 +55,3 @@

const onezip = require('onezip');
const path = require('path');
const path = require('node:path');
const cwd = process.cwd();

@@ -92,3 +92,3 @@ const name = 'pipe.tar.gz';

const onezip = require('onezip');
const path = require('path');
const path = require('node:path');
const cwd = process.cwd();

@@ -95,0 +95,0 @@ const name = 'pipe.zip';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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