@platform/fs
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -7,3 +7,4 @@ export declare type IGlobOptions = { | ||
realpathCache?: {}; | ||
ignore?: string | string[]; | ||
}; | ||
export declare function find(pattern: string, options?: IGlobOptions): Promise<string[]>; |
@@ -9,5 +9,5 @@ "use strict"; | ||
return new Promise(function (resolve, reject) { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
var _a, dot, cache, statCache, realpathCache, includeDirs, nodir, args; | ||
var _a, dot, cache, statCache, realpathCache, ignore, includeDirs, nodir, args; | ||
return tslib_1.__generator(this, function (_b) { | ||
_a = options.dot, dot = _a === void 0 ? false : _a, cache = options.cache, statCache = options.statCache, realpathCache = options.realpathCache; | ||
_a = options.dot, dot = _a === void 0 ? false : _a, cache = options.cache, statCache = options.statCache, realpathCache = options.realpathCache, ignore = options.ignore; | ||
includeDirs = typeof options.includeDirs === 'boolean' | ||
@@ -19,3 +19,3 @@ ? options.includeDirs | ||
nodir = !includeDirs; | ||
args = { dot: dot, nodir: nodir, cache: cache, statCache: statCache, realpathCache: realpathCache }; | ||
args = { dot: dot, nodir: nodir, cache: cache, statCache: statCache, realpathCache: realpathCache, ignore: ignore }; | ||
glob(pattern, args, function (err, paths) { | ||
@@ -22,0 +22,0 @@ if (err) { |
{ | ||
"name": "@platform/fs", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "File-system tools.", | ||
@@ -16,3 +16,3 @@ "main": "lib/index", | ||
"@types/fs-extra": "8.0.1", | ||
"@types/js-yaml": "3.12.1", | ||
"@types/js-yaml": "3.12.2", | ||
"archiver": "3.1.1", | ||
@@ -19,0 +19,0 @@ "dotenv": "8.2.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
71208
1538
+ Added@types/js-yaml@3.12.2(transitive)
- Removed@types/js-yaml@3.12.1(transitive)
Updated@types/js-yaml@3.12.2