serwist 9.0.0-preview.24 → 9.0.0-preview.26
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/NavigationRoute.d.ts +6 -7
- package/dist/NavigationRoute.d.ts.map +1 -1
- package/dist/PrecacheRoute.d.ts +2 -2
- package/dist/PrecacheRoute.d.ts.map +1 -1
- package/dist/RegExpRoute.d.ts +4 -4
- package/dist/RegExpRoute.d.ts.map +1 -1
- package/dist/Route.d.ts +10 -10
- package/dist/Route.d.ts.map +1 -1
- package/dist/Serwist.d.ts +39 -44
- package/dist/Serwist.d.ts.map +1 -1
- package/dist/chunks/printInstallDetails.js +1587 -0
- package/dist/chunks/resultingClientExists.js +1 -1
- package/dist/chunks/waitUntil.js +426 -1
- package/dist/copyResponse.d.ts +8 -10
- package/dist/copyResponse.d.ts.map +1 -1
- package/dist/disableDevLogs.d.ts +1 -1
- package/dist/index.d.ts +41 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.internal.d.ts +3 -1
- package/dist/index.internal.d.ts.map +1 -1
- package/dist/index.internal.js +1 -2
- package/dist/index.js +1464 -8
- package/dist/index.legacy.d.ts +4 -8
- package/dist/index.legacy.d.ts.map +1 -1
- package/dist/index.legacy.js +166 -16
- package/dist/legacy/PrecacheController.d.ts +1 -1
- package/dist/legacy/PrecacheController.d.ts.map +1 -1
- package/dist/legacy/PrecacheRoute.d.ts.map +1 -1
- package/dist/legacy/Router.d.ts +1 -1
- package/dist/legacy/Router.d.ts.map +1 -1
- package/dist/legacy/constants.d.ts.map +1 -0
- package/dist/legacy/fallbacks.d.ts +1 -1
- package/dist/legacy/fallbacks.d.ts.map +1 -1
- package/dist/legacy/handlePrecaching.d.ts.map +1 -1
- package/dist/legacy/initializeGoogleAnalytics.d.ts +38 -0
- package/dist/legacy/initializeGoogleAnalytics.d.ts.map +1 -0
- package/dist/legacy/installSerwist.d.ts +69 -3
- package/dist/legacy/installSerwist.d.ts.map +1 -1
- package/dist/legacy/registerRoute.d.ts +1 -1
- package/dist/legacy/registerRoute.d.ts.map +1 -1
- package/dist/{plugins → lib}/backgroundSync/BackgroundSyncPlugin.d.ts +3 -3
- package/dist/lib/backgroundSync/BackgroundSyncPlugin.d.ts.map +1 -0
- package/dist/{plugins/backgroundSync/Queue.d.ts → lib/backgroundSync/BackgroundSyncQueue.d.ts} +29 -13
- package/dist/lib/backgroundSync/BackgroundSyncQueue.d.ts.map +1 -0
- package/dist/{plugins/backgroundSync/QueueDb.d.ts → lib/backgroundSync/BackgroundSyncQueueDb.d.ts} +7 -7
- package/dist/lib/backgroundSync/BackgroundSyncQueueDb.d.ts.map +1 -0
- package/dist/{plugins/backgroundSync/QueueStore.d.ts → lib/backgroundSync/BackgroundSyncQueueStore.d.ts} +7 -7
- package/dist/lib/backgroundSync/BackgroundSyncQueueStore.d.ts.map +1 -0
- package/dist/lib/backgroundSync/StorableRequest.d.ts.map +1 -0
- package/dist/lib/broadcastUpdate/BroadcastCacheUpdate.d.ts.map +1 -0
- package/dist/{plugins → lib}/broadcastUpdate/BroadcastUpdatePlugin.d.ts +1 -1
- package/dist/lib/broadcastUpdate/BroadcastUpdatePlugin.d.ts.map +1 -0
- package/dist/lib/broadcastUpdate/constants.d.ts +5 -0
- package/dist/lib/broadcastUpdate/constants.d.ts.map +1 -0
- package/dist/lib/broadcastUpdate/responsesAreSame.d.ts.map +1 -0
- package/dist/{plugins → lib}/broadcastUpdate/types.d.ts +3 -3
- package/dist/lib/broadcastUpdate/types.d.ts.map +1 -0
- package/dist/lib/cacheableResponse/CacheableResponse.d.ts.map +1 -0
- package/dist/lib/cacheableResponse/CacheableResponsePlugin.d.ts.map +1 -0
- package/dist/{plugins → lib}/expiration/CacheExpiration.d.ts +1 -1
- package/dist/lib/expiration/CacheExpiration.d.ts.map +1 -0
- package/dist/{plugins → lib}/expiration/ExpirationPlugin.d.ts +1 -1
- package/dist/lib/expiration/ExpirationPlugin.d.ts.map +1 -0
- package/dist/lib/expiration/models/CacheTimestampsModel.d.ts.map +1 -0
- package/dist/lib/googleAnalytics/constants.d.ts +10 -0
- package/dist/lib/googleAnalytics/constants.d.ts.map +1 -0
- package/dist/{plugins/googleAnalytics/initialize.d.ts → lib/googleAnalytics/initializeGoogleAnalytics.d.ts} +2 -2
- package/dist/lib/googleAnalytics/initializeGoogleAnalytics.d.ts.map +1 -0
- package/dist/{plugins → lib}/precaching/PrecacheFallbackPlugin.d.ts +1 -1
- package/dist/lib/precaching/PrecacheFallbackPlugin.d.ts.map +1 -0
- package/dist/lib/rangeRequests/RangeRequestsPlugin.d.ts.map +1 -0
- package/dist/lib/rangeRequests/createPartialResponse.d.ts.map +1 -0
- package/dist/lib/rangeRequests/utils/calculateEffectiveBoundaries.d.ts.map +1 -0
- package/dist/lib/rangeRequests/utils/parseRangeHeader.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/CacheFirst.d.ts +1 -1
- package/dist/lib/strategies/CacheFirst.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/CacheOnly.d.ts +2 -2
- package/dist/lib/strategies/CacheOnly.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/NetworkFirst.d.ts +2 -2
- package/dist/lib/strategies/NetworkFirst.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/NetworkOnly.d.ts +2 -2
- package/dist/lib/strategies/NetworkOnly.d.ts.map +1 -0
- package/dist/{PrecacheStrategy.d.ts → lib/strategies/PrecacheStrategy.d.ts} +5 -5
- package/dist/lib/strategies/PrecacheStrategy.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/StaleWhileRevalidate.d.ts +1 -1
- package/dist/lib/strategies/StaleWhileRevalidate.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/Strategy.d.ts +15 -17
- package/dist/lib/strategies/Strategy.d.ts.map +1 -0
- package/dist/{strategies → lib/strategies}/StrategyHandler.d.ts +35 -41
- package/dist/lib/strategies/StrategyHandler.d.ts.map +1 -0
- package/dist/lib/strategies/plugins/cacheOkAndOpaquePlugin.d.ts +3 -0
- package/dist/lib/strategies/plugins/cacheOkAndOpaquePlugin.d.ts.map +1 -0
- package/dist/lib/strategies/utils/messages.d.ts.map +1 -0
- package/dist/navigationPreload.d.ts +3 -3
- package/dist/types.d.ts +12 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/PrecacheCacheKeyPlugin.d.ts +1 -1
- package/dist/utils/PrecacheCacheKeyPlugin.d.ts.map +1 -1
- package/dist/utils/assert.d.ts.map +1 -1
- package/dist/utils/cleanupOutdatedCaches.d.ts.map +1 -0
- package/dist/utils/clientsClaim.d.ts.map +1 -0
- package/dist/{parseRoute.d.ts → utils/parseRoute.d.ts} +3 -3
- package/dist/utils/parseRoute.d.ts.map +1 -0
- package/package.json +7 -21
- package/src/NavigationRoute.ts +6 -7
- package/src/PrecacheRoute.ts +5 -5
- package/src/RegExpRoute.ts +5 -5
- package/src/Route.ts +11 -11
- package/src/Serwist.ts +73 -80
- package/src/copyResponse.ts +7 -9
- package/src/disableDevLogs.ts +1 -1
- package/src/index.internal.ts +4 -0
- package/src/index.legacy.ts +14 -18
- package/src/index.ts +105 -19
- package/src/legacy/PrecacheController.ts +8 -8
- package/src/legacy/PrecacheFallbackPlugin.ts +1 -1
- package/src/legacy/PrecacheRoute.ts +3 -3
- package/src/legacy/Router.ts +5 -5
- package/src/legacy/fallbacks.ts +3 -3
- package/src/legacy/handlePrecaching.ts +1 -1
- package/src/legacy/initializeGoogleAnalytics.ts +218 -0
- package/src/legacy/installSerwist.ts +156 -5
- package/src/legacy/registerRoute.ts +1 -1
- package/src/{plugins → lib}/backgroundSync/BackgroundSyncPlugin.ts +6 -6
- package/src/{plugins/backgroundSync/Queue.ts → lib/backgroundSync/BackgroundSyncQueue.ts} +47 -26
- package/src/{plugins/backgroundSync/QueueDb.ts → lib/backgroundSync/BackgroundSyncQueueDb.ts} +16 -16
- package/src/{plugins/backgroundSync/QueueStore.ts → lib/backgroundSync/BackgroundSyncQueueStore.ts} +13 -13
- package/src/{plugins → lib}/backgroundSync/StorableRequest.ts +2 -2
- package/src/{plugins → lib}/broadcastUpdate/BroadcastCacheUpdate.ts +14 -9
- package/src/{plugins → lib}/broadcastUpdate/BroadcastUpdatePlugin.ts +1 -1
- package/src/lib/broadcastUpdate/constants.ts +12 -0
- package/src/{plugins → lib}/broadcastUpdate/types.ts +3 -3
- package/src/{plugins → lib}/cacheableResponse/CacheableResponse.ts +5 -5
- package/src/{plugins → lib}/expiration/CacheExpiration.ts +7 -7
- package/src/{plugins → lib}/expiration/ExpirationPlugin.ts +10 -10
- package/src/lib/googleAnalytics/constants.ts +22 -0
- package/src/{plugins/googleAnalytics/initialize.ts → lib/googleAnalytics/initializeGoogleAnalytics.ts} +9 -9
- package/src/{strategies → lib/strategies}/CacheFirst.ts +5 -5
- package/src/{strategies → lib/strategies}/CacheOnly.ts +6 -6
- package/src/{strategies → lib/strategies}/NetworkFirst.ts +7 -7
- package/src/{strategies → lib/strategies}/NetworkOnly.ts +7 -7
- package/src/{PrecacheStrategy.ts → lib/strategies/PrecacheStrategy.ts} +14 -10
- package/src/{strategies → lib/strategies}/StaleWhileRevalidate.ts +5 -5
- package/src/{strategies → lib/strategies}/Strategy.ts +19 -21
- package/src/{strategies → lib/strategies}/StrategyHandler.ts +45 -51
- package/src/{strategies → lib/strategies}/plugins/cacheOkAndOpaquePlugin.ts +1 -1
- package/src/{strategies → lib/strategies}/utils/messages.ts +2 -2
- package/src/models/messages/messages.ts +1 -1
- package/src/navigationPreload.ts +3 -3
- package/src/registerQuotaErrorCallback.ts +1 -1
- package/src/types.ts +12 -7
- package/src/utils/PrecacheCacheKeyPlugin.ts +1 -1
- package/src/utils/assert.ts +1 -1
- package/src/{cleanupOutdatedCaches.ts → utils/cleanupOutdatedCaches.ts} +3 -4
- package/src/utils/executeQuotaErrorCallbacks.ts +1 -1
- package/src/{parseRoute.ts → utils/parseRoute.ts} +21 -23
- package/src/utils/welcome.ts +1 -1
- package/dist/PrecacheStrategy.d.ts.map +0 -1
- package/dist/chunks/NetworkOnly.js +0 -599
- package/dist/chunks/PrecacheFallbackPlugin.js +0 -634
- package/dist/chunks/Serwist.js +0 -1034
- package/dist/chunks/registerQuotaErrorCallback.js +0 -17
- package/dist/chunks/timeout.js +0 -400
- package/dist/cleanupOutdatedCaches.d.ts.map +0 -1
- package/dist/clientsClaim.d.ts.map +0 -1
- package/dist/index.plugins.d.ts +0 -41
- package/dist/index.plugins.d.ts.map +0 -1
- package/dist/index.plugins.js +0 -669
- package/dist/index.strategies.d.ts +0 -22
- package/dist/index.strategies.d.ts.map +0 -1
- package/dist/index.strategies.js +0 -144
- package/dist/parseRoute.d.ts.map +0 -1
- package/dist/plugins/backgroundSync/BackgroundSyncPlugin.d.ts.map +0 -1
- package/dist/plugins/backgroundSync/Queue.d.ts.map +0 -1
- package/dist/plugins/backgroundSync/QueueDb.d.ts.map +0 -1
- package/dist/plugins/backgroundSync/QueueStore.d.ts.map +0 -1
- package/dist/plugins/backgroundSync/StorableRequest.d.ts.map +0 -1
- package/dist/plugins/broadcastUpdate/BroadcastCacheUpdate.d.ts.map +0 -1
- package/dist/plugins/broadcastUpdate/BroadcastUpdatePlugin.d.ts.map +0 -1
- package/dist/plugins/broadcastUpdate/constants.d.ts +0 -5
- package/dist/plugins/broadcastUpdate/constants.d.ts.map +0 -1
- package/dist/plugins/broadcastUpdate/responsesAreSame.d.ts.map +0 -1
- package/dist/plugins/broadcastUpdate/types.d.ts.map +0 -1
- package/dist/plugins/cacheableResponse/CacheableResponse.d.ts.map +0 -1
- package/dist/plugins/cacheableResponse/CacheableResponsePlugin.d.ts.map +0 -1
- package/dist/plugins/expiration/CacheExpiration.d.ts.map +0 -1
- package/dist/plugins/expiration/ExpirationPlugin.d.ts.map +0 -1
- package/dist/plugins/expiration/models/CacheTimestampsModel.d.ts.map +0 -1
- package/dist/plugins/googleAnalytics/constants.d.ts.map +0 -1
- package/dist/plugins/googleAnalytics/initialize.d.ts.map +0 -1
- package/dist/plugins/precaching/PrecacheFallbackPlugin.d.ts.map +0 -1
- package/dist/plugins/rangeRequests/RangeRequestsPlugin.d.ts.map +0 -1
- package/dist/plugins/rangeRequests/createPartialResponse.d.ts.map +0 -1
- package/dist/plugins/rangeRequests/utils/calculateEffectiveBoundaries.d.ts.map +0 -1
- package/dist/plugins/rangeRequests/utils/parseRangeHeader.d.ts.map +0 -1
- package/dist/strategies/CacheFirst.d.ts.map +0 -1
- package/dist/strategies/CacheOnly.d.ts.map +0 -1
- package/dist/strategies/NetworkFirst.d.ts.map +0 -1
- package/dist/strategies/NetworkOnly.d.ts.map +0 -1
- package/dist/strategies/StaleWhileRevalidate.d.ts.map +0 -1
- package/dist/strategies/Strategy.d.ts.map +0 -1
- package/dist/strategies/StrategyHandler.d.ts.map +0 -1
- package/dist/strategies/plugins/cacheOkAndOpaquePlugin.d.ts +0 -3
- package/dist/strategies/plugins/cacheOkAndOpaquePlugin.d.ts.map +0 -1
- package/dist/strategies/utils/messages.d.ts.map +0 -1
- package/src/index.plugins.ts +0 -95
- package/src/index.strategies.ts +0 -26
- package/src/plugins/broadcastUpdate/constants.ts +0 -12
- package/dist/{plugins/googleAnalytics → legacy}/constants.d.ts +0 -0
- package/dist/{plugins → lib}/backgroundSync/StorableRequest.d.ts +0 -0
- package/dist/{plugins → lib}/broadcastUpdate/BroadcastCacheUpdate.d.ts +0 -0
- package/dist/{plugins → lib}/broadcastUpdate/responsesAreSame.d.ts +0 -0
- package/dist/{plugins → lib}/cacheableResponse/CacheableResponse.d.ts +0 -0
- package/dist/{plugins → lib}/cacheableResponse/CacheableResponsePlugin.d.ts +0 -0
- package/dist/{plugins → lib}/expiration/models/CacheTimestampsModel.d.ts +0 -0
- package/dist/{plugins → lib}/rangeRequests/RangeRequestsPlugin.d.ts +0 -0
- package/dist/{plugins → lib}/rangeRequests/createPartialResponse.d.ts +0 -0
- package/dist/{plugins → lib}/rangeRequests/utils/calculateEffectiveBoundaries.d.ts +0 -0
- package/dist/{plugins → lib}/rangeRequests/utils/parseRangeHeader.d.ts +0 -0
- package/dist/{strategies → lib/strategies}/utils/messages.d.ts +0 -0
- package/dist/{cleanupOutdatedCaches.d.ts → utils/cleanupOutdatedCaches.d.ts} +0 -0
- package/dist/{clientsClaim.d.ts → utils/clientsClaim.d.ts} +0 -0
- package/src/{plugins/googleAnalytics → legacy}/constants.ts +0 -0
- package/src/{plugins → lib}/broadcastUpdate/responsesAreSame.ts +0 -0
- package/src/{plugins → lib}/cacheableResponse/CacheableResponsePlugin.ts +0 -0
- package/src/{plugins → lib}/expiration/models/CacheTimestampsModel.ts +0 -0
- package/src/{plugins → lib}/precaching/PrecacheFallbackPlugin.ts +1 -1
- package/src/{plugins → lib}/rangeRequests/RangeRequestsPlugin.ts +0 -0
- package/src/{plugins → lib}/rangeRequests/createPartialResponse.ts +1 -1
- package/src/{plugins → lib}/rangeRequests/utils/calculateEffectiveBoundaries.ts +1 -1
- package/src/{plugins → lib}/rangeRequests/utils/parseRangeHeader.ts +1 -1
- /package/src/{clientsClaim.ts → utils/clientsClaim.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RouteHandler } from "./types.js";
|
|
2
1
|
import { Route } from "./Route.js";
|
|
2
|
+
import type { RouteHandler } from "./types.js";
|
|
3
3
|
export interface NavigationRouteMatchOptions {
|
|
4
4
|
/**
|
|
5
5
|
* If any of these patterns
|
|
@@ -15,10 +15,9 @@ export interface NavigationRouteMatchOptions {
|
|
|
15
15
|
denylist?: RegExp[];
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* NavigationRoute makes it easy to create a `Route` that matches
|
|
19
|
-
* [navigation requests](https://developers.google.com/web/fundamentals/primers/service-workers/high-performance-loading#first_what_are_navigation_requests).
|
|
18
|
+
* `NavigationRoute` makes it easy to create a `Route` object that matches navigation requests.
|
|
20
19
|
*
|
|
21
|
-
* It will only match incoming Requests whose [mode](https://fetch.spec.whatwg.org/#concept-request-mode) is set to `navigate`.
|
|
20
|
+
* It will only match incoming Requests whose [`mode`](https://fetch.spec.whatwg.org/#concept-request-mode) is set to `"navigate"`.
|
|
22
21
|
*
|
|
23
22
|
* You can optionally only apply this route to a subset of navigation requests
|
|
24
23
|
* by using one or both of the `denylist` and `allowlist` parameters.
|
|
@@ -27,8 +26,8 @@ export declare class NavigationRoute extends Route {
|
|
|
27
26
|
private readonly _allowlist;
|
|
28
27
|
private readonly _denylist;
|
|
29
28
|
/**
|
|
30
|
-
* If both `denylist` and `allowlist` are provided,
|
|
31
|
-
* take precedence
|
|
29
|
+
* If both `denylist` and `allowlist` are provided, `denylist` will
|
|
30
|
+
* take precedence.
|
|
32
31
|
*
|
|
33
32
|
* The regular expressions in `allowlist` and `denylist`
|
|
34
33
|
* are matched against the concatenated
|
|
@@ -41,7 +40,7 @@ export declare class NavigationRoute extends Route {
|
|
|
41
40
|
* [complex RegExps](https://github.com/GoogleChrome/workbox/issues/3077),
|
|
42
41
|
* or else your users may see delays when navigating your site.
|
|
43
42
|
*
|
|
44
|
-
* @param handler A callback function that returns a Promise resulting in a Response
|
|
43
|
+
* @param handler A callback function that returns a `Promise` resulting in a `Response`.
|
|
45
44
|
* @param options
|
|
46
45
|
*/
|
|
47
46
|
constructor(handler: RouteHandler, { allowlist, denylist }?: NavigationRouteMatchOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationRoute.d.ts","sourceRoot":"","sources":["../src/NavigationRoute.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NavigationRoute.d.ts","sourceRoot":"","sources":["../src/NavigationRoute.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAA6B,MAAM,YAAY,CAAC;AAI1E,MAAM,WAAW,2BAA2B;IAC1C;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,qBAAa,eAAgB,SAAQ,KAAK;IACxC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAW;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAW;IAErC;;;;;;;;;;;;;;;;;OAiBG;gBACS,OAAO,EAAE,YAAY,EAAE,EAAE,SAAiB,EAAE,QAAa,EAAE,GAAE,2BAAgC;IAsBzG;;;;;;OAMG;IACH,OAAO,CAAC,MAAM;CA8Bf"}
|
package/dist/PrecacheRoute.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import type { PrecacheRouteOptions } from "./types.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class PrecacheRoute extends Route {
|
|
9
9
|
/**
|
|
10
|
-
* @param serwist A `
|
|
11
|
-
*
|
|
10
|
+
* @param serwist A `Serwist` instance used to both match requests
|
|
11
|
+
* and respond to fetch events.
|
|
12
12
|
* @param options Options to control how requests are matched
|
|
13
13
|
* against the list of precached URLs.
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrecacheRoute.d.ts","sourceRoot":"","sources":["../src/PrecacheRoute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrecacheRoute.d.ts","sourceRoot":"","sources":["../src/PrecacheRoute.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAKvD;;;GAGG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC;;;;;OAKG;gBACS,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,oBAAoB;CAkB7D"}
|
package/dist/RegExpRoute.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { RouteHandler } from "./types.js";
|
|
2
1
|
import { Route } from "./Route.js";
|
|
3
2
|
import type { HTTPMethod } from "./constants.js";
|
|
3
|
+
import type { RouteHandler } from "./types.js";
|
|
4
4
|
/**
|
|
5
|
-
* `RegExpRoute` makes it easy to create a
|
|
5
|
+
* `RegExpRoute` makes it easy to create a `Route` object with a regular expression.
|
|
6
6
|
*
|
|
7
7
|
* For same-origin requests the `RegExp` only needs to match part of the URL. For
|
|
8
8
|
* requests against third-party servers, you must define a `RegExp` that matches
|
|
@@ -15,8 +15,8 @@ export declare class RegExpRoute extends Route {
|
|
|
15
15
|
* the captured values will be passed to the `params` argument.
|
|
16
16
|
*
|
|
17
17
|
* @param regExp The regular expression to match against URLs.
|
|
18
|
-
* @param handler A callback function that returns a Promise resulting in a Response
|
|
19
|
-
* @param method The HTTP method to match the
|
|
18
|
+
* @param handler A callback function that returns a `Promise` resulting in a `Response`.
|
|
19
|
+
* @param method The HTTP method to match the route against. Defaults to `GET`.
|
|
20
20
|
* against.
|
|
21
21
|
*/
|
|
22
22
|
constructor(regExp: RegExp, handler: RouteHandler, method?: HTTPMethod);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegExpRoute.d.ts","sourceRoot":"","sources":["../src/RegExpRoute.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"RegExpRoute.d.ts","sourceRoot":"","sources":["../src/RegExpRoute.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAiD,MAAM,YAAY,CAAC;AAI9F;;;;;;GAMG;AACH,qBAAa,WAAY,SAAQ,KAAK;IACpC;;;;;;;;;OASG;gBACS,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,EAAE,UAAU;CAyCvE"}
|
package/dist/Route.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { RouteHandler, RouteHandlerObject, RouteMatchCallback } from "./types.js";
|
|
2
1
|
import type { HTTPMethod } from "./constants.js";
|
|
2
|
+
import type { RouteHandler, RouteHandlerObject, RouteMatchCallback } from "./types.js";
|
|
3
3
|
/**
|
|
4
|
-
* A `Route` consists of a pair of callback functions,
|
|
5
|
-
* The
|
|
6
|
-
* request by returning a
|
|
7
|
-
* is called when
|
|
4
|
+
* A `Route` consists of a pair of callback functions, `match and `handler.
|
|
5
|
+
* The `match` callback determines if a route should be used to handle a
|
|
6
|
+
* request by returning a truthy value if it can. The `handler callback
|
|
7
|
+
* is called when the route matches and should return a `Promise` that resolves
|
|
8
8
|
* to a `Response`.
|
|
9
9
|
*/
|
|
10
10
|
export declare class Route {
|
|
@@ -16,11 +16,11 @@ export declare class Route {
|
|
|
16
16
|
* Constructor for Route class.
|
|
17
17
|
*
|
|
18
18
|
* @param match A callback function that determines whether the
|
|
19
|
-
* route matches a given `fetch` event by returning a
|
|
20
|
-
* @param handler A callback function that returns a Promise resolving
|
|
21
|
-
* to a Response
|
|
22
|
-
* @param method The HTTP method to match the
|
|
23
|
-
* to GET
|
|
19
|
+
* route matches a given `fetch` event by returning a truthy value.
|
|
20
|
+
* @param handler A callback function that returns a `Promise` resolving
|
|
21
|
+
* to a `Response`.
|
|
22
|
+
* @param method The HTTP method to match the route against. Defaults
|
|
23
|
+
* to `GET`.
|
|
24
24
|
*/
|
|
25
25
|
constructor(match: RouteMatchCallback, handler: RouteHandler, method?: HTTPMethod);
|
|
26
26
|
/**
|
package/dist/Route.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Route.d.ts","sourceRoot":"","sources":["../src/Route.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Route.d.ts","sourceRoot":"","sources":["../src/Route.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIvF;;;;;;GAMG;AACH,qBAAa,KAAK;IAChB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAElC;;;;;;;;;OASG;gBACS,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAE,UAA0B;IAqBhG;;;;OAIG;IACH,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;CAG7C"}
|
package/dist/Serwist.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { RouteHandler, RouteHandlerCallback, RouteHandlerCallbackOptions, RouteMatchCallback, RouteMatchCallbackOptions, SerwistPlugin } from "./types.js";
|
|
2
1
|
import type { Route } from "./Route.js";
|
|
3
2
|
import { type HTTPMethod } from "./constants.js";
|
|
4
|
-
import { type GoogleAnalyticsInitializeOptions } from "./
|
|
5
|
-
import { type PrecacheFallbackEntry } from "./
|
|
6
|
-
import { Strategy } from "./strategies/Strategy.js";
|
|
3
|
+
import { type GoogleAnalyticsInitializeOptions } from "./lib/googleAnalytics/initializeGoogleAnalytics.js";
|
|
4
|
+
import { type PrecacheFallbackEntry } from "./lib/precaching/PrecacheFallbackPlugin.js";
|
|
5
|
+
import { Strategy } from "./lib/strategies/Strategy.js";
|
|
6
|
+
import type { RouteHandler, RouteHandlerCallback, RouteHandlerCallbackOptions, RouteMatchCallback, RouteMatchCallbackOptions, SerwistPlugin } from "./types.js";
|
|
7
7
|
import type { PrecacheRouteOptions, RuntimeCaching } from "./types.js";
|
|
8
8
|
import type { CleanupResult, InstallResult, PrecacheEntry } from "./types.js";
|
|
9
9
|
export interface FallbackEntry extends PrecacheFallbackEntry {
|
|
@@ -16,25 +16,26 @@ export interface FallbacksOptions {
|
|
|
16
16
|
}
|
|
17
17
|
export interface PrecacheOptions extends PrecacheRouteOptions {
|
|
18
18
|
/**
|
|
19
|
-
* The cache
|
|
19
|
+
* The cache used for precaching.
|
|
20
20
|
*/
|
|
21
21
|
cacheName?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface SerwistOptions {
|
|
24
|
-
/**
|
|
25
|
-
* A list of URLs that should be cached.
|
|
26
|
-
*/
|
|
27
|
-
precacheEntries?: (PrecacheEntry | string)[];
|
|
28
|
-
/**
|
|
29
|
-
* Options to customize how Serwist precaches the URLs in the precache list.
|
|
30
|
-
*/
|
|
31
|
-
precacheOptions?: PrecacheOptions;
|
|
32
22
|
/**
|
|
33
23
|
* Whether outdated caches should be removed.
|
|
34
24
|
*
|
|
35
25
|
* @default false
|
|
36
26
|
*/
|
|
37
27
|
cleanupOutdatedCaches?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The number of precache requests that should be made concurrently.
|
|
30
|
+
*
|
|
31
|
+
* @default 10
|
|
32
|
+
*/
|
|
33
|
+
concurrency?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to attempt to get the response from the network if there's
|
|
36
|
+
* a precache miss.
|
|
37
|
+
*/
|
|
38
|
+
fallbackToNetwork?: boolean;
|
|
38
39
|
/**
|
|
39
40
|
* An URL that should point to a HTML file with which navigation requests for URLs that aren't
|
|
40
41
|
* precached will be fulfilled.
|
|
@@ -54,17 +55,16 @@ export interface SerwistOptions {
|
|
|
54
55
|
* events for precached assets.
|
|
55
56
|
*/
|
|
56
57
|
plugins?: SerwistPlugin[];
|
|
58
|
+
}
|
|
59
|
+
export interface SerwistOptions {
|
|
57
60
|
/**
|
|
58
|
-
*
|
|
59
|
-
* a precache miss.
|
|
61
|
+
* A list of URLs that should be cached.
|
|
60
62
|
*/
|
|
61
|
-
|
|
63
|
+
precacheEntries?: (PrecacheEntry | string)[];
|
|
62
64
|
/**
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* @default 1
|
|
65
|
+
* Options to customize how Serwist precaches the URLs in the precache list.
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
precacheOptions?: PrecacheOptions;
|
|
68
68
|
/**
|
|
69
69
|
* Forces the waiting service worker to become the active one.
|
|
70
70
|
*
|
|
@@ -97,12 +97,10 @@ export interface SerwistOptions {
|
|
|
97
97
|
clientsClaim?: boolean;
|
|
98
98
|
/**
|
|
99
99
|
* A list of caching strategies.
|
|
100
|
-
*
|
|
101
|
-
* @see https://serwist.pages.dev/docs/sw/runtime-caching
|
|
102
100
|
*/
|
|
103
101
|
runtimeCaching?: RuntimeCaching[];
|
|
104
102
|
/**
|
|
105
|
-
* Your configuration for
|
|
103
|
+
* Your configuration for `initializeGoogleAnalytics`. This plugin is
|
|
106
104
|
* only initialized when this option is not `undefined` or `false`.
|
|
107
105
|
*/
|
|
108
106
|
offlineAnalyticsConfig?: Omit<GoogleAnalyticsInitializeOptions, "serwist"> | boolean;
|
|
@@ -114,17 +112,17 @@ export interface SerwistOptions {
|
|
|
114
112
|
disableDevLogs?: boolean;
|
|
115
113
|
/**
|
|
116
114
|
* Precaches routes so that they can be used as a fallback when
|
|
117
|
-
* a Strategy fails to generate a response.
|
|
118
|
-
*
|
|
119
|
-
* Note: This option mutates `runtimeCaching`. It also precaches the URLs
|
|
120
|
-
* defined in `entries`, so you must NOT precache any of them beforehand.
|
|
115
|
+
* a `Strategy` fails to generate a response.
|
|
121
116
|
*
|
|
122
|
-
*
|
|
117
|
+
* Note: This option mutates `runtimeCaching`. It also expects the URLs
|
|
118
|
+
* defined in `entries` to have been precached beforehand.
|
|
123
119
|
*/
|
|
124
120
|
fallbacks?: FallbacksOptions;
|
|
125
121
|
}
|
|
126
122
|
/**
|
|
127
123
|
* A class that helps bootstrap the service worker.
|
|
124
|
+
*
|
|
125
|
+
* @see https://serwist.pages.dev/docs/serwist/core/serwist
|
|
128
126
|
*/
|
|
129
127
|
export declare class Serwist {
|
|
130
128
|
private readonly _urlsToCacheKeys;
|
|
@@ -135,25 +133,22 @@ export declare class Serwist {
|
|
|
135
133
|
private readonly _routes;
|
|
136
134
|
private readonly _defaultHandlerMap;
|
|
137
135
|
private _catchHandler?;
|
|
138
|
-
constructor({ precacheEntries, precacheOptions,
|
|
136
|
+
constructor({ precacheEntries, precacheOptions, skipWaiting, importScripts, navigationPreload, cacheId, clientsClaim, runtimeCaching, offlineAnalyticsConfig, disableDevLogs, fallbacks, }?: SerwistOptions);
|
|
139
137
|
/**
|
|
140
|
-
* The strategy
|
|
141
|
-
* used to cache assets and respond to fetch events.
|
|
138
|
+
* The strategy used to precache assets and respond to fetch events.
|
|
142
139
|
*/
|
|
143
140
|
get precacheStrategy(): Strategy;
|
|
144
141
|
/**
|
|
145
|
-
* A `Map` of HTTP method name (`'GET'`, etc.) to an array of all
|
|
146
|
-
* instances
|
|
142
|
+
* A `Map` of HTTP method name (`'GET'`, etc.) to an array of all corresponding registered `Route`
|
|
143
|
+
* instances.
|
|
147
144
|
*/
|
|
148
145
|
get routes(): Map<HTTPMethod, Route[]>;
|
|
149
146
|
/**
|
|
150
|
-
*
|
|
151
|
-
* should you need to.
|
|
147
|
+
* Adds Serwist's event listeners for you. Before calling it, add your own listeners should you need to.
|
|
152
148
|
*/
|
|
153
149
|
addEventListeners(): void;
|
|
154
150
|
/**
|
|
155
|
-
*
|
|
156
|
-
* and ensuring the information is valid.
|
|
151
|
+
* Adds items to the precache list, removing duplicates and ensuring the information is valid.
|
|
157
152
|
*
|
|
158
153
|
* @param entries Array of entries to precache.
|
|
159
154
|
*/
|
|
@@ -217,7 +212,7 @@ export declare class Serwist {
|
|
|
217
212
|
setCatchHandler(handler: RouteHandler): void;
|
|
218
213
|
/**
|
|
219
214
|
* Registers a `RegExp`, string, or function with a caching
|
|
220
|
-
* strategy to the
|
|
215
|
+
* strategy to the router.
|
|
221
216
|
*
|
|
222
217
|
* @param capture If the capture param is a `Route`, all other arguments will be ignored.
|
|
223
218
|
* @param handler A callback function that returns a `Promise` resulting in a `Response`.
|
|
@@ -225,7 +220,7 @@ export declare class Serwist {
|
|
|
225
220
|
* @param method The HTTP method to match the Route against. Defaults to `'GET'`.
|
|
226
221
|
* @returns The generated `Route`.
|
|
227
222
|
*/
|
|
228
|
-
registerCapture
|
|
223
|
+
registerCapture<T extends RegExp | string | RouteMatchCallback | Route>(capture: T, handler?: T extends Route ? never : RouteHandler, method?: T extends Route ? never : HTTPMethod): Route;
|
|
229
224
|
/**
|
|
230
225
|
* Registers a `Route` with the router.
|
|
231
226
|
*
|
|
@@ -233,7 +228,7 @@ export declare class Serwist {
|
|
|
233
228
|
*/
|
|
234
229
|
registerRoute(route: Route): void;
|
|
235
230
|
/**
|
|
236
|
-
* Unregisters a `Route` with the
|
|
231
|
+
* Unregisters a `Route` with the router.
|
|
237
232
|
*
|
|
238
233
|
* @param route The `Route` to unregister.
|
|
239
234
|
*/
|
|
@@ -254,7 +249,7 @@ export declare class Serwist {
|
|
|
254
249
|
getPrecachedUrls(): string[];
|
|
255
250
|
/**
|
|
256
251
|
* Returns the cache key used for storing a given URL. If that URL is
|
|
257
|
-
* unversioned, like
|
|
252
|
+
* unversioned, like "/index.html", then the cache key will be the original
|
|
258
253
|
* URL with a search parameter appended to it.
|
|
259
254
|
*
|
|
260
255
|
* @param url A URL whose cache key you want to look up.
|
|
@@ -296,7 +291,7 @@ export declare class Serwist {
|
|
|
296
291
|
*/
|
|
297
292
|
createHandlerBoundToUrl(url: string): RouteHandlerCallback;
|
|
298
293
|
/**
|
|
299
|
-
*
|
|
294
|
+
* Applies the routing rules to a `FetchEvent` object to get a `Response` from an
|
|
300
295
|
* appropriate `Route`'s handler.
|
|
301
296
|
*
|
|
302
297
|
* @param options
|
package/dist/Serwist.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Serwist.d.ts","sourceRoot":"","sources":["../src/Serwist.ts"],"names":[],"m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