@serwist/expiration 9.0.0-preview.15 → 9.0.0-preview.16

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/expiration",
3
- "version": "9.0.0-preview.15",
3
+ "version": "9.0.0-preview.16",
4
4
  "type": "module",
5
5
  "description": "A module that expires cached responses based on age or maximum number of entries.",
6
6
  "files": [
@@ -30,12 +30,12 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "idb": "8.0.0",
33
- "@serwist/core": "9.0.0-preview.15"
33
+ "@serwist/core": "9.0.0-preview.16"
34
34
  },
35
35
  "devDependencies": {
36
36
  "rollup": "4.13.0",
37
37
  "typescript": "5.5.0-dev.20240323",
38
- "@serwist/constants": "9.0.0-preview.15"
38
+ "@serwist/constants": "9.0.0-preview.16"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "typescript": ">=5.0.0"
@@ -134,7 +134,7 @@ export class CacheExpiration {
134
134
  void this.expireEntries();
135
135
  }
136
136
  }
137
-
137
+
138
138
  /**
139
139
  * Updates the timestamp for the given URL, allowing it to be correctly
140
140
  * tracked by the class.
@@ -25,7 +25,7 @@ export interface ExpirationPluginOptions {
25
25
  /**
26
26
  * Determines whether `maxAgeSeconds` should be calculated from when an
27
27
  * entry was last fetched or when it was last used.
28
- *
28
+ *
29
29
  * @default "last-fetched"
30
30
  */
31
31
  maxAgeFrom?: "last-fetched" | "last-used";