@serwist/recipes 9.0.15 → 9.1.0
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/dist/googleFontsCache.d.ts +1 -1
- package/dist/googleFontsCache.d.ts.map +1 -1
- package/dist/imageCache.d.ts +1 -1
- package/dist/imageCache.d.ts.map +1 -1
- package/dist/pageCache.d.ts +1 -1
- package/dist/pageCache.d.ts.map +1 -1
- package/dist/staticResourceCache.d.ts +1 -1
- package/dist/staticResourceCache.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/googleFontsCache.ts +1 -1
- package/src/imageCache.ts +1 -1
- package/src/pageCache.ts +1 -1
- package/src/staticResourceCache.ts +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"googleFontsCache.d.ts","sourceRoot":"","sources":["../src/googleFontsCache.ts"],"names":[],"mappings":"AAOA,OAAO,EAAyD,OAAO,EAAwB,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"googleFontsCache.d.ts","sourceRoot":"","sources":["../src/googleFontsCache.ts"],"names":[],"mappings":"AAOA,OAAO,EAAyD,KAAK,OAAO,EAAwB,MAAM,SAAS,CAAC;AAEpH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,sDAK9B,sBAAsB,KAAG,IAyB3B,CAAC"}
|
package/dist/imageCache.d.ts
CHANGED
package/dist/imageCache.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"imageCache.d.ts","sourceRoot":"","sources":["../src/imageCache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAyD,OAAO,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"imageCache.d.ts","sourceRoot":"","sources":["../src/imageCache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAG9F,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,uFAQxB,iBAAiB,KAAG,IAwBtB,CAAC"}
|
package/dist/pageCache.d.ts
CHANGED
package/dist/pageCache.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pageCache.d.ts","sourceRoot":"","sources":["../src/pageCache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAyC,OAAO,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"pageCache.d.ts","sourceRoot":"","sources":["../src/pageCache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAyC,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAG9E,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,mFAOvB,gBAAgB,KAAG,IAoBrB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"staticResourceCache.d.ts","sourceRoot":"","sources":["../src/staticResourceCache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAA2B,OAAO,EAAwB,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"staticResourceCache.d.ts","sourceRoot":"","sources":["../src/staticResourceCache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAA2B,KAAK,OAAO,EAAwB,MAAM,SAAS,CAAC;AAGtF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,4DAOjC,qBAAqB,KAAG,IAkB1B,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@serwist/recipes",
|
3
|
-
"version": "9.0
|
3
|
+
"version": "9.1.0",
|
4
4
|
"type": "module",
|
5
5
|
"description": "A service worker helper library to manage common request and caching patterns",
|
6
6
|
"files": [
|
@@ -33,12 +33,12 @@
|
|
33
33
|
"./package.json": "./package.json"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"serwist": "9.0
|
36
|
+
"serwist": "9.1.0"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"rollup": "4.
|
39
|
+
"rollup": "4.45.1",
|
40
40
|
"typescript": "5.8.3",
|
41
|
-
"@serwist/configs": "9.0
|
41
|
+
"@serwist/configs": "9.1.0"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
44
|
"typescript": ">=5.0.0"
|
package/src/googleFontsCache.ts
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
license that can be found in the LICENSE file or at
|
6
6
|
https://opensource.org/licenses/MIT.
|
7
7
|
*/
|
8
|
-
import { CacheFirst, CacheableResponsePlugin, ExpirationPlugin, Serwist, StaleWhileRevalidate } from "serwist";
|
8
|
+
import { CacheFirst, CacheableResponsePlugin, ExpirationPlugin, type Serwist, StaleWhileRevalidate } from "serwist";
|
9
9
|
|
10
10
|
export interface GoogleFontCacheOptions {
|
11
11
|
/**
|
package/src/imageCache.ts
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import type { RouteMatchCallback, RouteMatchCallbackOptions, SerwistPlugin } from "serwist";
|
10
|
-
import { CacheFirst, CacheableResponsePlugin, ExpirationPlugin, Serwist } from "serwist";
|
10
|
+
import { CacheFirst, CacheableResponsePlugin, ExpirationPlugin, type Serwist } from "serwist";
|
11
11
|
import { warmStrategyCache } from "./warmStrategyCache.js";
|
12
12
|
|
13
13
|
export interface ImageCacheOptions {
|
package/src/pageCache.ts
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import type { RouteMatchCallback, RouteMatchCallbackOptions, SerwistPlugin } from "serwist";
|
10
|
-
import { CacheableResponsePlugin, NetworkFirst, Serwist } from "serwist";
|
10
|
+
import { CacheableResponsePlugin, NetworkFirst, type Serwist } from "serwist";
|
11
11
|
import { warmStrategyCache } from "./warmStrategyCache.js";
|
12
12
|
|
13
13
|
export interface PageCacheOptions {
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import type { RouteMatchCallback, RouteMatchCallbackOptions, SerwistPlugin } from "serwist";
|
10
|
-
import { CacheableResponsePlugin, Serwist, StaleWhileRevalidate } from "serwist";
|
10
|
+
import { CacheableResponsePlugin, type Serwist, StaleWhileRevalidate } from "serwist";
|
11
11
|
import { warmStrategyCache } from "./warmStrategyCache.js";
|
12
12
|
|
13
13
|
export interface StaticResourceOptions {
|