Socket
Socket
Sign inDemoInstall

readzip

Package Overview
Dependencies
8
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

lib/readzip.js

@@ -21,2 +21,4 @@ 'use strict';

const RW = parseInt('666', 8);
module.exports = async function*(outerPath) {

@@ -72,3 +74,3 @@ const zipfile = await open(outerPath, {

this.date = dosDateTimeToDate(entry.lastModFileDate);
this.mode = entry.externalFileAttributes;
this.mode = RW;
}

@@ -75,0 +77,0 @@

{
"name": "readzip",
"version": "1.0.0",
"version": "1.0.1",
"main": "lib/readzip.js",

@@ -32,4 +32,2 @@ "description": "read zip archive in simplest possible way",

"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/eslint-parser": "^7.12.1",
"@cloudcmd/stub": "^3.1.0",

@@ -36,0 +34,0 @@ "@iocmd/wait": "^1.0.0",

# Readzip [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]
[NPMIMGURL]: https://img.shields.io/npm/v/readzip.svg?style=flat
[BuildStatusURL]: https://github.com/coderaiser/readzip/actions/runs/525234132
[BuildStatusURL]: https://github.com/coderaiser/readzip/actions
[BuildStatusIMGURL]: https://github.com/coderaiser/readzip/workflows/CI/badge.svg

@@ -43,3 +43,3 @@ [DependencyStatusIMGURL]: https://img.shields.io/david/coderaiser/readzip.svg?style=flat

```js
const readzip = require('readzip');
import readzip from 'readzip';
const archivePath = './hello.zip';

@@ -60,7 +60,7 @@

Similar to infomration returned by [readify](https://github.com/coderaiser/readify).
Similar to info returned by [readify](https://github.com/coderaiser/readify).
## Related
- [redzip](https://github.com/coderaiser/redzip "redzip") - Work with zip archives as it is regular files and directories
- [redzip](https://github.com/coderaiser/redzip "redzip") - work with zip archives as it is regular files and directories
- [readify](https://github.com/coderaiser/readify "readify") - read directory content with file attributes: size, date, owner, mode

@@ -67,0 +67,0 @@ - [readbox](https://github.com/coderaiser/readbox "readbox") - read file or directory from `dropbox`

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc