@awesomeeng/awesome-utils
Advanced tools
Comparing version 1.4.6 to 1.4.7
{ | ||
"name": "@awesomeeng/awesome-utils", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"author": "the awesome engineering company", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
# AwesomeUtils Release Notes | ||
#### **Version 1.4.5** | ||
#### **Version 1.4.7** | ||
- AwesomeUtils.FS: Changes FS.stat and FS.statSync to resolve or return null if the file is not found. | ||
#### **Version 1.4.6** | ||
- Updating dependencies. | ||
@@ -6,0 +10,0 @@ |
@@ -213,2 +213,3 @@ // (c) 2018, The Awesome Engineering Company, https://awesomeneg.com | ||
catch (ex) { | ||
if (ex.code==="ENOENT") resolve(null); | ||
return reject(ex); | ||
@@ -220,5 +221,10 @@ } | ||
statSync(path) { | ||
return FS.statSync(path); | ||
try { | ||
return FS.statSync(path); | ||
} | ||
catch (ex) { | ||
if (ex.code==="ENOENT") return null; | ||
throw ex; | ||
} | ||
} | ||
} | ||
@@ -225,0 +231,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
112408
2801