@pkgr/utils
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.2.1](https://github.com/rx-ts/pkgr/compare/@pkgr/utils@0.2.0...@pkgr/utils@0.2.1) (2019-11-02) | ||
### Bug Fixes | ||
* lint fix, use union @1stg/app-config ([ec3d54c](https://github.com/rx-ts/pkgr/commit/ec3d54cc1765416abb86c23603bedf494648c6cd)) | ||
# [0.2.0](https://github.com/rx-ts/pkgr/compare/@pkgr/utils@0.1.4...@pkgr/utils@0.2.0) (2019-10-30) | ||
@@ -8,0 +19,0 @@ |
@@ -89,2 +89,3 @@ "use strict"; | ||
// (It will always open new tab) | ||
// tslint:disable-next-line no-try-promise | ||
try { | ||
@@ -91,0 +92,0 @@ var options = { app: browser, wait: false }; |
@@ -9,3 +9,3 @@ export declare const tryPkg: (pkg: string) => string | undefined; | ||
export declare const isVueAvailable: boolean; | ||
export declare const tryFile: (filePath?: string | string[] | undefined, includeDir?: boolean | undefined) => string; | ||
export declare const tryFile: (filePath?: string | string[] | undefined, includeDir?: boolean) => string; | ||
export declare const tryExtensions: (filepath: string, extensions?: string[]) => string; | ||
@@ -12,0 +12,0 @@ export declare const identify: <T>(_: T) => _ is Exclude<T, "" | (T extends boolean ? false : boolean) | null | undefined>; |
@@ -21,2 +21,3 @@ "use strict"; | ||
exports.tryFile = function (filePath, includeDir) { | ||
if (includeDir === void 0) { includeDir = false; } | ||
if (typeof filePath === 'string') { | ||
@@ -23,0 +24,0 @@ return fs_1.default.existsSync(filePath) && |
{ | ||
"name": "@pkgr/utils", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Shared utils for `@pkgr` packages or any package else", | ||
@@ -24,3 +24,3 @@ "repository": "git+https://github.com/rx-ts/pkgr.git", | ||
"sideEffects": false, | ||
"gitHead": "b237711094f544edbf8be7397700a16276911d38" | ||
"gitHead": "1102b888a4d79b4ff0621d6c863fe808f418eec0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
20327
224