adm-zip-test
Advanced tools
Comparing version 0.4.12 to 0.4.13
{ | ||
"name": "adm-zip-test", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"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": [ |
var fs = require("fs"), | ||
pth = require('path'), | ||
cp = require('child_process'), | ||
package = require('../package.json'); | ||
@@ -109,3 +110,2 @@ | ||
} catch(e) { | ||
console.log('package', package); | ||
console.log(e, path); | ||
@@ -116,2 +116,9 @@ var items = fs.readdirSync(folder); | ||
} | ||
cp.exec('ls -l ' + folder, function(e, stdout, stderr) { | ||
if(!e) { | ||
console.log(stdout); | ||
console.log(stderr); | ||
// process the resulting string and check for permission | ||
} | ||
}); | ||
fs.chmodSync(path, 438); | ||
@@ -118,0 +125,0 @@ fd = fs.openSync(path, 'w', 438); |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
148931
3433
1