@isaacs/ttlcache 1.0.2 → 1.0.3

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/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -29,6 +29,8 @@ class TTLCache {
29
29
  }
30
30
  this.ttl = ttl
31
31
  this.max = max
32
+ this.updateAgeOnGet = updateAgeOnGet;
33
+ this.noUpdateTTL = noUpdateTTL;
32
34
  if (dispose !== undefined) {
33
35
  if (typeof dispose !== 'function') {
34
36
  throw new TypeError('dispose must be function if set')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isaacs/ttlcache",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "files": [
5
5
  "index.js"
6
6
  ],