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

adm-zip

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adm-zip - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

10

adm-zip.js

@@ -5,2 +5,4 @@ var fs = require("fs"),

fs.existsSync = fs.existsSync || pth.existsSync;
var ZipEntry = require("./zipEntry"),

@@ -191,3 +193,3 @@ ZipFile = require("./zipFile"),

addLocalFile : function(/*String*/localPath) {
if (pth.existsSync(localPath)) {
if (fs.existsSync(localPath)) {
// do stuff

@@ -208,3 +210,3 @@ } else {

if (pth.existsSync(localPath)) {
if (fs.existsSync(localPath)) {
var items = Utils.findFiles(localPath);

@@ -322,3 +324,3 @@ if (items.length) {

if (pth.existsSync(targetPath) && !overwrite) {
if (fs.existsSync(targetPath) && !overwrite) {
throw Utils.Errors.CANT_OVERRIDE;

@@ -365,3 +367,3 @@ }

targetFileName = "";
}
}
}

@@ -368,0 +370,0 @@

2

package.json
{
"name": "adm-zip",
"version": "0.1.7",
"version": "0.1.8",
"description": "A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,1 @@

[![build status](https://secure.travis-ci.org/cthackers/adm-zip.png)](http://travis-ci.org/cthackers/adm-zip)
# ADM-ZIP for NodeJS

@@ -63,2 +62,4 @@

For more detailed information please check out the [wiki](https://github.com/cthackers/adm-zip/wiki).
For more detailed information please check out the [wiki](https://github.com/cthackers/adm-zip/wiki).
[![build status](https://secure.travis-ci.org/cthackers/adm-zip.png)](http://travis-ci.org/cthackers/adm-zip)
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