Comparing version 2.0.2 to 2.1.0
{ | ||
"name": "del", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Delete files/folders using globs", | ||
@@ -51,7 +51,7 @@ "license": "MIT", | ||
"pify": "^2.0.0", | ||
"pinkie-promise": "^1.0.0", | ||
"pinkie-promise": "^2.0.0", | ||
"rimraf": "^2.2.8" | ||
}, | ||
"devDependencies": { | ||
"fs-extra": "^0.24.0", | ||
"fs-extra": "^0.26.2", | ||
"mocha": "*", | ||
@@ -58,0 +58,0 @@ "path-exists": "^2.0.0", |
# del [![Build Status](https://travis-ci.org/sindresorhus/del.svg?branch=master)](https://travis-ci.org/sindresorhus/del) | ||
> Delete files/folders using [globs](https://github.com/isaacs/minimatch#usage) | ||
> Delete files and folders using [globs](https://github.com/isaacs/minimatch#usage) | ||
@@ -18,6 +18,6 @@ Pretty much [rimraf](https://github.com/isaacs/rimraf) with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above. | ||
```js | ||
var del = require('del'); | ||
const del = require('del'); | ||
del(['tmp/*.js', '!tmp/unicorn.js']).then(function (paths) { | ||
console.log('Deleted files/folders:\n', paths.join('\n')); | ||
del(['tmp/*.js', '!tmp/unicorn.js']).then(paths => { | ||
console.log('Deleted files and folders:\n', paths.join('\n')); | ||
}); | ||
@@ -50,3 +50,3 @@ ``` | ||
Returns a promise that resolves to an array of deleted paths. | ||
Returns a promise for an array of deleted paths. | ||
@@ -82,3 +82,3 @@ ### del.sync(patterns, [options]) | ||
See [trash](https://github.com/sindresorhus/trash). | ||
See [trash-cli](https://github.com/sindresorhus/trash-cli). | ||
@@ -85,0 +85,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
5457
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
Updatedpinkie-promise@^2.0.0