Comparing version 1.5.0 to 1.5.1
@@ -296,3 +296,3 @@ /* wrench.js | ||
if(typof failSilent === 'function') | ||
if(typeof failSilent === 'function') | ||
clbk = failSilent; | ||
@@ -299,0 +299,0 @@ |
{ | ||
"name": "wrench", | ||
"description": "Recursive filesystem (and other) operations that Node *should* have.", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"author": "Ryan McGrath <ryan@venodesigns.net>", | ||
@@ -6,0 +6,0 @@ |
@@ -11,2 +11,25 @@ wrench.js - Recursive file operations in Node.js | ||
Possibly Breaking Change in v1.5.0 | ||
----------------------------------------------------------------------------- | ||
In previous versions of Wrench, we went against the OS-default behavior of not | ||
deleting a directory unless the operation is forced. In 1.5.0, this has been | ||
changed to be the behavior people expect there to be - if you try to copy over | ||
a directory that already exists, you'll get an Error returned or thrown stating | ||
that you need to force it. | ||
Something like this will do the trick: | ||
``` javascript | ||
wrench.copyDirSyncRecursive('directory_to_copy', 'location_where_copy_should_end_up', { | ||
forceDelete: true | ||
}); | ||
``` | ||
If you desire the older behavior of Wrench... hit up your package.json. If you | ||
happen to find bugs in the 1.5.0 release please feel free to file them on the | ||
GitHub issues tracker for this project, or send me a pull request and I'll get to | ||
it as fast as I can. Thanks! | ||
**If this breaks enough projects I will consider rolling it back. Please hit me up if this seems to be the case.** | ||
Installation | ||
@@ -13,0 +36,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
30681
97