Comparing version 0.2.0 to 0.2.1
@@ -1,2 +0,2 @@ | ||
# v0.2.0 | ||
# v0.2.1 | ||
Released 10/1/2015 | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "zip-local", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "very simple zipping/uzipping of local files and directories in node.js", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -153,6 +153,6 @@ # zip-local | ||
var files = unzippedFS.contents(); | ||
var notExecutableRegExp = new RegExp(/^[^.]+$|\.(?!(sh|exe|bat)$)([^.]+$)/); | ||
var notExecRegExp = new RegExp(/^[^.]+$|\.(?!(sh|exe|bat)$)([^.]+$)/); | ||
files.forEach(function (file) { | ||
if(!notExecutableRegExp.test(file)) | ||
if(!notExecRegExp.test(file)) | ||
unzipped.lowLevel().remove(file); | ||
@@ -159,0 +159,0 @@ }); |
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
51555