Comparing version 4.1.0 to 4.2.0
@@ -13,5 +13,9 @@ 'use strict'; | ||
const paths = (opts.glob === false ? iterable : globby.sync(iterable, {nonull: true})) | ||
const paths = (opts.glob === false ? iterable : globby.sync(iterable, { | ||
expandDirectories: false, | ||
nodir: false, | ||
nonull: true | ||
})) | ||
.map(x => path.resolve(x)) | ||
.filter(fs.existsSync); | ||
.filter(fs.lstatSync); | ||
@@ -18,0 +22,0 @@ if (paths.length === 0) { |
106
package.json
{ | ||
"name": "trash", | ||
"version": "4.1.0", | ||
"description": "Move files and folders to the trash", | ||
"license": "MIT", | ||
"repository": "sindresorhus/trash", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"lib" | ||
], | ||
"keywords": [ | ||
"trash", | ||
"recycle", | ||
"bin", | ||
"rm", | ||
"rmrf", | ||
"rimraf", | ||
"remove", | ||
"delete", | ||
"del", | ||
"file", | ||
"files", | ||
"dir", | ||
"directory", | ||
"directories", | ||
"folder", | ||
"folders", | ||
"xdg" | ||
], | ||
"dependencies": { | ||
"escape-string-applescript": "^2.0.0", | ||
"fs-extra": "^0.30.0", | ||
"globby": "^6.0.0", | ||
"pify": "^3.0.0", | ||
"run-applescript": "^3.0.0", | ||
"uuid": "^3.1.0", | ||
"xdg-trashdir": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"tempfile": "^2.0.0", | ||
"xo": "*" | ||
} | ||
"name": "trash", | ||
"version": "4.2.0", | ||
"description": "Move files and folders to the trash", | ||
"license": "MIT", | ||
"repository": "sindresorhus/trash", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"lib" | ||
], | ||
"keywords": [ | ||
"trash", | ||
"recycle", | ||
"bin", | ||
"rm", | ||
"rmrf", | ||
"rimraf", | ||
"remove", | ||
"delete", | ||
"del", | ||
"file", | ||
"files", | ||
"dir", | ||
"directory", | ||
"directories", | ||
"folder", | ||
"folders", | ||
"xdg" | ||
], | ||
"dependencies": { | ||
"escape-string-applescript": "^2.0.0", | ||
"fs-extra": "^0.30.0", | ||
"globby": "^7.1.1", | ||
"pify": "^3.0.0", | ||
"run-applescript": "^3.0.0", | ||
"uuid": "^3.1.0", | ||
"xdg-trashdir": "^2.1.1" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"tempfile": "^2.0.0", | ||
"xo": "*" | ||
} | ||
} |
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
34029
92
+ Addeddir-glob@2.2.2(transitive)
+ Addedglobby@7.1.1(transitive)
+ Addedignore@3.3.10(transitive)
+ Addedpath-type@3.0.0(transitive)
+ Addedslash@1.0.0(transitive)
- Removedglobby@6.1.0(transitive)
Updatedglobby@^7.1.1
Updatedxdg-trashdir@^2.1.1