🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

wrench

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrench - npm Package Compare versions

Comparing version

to
1.5.6

2

lib/wrench.js

@@ -235,3 +235,3 @@ /* wrench.js

if(fs.statSync(newDirLocation).isDirectory()) {
if(typeof opts !== 'undefined' && opts.forceDelete) {
if(opts.forceDelete) {
exports.rmdirSyncRecursive(newDirLocation);

@@ -238,0 +238,0 @@ } else {

{
"name": "wrench",
"description": "Recursive filesystem (and other) operations that Node *should* have.",
"version": "1.5.5",
"version": "1.5.6",
"author": "Ryan McGrath <ryan@venodesigns.net>",

@@ -6,0 +6,0 @@

@@ -20,5 +20,5 @@ var testCase = require('nodeunit').testCase;

fs.chmodSync(f1Path, '777');
fs.chmodSync(f2Path, '777');
fs.chmodSync(f3Path, '777');
fs.chmodSync(f1Path, '444');
fs.chmodSync(f2Path, '444');
fs.chmodSync(f3Path, '444');

@@ -55,5 +55,5 @@ test.equals(fs.existsSync(dir), true, 'Dir should exist - mkdirSyncRecursive not working?');

fs.chmodSync(f1Path, '777');
fs.chmodSync(f2Path, '777');
fs.chmodSync(f3Path, '777');
fs.chmodSync(f1Path, '444');
fs.chmodSync(f2Path, '444');
fs.chmodSync(f3Path, '444');

@@ -60,0 +60,0 @@ test.equals(fs.existsSync(dir), true, 'Dir should exist - mkdirSyncRecursive not working?');