@file-services/cached
Advanced tools
Comparing version 7.3.0 to 7.4.0
@@ -144,5 +144,4 @@ "use strict"; | ||
statSync(path, options) { | ||
var _a; | ||
path = fs.resolve(path); | ||
const throwIfNoEntry = (_a = options === null || options === void 0 ? void 0 : options.throwIfNoEntry) !== null && _a !== void 0 ? _a : true; | ||
const throwIfNoEntry = options?.throwIfNoEntry ?? true; | ||
const cacheKey = getCanonicalPath(path) + (throwIfNoEntry ? suffixTrue : suffixFalse); | ||
@@ -149,0 +148,0 @@ const cachedStats = statsCache.get(cacheKey); |
{ | ||
"name": "@file-services/cached", | ||
"description": "A file system wrapper that adds cache to any `IFileSystem` implementation.", | ||
"version": "7.3.0", | ||
"version": "7.4.0", | ||
"main": "dist/index.js", | ||
@@ -12,4 +12,4 @@ "scripts": { | ||
"dependencies": { | ||
"@file-services/types": "^7.3.0", | ||
"@file-services/utils": "^7.3.0" | ||
"@file-services/types": "^7.4.0", | ||
"@file-services/utils": "^7.4.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "files": [ |
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
39048
638
Updated@file-services/types@^7.4.0
Updated@file-services/utils@^7.4.0