fast-ttl-cache 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -48,10 +48,6 @@ cache.size; // return 0
48
48
 
49
49
  - Get the value of the key from cache, return null if the key is not exists or has been expired.
50
50
 
51
- ```FastTTLCache.prototype.del(key)```
52
-
53
- - delete key and it's value from cache, return false if the key is not exists, otherwise return true.
54
-
55
51
  ```FastTTLCache.prototype.size```
56
52
 
57
53
  - return the current size of cache, note because of the lazy deletion mechanism, it's not the exact number of cache items that are valid.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-ttl-cache",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "ttl cache with capacity support use no timer",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",