Socket
Socket
Sign inDemoInstall

@file-services/cached

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/cached - npm Package Compare versions

Comparing version 7.3.0 to 7.4.0

3

dist/cached-fs.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc