serwist 9.0.0 → 9.0.2

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/README.md CHANGED
@@ -1 +1 @@
1
- This module's documentation can be found at https://serwist.pages.dev/docs/serwist
1
+ This module's documentation can be found at https://serwist.pages.dev/docs/serwist.
@@ -80,8 +80,8 @@ export declare class StrategyHandler {
80
80
  * provided to the `Strategy` object.
81
81
  *
82
82
  * The following lifecycle methods are invoked when using this method:
83
- * - `cacheKeyWillByUsed`
84
- * - `cachedResponseWillByUsed`
83
+ * - `cacheKeyWillBeUsed`
84
+ * - `cachedResponseWillBeUsed`
85
85
  *
86
86
  * @param key The `Request` or `URL` object to use as the cache key.
87
87
  * @returns A matching response, if found.
@@ -93,7 +93,7 @@ export declare class StrategyHandler {
93
93
  * the `Strategy` object.
94
94
  *
95
95
  * The following plugin lifecycle methods are invoked when using this method:
96
- * - `cacheKeyWillByUsed`
96
+ * - `cacheKeyWillBeUsed`
97
97
  * - `cacheWillUpdate`
98
98
  * - `cacheDidUpdate`
99
99
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serwist",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "type": "module",
5
5
  "description": "A Swiss Army knife for service workers.",
6
6
  "files": [
@@ -51,8 +51,8 @@
51
51
  "devDependencies": {
52
52
  "rollup": "4.14.3",
53
53
  "typescript": "5.5.0-dev.20240415",
54
- "@serwist/configs": "9.0.0",
55
- "@serwist/utils": "9.0.0"
54
+ "@serwist/configs": "9.0.2",
55
+ "@serwist/utils": "9.0.2"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "typescript": ">=5.0.0"
@@ -63,7 +63,7 @@
63
63
  }
64
64
  },
65
65
  "scripts": {
66
- "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",
66
+ "build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js",
67
67
  "dev": "rollup --config rollup.config.js --watch",
68
68
  "lint": "biome lint ./src",
69
69
  "typecheck": "tsc"
@@ -222,8 +222,8 @@ export class StrategyHandler {
222
222
  * provided to the `Strategy` object.
223
223
  *
224
224
  * The following lifecycle methods are invoked when using this method:
225
- * - `cacheKeyWillByUsed`
226
- * - `cachedResponseWillByUsed`
225
+ * - `cacheKeyWillBeUsed`
226
+ * - `cachedResponseWillBeUsed`
227
227
  *
228
228
  * @param key The `Request` or `URL` object to use as the cache key.
229
229
  * @returns A matching response, if found.
@@ -265,7 +265,7 @@ export class StrategyHandler {
265
265
  * the `Strategy` object.
266
266
  *
267
267
  * The following plugin lifecycle methods are invoked when using this method:
268
- * - `cacheKeyWillByUsed`
268
+ * - `cacheKeyWillBeUsed`
269
269
  * - `cacheWillUpdate`
270
270
  * - `cacheDidUpdate`
271
271
  *