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.14 to 2.0.0

2

lib/onezip.js

@@ -10,3 +10,3 @@ 'use strict';

const assert = require('assert');
const pipe = require('pipe-io/legacy');
const pipe = require('pipe-io');

@@ -13,0 +13,0 @@ const mkdirp = require('mkdirp');

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

@@ -10,21 +10,6 @@ "main": "lib/onezip.js",

},
"babel": {
"presets": [
"env"
]
},
"scripts": {
"6to5:lib": "babel lib -d legacy/lib",
"6to5:bin": "babel bin -d legacy/bin",
"wisdom": "npm run build",
"build": "redrun 6to5:* legacy:*",
"legacy:index": "echo \"module.exports = require('./lib/onezip');\" > legacy/index.js",
"legacy:package": "echo \"module.exports = require('../package');\" > legacy/package.js",
"legacy:help": "echo \"module.exports = require('../help');\" > legacy/help.js",
"lint:jscs": "jscs --esnext bin lib",
"lint:jshint": "jshint bin lib",
"lint:eslint": "eslint lib",
"lint:eslint:bin": "eslint bin --config .eslint-bin.rc",
"lint": "redrun lint:*",
"jscs-fix": "npm run jscs --fix",
"test": "tape 'test/**/*.js'",

@@ -42,3 +27,3 @@ "coverage": "nyc npm test",

"mkdirp": "^0.5.1",
"pipe-io": "^2.0.4",
"pipe-io": "^3.0.0",
"yargs-parser": "^10.0.0",

@@ -49,8 +34,4 @@ "yauzl": "^2.6.0",

"devDependencies": {
"babel-cli": "^6.11.4",
"babel-preset-env": "^1.6.0",
"coveralls": "^3.0.0",
"eslint": "^4.0.0",
"jscs": "^3.0.7",
"jshint": "^2.9.2",
"nodemon": "^1.11.0",

@@ -62,2 +43,5 @@ "nyc": "^11.0.2",

},
"engines": {
"node": ">=4.0.0"
},
"repository": {

@@ -64,0 +48,0 @@ "type": "git",

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

## Environments
In old `node.js` environments that not fully supports `es2015`, `onezip` could be used with:
```js
var onezip = require('onezip/legacy');
```
## Related

@@ -131,0 +124,0 @@

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