@file-services/cached
Advanced tools
Comparing version 5.7.1 to 6.0.0
@@ -80,2 +80,7 @@ "use strict"; | ||
}, | ||
rmSync(targetPath, options) { | ||
targetPath = fs.resolve(targetPath); | ||
invalidateAbsolute(targetPath); | ||
return fs.rmSync(targetPath, options); | ||
}, | ||
symlinkSync(target, path, type) { | ||
@@ -230,2 +235,7 @@ path = fs.resolve(path); | ||
}, | ||
rm(targetPath, options) { | ||
targetPath = fs.resolve(targetPath); | ||
invalidateAbsolute(targetPath); | ||
return promises.rm(targetPath, options); | ||
}, | ||
unlink(filePath) { | ||
@@ -232,0 +242,0 @@ filePath = fs.resolve(filePath); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@file-services/cached", | ||
"description": "A file system wrapper that adds cache to any `IFileSystem` implementation.", | ||
"version": "5.7.1", | ||
"version": "6.0.0", | ||
"main": "dist/index.js", | ||
@@ -12,4 +12,4 @@ "scripts": { | ||
"dependencies": { | ||
"@file-services/types": "^5.7.1", | ||
"@file-services/utils": "^5.7.1" | ||
"@file-services/types": "^6.0.0", | ||
"@file-services/utils": "^6.0.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "files": [ |
@@ -105,2 +105,7 @@ import type { IFileSystem, IFileSystemStats, CallbackFnVoid } from '@file-services/types'; | ||
}, | ||
rmSync(targetPath, options) { | ||
targetPath = fs.resolve(targetPath); | ||
invalidateAbsolute(targetPath); | ||
return fs.rmSync(targetPath, options); | ||
}, | ||
symlinkSync(target, path, type) { | ||
@@ -250,2 +255,7 @@ path = fs.resolve(path); | ||
}, | ||
rm(targetPath, options) { | ||
targetPath = fs.resolve(targetPath); | ||
invalidateAbsolute(targetPath); | ||
return promises.rm(targetPath, options); | ||
}, | ||
unlink(filePath) { | ||
@@ -252,0 +262,0 @@ filePath = fs.resolve(filePath); |
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
37136
601
+ Added@file-services/types@6.0.0(transitive)
+ Added@file-services/utils@6.0.0(transitive)
- Removed@file-services/types@5.7.1(transitive)
- Removed@file-services/utils@5.7.1(transitive)
Updated@file-services/types@^6.0.0
Updated@file-services/utils@^6.0.0