@serwist/recipes 9.0.1 → 9.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.
package/README.md CHANGED
@@ -1 +1 @@
1
- This module's documentation can be found at https://developers.google.com/web/tools/workbox/modules/workbox-recipes
1
+ This module's documentation is a work-in-progress.
@@ -1,7 +1,7 @@
1
1
  import { Serwist } from "serwist";
2
2
  export interface GoogleFontCacheOptions {
3
3
  /**
4
- * Your `Serwist` instance.
4
+ * A {@linkcode Serwist} instance.
5
5
  */
6
6
  serwist: Serwist;
7
7
  /**
@@ -2,7 +2,7 @@ import type { RouteMatchCallback, SerwistPlugin } from "serwist";
2
2
  import { Serwist } from "serwist";
3
3
  export interface ImageCacheOptions {
4
4
  /**
5
- * Your `Serwist` instance.
5
+ * A {@linkcode Serwist} instance.
6
6
  */
7
7
  serwist: Serwist;
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  import type { Serwist } from "serwist";
2
2
  export interface OfflineFallbackOptions {
3
3
  /**
4
- * Your `Serwist` instance.
4
+ * A {@linkcode Serwist} instance.
5
5
  */
6
6
  serwist: Serwist;
7
7
  /**
@@ -2,7 +2,7 @@ import type { RouteMatchCallback, SerwistPlugin } from "serwist";
2
2
  import { Serwist } from "serwist";
3
3
  export interface PageCacheOptions {
4
4
  /**
5
- * Your `Serwist` instance.
5
+ * A {@linkcode Serwist} instance.
6
6
  */
7
7
  serwist: Serwist;
8
8
  /**
@@ -2,7 +2,7 @@ import type { RouteMatchCallback, SerwistPlugin } from "serwist";
2
2
  import { Serwist } from "serwist";
3
3
  export interface StaticResourceOptions {
4
4
  /**
5
- * Your `Serwist` instance.
5
+ * A {@linkcode Serwist} instance.
6
6
  */
7
7
  serwist: Serwist;
8
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/recipes",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "type": "module",
5
5
  "description": "A service worker helper library to manage common request and caching patterns",
6
6
  "files": [
@@ -30,12 +30,12 @@
30
30
  "./package.json": "./package.json"
31
31
  },
32
32
  "dependencies": {
33
- "serwist": "9.0.0"
33
+ "serwist": "9.0.3"
34
34
  },
35
35
  "devDependencies": {
36
- "rollup": "4.14.3",
37
- "typescript": "5.5.0-dev.20240415",
38
- "@serwist/configs": "9.0.1"
36
+ "rollup": "4.18.0",
37
+ "typescript": "5.4.5",
38
+ "@serwist/configs": "9.0.3"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "typescript": ">=5.0.0"
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "scripts": {
49
- "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",
49
+ "build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js",
50
50
  "dev": "rollup --config rollup.config.js --watch",
51
51
  "lint": "biome lint ./src",
52
52
  "typecheck": "tsc"
@@ -9,7 +9,7 @@ import { CacheFirst, CacheableResponsePlugin, ExpirationPlugin, Serwist, StaleWh
9
9
 
10
10
  export interface GoogleFontCacheOptions {
11
11
  /**
12
- * Your `Serwist` instance.
12
+ * A {@linkcode Serwist} instance.
13
13
  */
14
14
  serwist: Serwist;
15
15
  /**
package/src/imageCache.ts CHANGED
@@ -12,7 +12,7 @@ import { warmStrategyCache } from "./warmStrategyCache.js";
12
12
 
13
13
  export interface ImageCacheOptions {
14
14
  /**
15
- * Your `Serwist` instance.
15
+ * A {@linkcode Serwist} instance.
16
16
  */
17
17
  serwist: Serwist;
18
18
  /**
@@ -10,7 +10,7 @@ import type { RouteHandler, RouteHandlerCallbackOptions, Serwist } from "serwist
10
10
 
11
11
  export interface OfflineFallbackOptions {
12
12
  /**
13
- * Your `Serwist` instance.
13
+ * A {@linkcode Serwist} instance.
14
14
  */
15
15
  serwist: Serwist;
16
16
  /**
package/src/pageCache.ts CHANGED
@@ -12,7 +12,7 @@ import { warmStrategyCache } from "./warmStrategyCache.js";
12
12
 
13
13
  export interface PageCacheOptions {
14
14
  /**
15
- * Your `Serwist` instance.
15
+ * A {@linkcode Serwist} instance.
16
16
  */
17
17
  serwist: Serwist;
18
18
  /**
@@ -12,7 +12,7 @@ import { warmStrategyCache } from "./warmStrategyCache.js";
12
12
 
13
13
  export interface StaticResourceOptions {
14
14
  /**
15
- * Your `Serwist` instance.
15
+ * A {@linkcode Serwist} instance.
16
16
  */
17
17
  serwist: Serwist;
18
18
  /**