cache-manager
Advanced tools
Comparing version 5.2.2 to 5.2.3
@@ -15,2 +15,3 @@ import { LRUCache } from 'lru-cache'; | ||
load: LRU['load']; | ||
calculatedSize: LRU['calculatedSize']; | ||
}; | ||
@@ -17,0 +18,0 @@ export type MemoryCache = Cache<MemoryStore>; |
@@ -77,2 +77,5 @@ "use strict"; | ||
}, | ||
get calculatedSize() { | ||
return lruCache.calculatedSize; | ||
}, | ||
/** | ||
@@ -79,0 +82,0 @@ * This method is not available in the caching modules. |
{ | ||
"name": "cache-manager", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"description": "Cache module for Node.js", | ||
@@ -33,16 +33,16 @@ "main": "dist/index.js", | ||
"lodash.clonedeep": "^4.5.0", | ||
"lru-cache": "~9.1.1" | ||
"lru-cache": "^9.1.2" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "17.6.3", | ||
"@commitlint/config-conventional": "17.6.3", | ||
"@commitlint/cli": "17.6.5", | ||
"@commitlint/config-conventional": "17.6.5", | ||
"@faker-js/faker": "8.0.2", | ||
"@release-it/conventional-changelog": "5.1.1", | ||
"@types/lodash.clonedeep": "4.5.7", | ||
"@types/node": "20.2.5", | ||
"@typescript-eslint/eslint-plugin": "5.59.7", | ||
"@typescript-eslint/parser": "5.59.7", | ||
"@vitest/coverage-c8": "0.31.1", | ||
"@types/node": "20.3.1", | ||
"@typescript-eslint/eslint-plugin": "5.59.11", | ||
"@typescript-eslint/parser": "5.59.11", | ||
"@vitest/coverage-v8": "0.32.0", | ||
"dotenv-cli": "7.2.1", | ||
"eslint": "8.41.0", | ||
"eslint": "8.42.0", | ||
"eslint-config-prettier": "8.8.0", | ||
@@ -53,5 +53,5 @@ "eslint-plugin-prettier": "4.2.1", | ||
"prettier": "2.8.8", | ||
"release-it": "15.10.3", | ||
"typescript": "5.0.4", | ||
"vitest": "0.31.1" | ||
"release-it": "15.11.0", | ||
"typescript": "5.1.3", | ||
"vitest": "0.32.0" | ||
}, | ||
@@ -58,0 +58,0 @@ "lint-staged": { |
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
57928
339
Updatedlru-cache@^9.1.2