Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "del", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Delete files/folders using globs", | ||
@@ -47,3 +47,3 @@ "license": "MIT", | ||
"each-async": "^1.0.0", | ||
"globby": "^1.0.0", | ||
"globby": "^2.0.0", | ||
"is-path-cwd": "^1.0.0", | ||
@@ -55,5 +55,6 @@ "is-path-in-cwd": "^1.0.0", | ||
"devDependencies": { | ||
"fs-extra": "^0.12.0", | ||
"mocha": "*" | ||
"fs-extra": "^0.18.3", | ||
"mocha": "*", | ||
"path-exists": "^1.0.0" | ||
} | ||
} |
@@ -21,4 +21,4 @@ # del [![Build Status](https://travis-ci.org/sindresorhus/del.svg?branch=master)](https://travis-ci.org/sindresorhus/del) | ||
del(['tmp/*.js', '!tmp/unicorn.js'], function (err, deletedFiles) { | ||
console.log('Files deleted:', deletedFiles.join(', ')); | ||
del(['tmp/*.js', '!tmp/unicorn.js'], function (err, paths) { | ||
console.log('Deleted files/folders:\n', paths.join('\n')); | ||
}); | ||
@@ -33,3 +33,3 @@ ``` | ||
The async method gets an array of deleted files as the second argument in the callback, while the sync method returns the array. | ||
The async method gets an array of deleted paths as the second argument in the callback, while the sync method returns the array. | ||
@@ -36,0 +36,0 @@ #### patterns |
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
5231
4
3
+ Addedasync@1.5.2(transitive)
+ Addedglob@5.0.15(transitive)
+ Addedglobby@2.1.0(transitive)
+ Addedobject-assign@3.0.0(transitive)
- Removedasync@0.9.2(transitive)
- Removedglob@4.5.3(transitive)
- Removedglobby@1.2.0(transitive)
- Removedminimatch@2.0.10(transitive)
Updatedglobby@^2.0.0