@file-cache/core
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "@file-cache/core", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A cache for file metadata or file content.", | ||
@@ -30,12 +30,6 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=14.15.0", | ||
"node": ">=16.12.0", | ||
"npm": ">=6.14.0" | ||
}, | ||
"files": [ | ||
"cjs/**/*.{cjs,mjs,map}", | ||
"dts/**/*.d.ts", | ||
"mjs/**/*.{mjs,map}", | ||
"src/**/*.{ts,tsx,json}" | ||
], | ||
"types": "./dts/index.d.ts", | ||
"types": "./mjs/index.d.ts", | ||
"main": "./mjs/index.mjs", | ||
@@ -47,3 +41,4 @@ "dependencies": { | ||
"mocha": "^10.0.0", | ||
"ts-node": "^10.8.2" | ||
"ts-node": "^10.8.2", | ||
"@types/node": "^20.4.2" | ||
}, | ||
@@ -59,4 +54,4 @@ "scripts": { | ||
"./*": { | ||
"types": "./dts/*.d.ts", | ||
"node": { | ||
"types": "./mjs/*.d.ts", | ||
"import": "./mjs/*.mjs", | ||
@@ -67,4 +62,4 @@ "require": "./cjs/*.cjs" | ||
".": { | ||
"types": "./dts/index.d.ts", | ||
"node": { | ||
"types": "./mjs/index.d.ts", | ||
"import": "./mjs/index.mjs", | ||
@@ -74,3 +69,8 @@ "require": "./cjs/index.cjs" | ||
} | ||
} | ||
}, | ||
"files": [ | ||
"cjs/**/*", | ||
"mjs/**/*", | ||
"src/**/*" | ||
] | ||
} |
@@ -8,5 +8,7 @@ import { CacheInterface } from "./CacheInterface.js"; | ||
}, | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
async delete(_filePath: string): Promise<boolean> { | ||
return true; | ||
}, | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
async getAndUpdateCache(_filePath: string | URL): Promise<{ error?: Error; changed: boolean }> { | ||
@@ -13,0 +15,0 @@ return { changed: true }; |
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
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
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
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
54598
58
1035
1
3