Comparing version 0.1.7 to 0.1.8
@@ -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 @@ |
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145756
2653
64