safe-memory-cache
Advanced tools
+3
-3
@@ -35,3 +35,3 @@ function createMem(number, limit) { | ||
| } | ||
| this.buckets[0][key] = value | ||
| this.buckets[0].set(key, value) | ||
| return value | ||
@@ -45,5 +45,5 @@ }, | ||
| //put a reference in the newest bucket | ||
| return this.set(key,this.buckets[i][key]) | ||
| return this.set(key,this.buckets[i].get(key)) | ||
| } | ||
| return this.buckets[i][key] | ||
| return this.buckets[i].get(key) | ||
| } | ||
@@ -50,0 +50,0 @@ } |
+1
-1
| { | ||
| "name": "safe-memory-cache", | ||
| "version": "1.2.0", | ||
| "version": "1.2.1", | ||
| "description": "Secure and size-limited in-memory cache for Node.js and browsers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
11575
0.1%