🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@cacheable/node-cache

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cacheable/node-cache - npm Package Compare versions

Comparing version
1.1.0
to
1.2.0
+0
-1
dist/index.cjs

@@ -95,3 +95,2 @@ "use strict";

if (this._maxKeys > 0) {
console.log(this._cache.stats.count, this._maxKeys);
if (this._cache.stats.count >= this._maxKeys) {

@@ -98,0 +97,0 @@ return false;

@@ -59,3 +59,2 @@ // src/index.ts

if (this._maxKeys > 0) {
console.log(this._cache.stats.count, this._maxKeys);
if (this._cache.stats.count >= this._maxKeys) {

@@ -62,0 +61,0 @@ return false;

+4
-4
{
"name": "@cacheable/node-cache",
"version": "1.1.0",
"version": "1.2.0",
"description": "Simple and Maintained fast NodeJS internal caching",

@@ -30,3 +30,3 @@ "type": "module",

"devDependencies": {
"@types/node": "^22.5.5",
"@types/node": "^22.6.0",
"@vitest/coverage-v8": "^2.1.1",

@@ -40,5 +40,5 @@ "rimraf": "^6.0.1",

"dependencies": {
"cacheable": "^1.2.0",
"cacheable": "^1.3.0",
"eventemitter3": "^5.0.1",
"keyv": "^5.0.1"
"keyv": "^5.0.3"
},

@@ -45,0 +45,0 @@ "files": [