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

zip-local

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zip-local - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

CHANGELOG.md

@@ -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 @@ });

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