@serwist/precaching 9.2.3 → 9.3.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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
+ export type { CleanupResult, InstallResult, PrecacheEntry, PrecacheRouteOptions, UrlManipulation as urlManipulation } from "serwist";
1
2
  export { PrecacheStrategy } from "serwist";
2
- export { addPlugins, addRoute, createHandlerBoundToURL, getCacheKeyForURL, matchPrecache, precache, precacheAndRoute, PrecacheController, PrecacheFallbackPlugin, PrecacheRoute, } from "serwist/legacy";
3
3
  export { cleanupOutdatedCaches } from "serwist/internal";
4
- export type { CleanupResult, InstallResult, PrecacheEntry, PrecacheRouteOptions, UrlManipulation as urlManipulation } from "serwist";
5
4
  export type { PrecacheFallbackEntry, PrecacheFallbackPluginOptions } from "serwist/legacy";
5
+ export { addPlugins, addRoute, createHandlerBoundToURL, getCacheKeyForURL, matchPrecache, PrecacheController, PrecacheFallbackPlugin, PrecacheRoute, precache, precacheAndRoute, } from "serwist/legacy";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,oBAAoB,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,SAAS,CAAC;AACrI,YAAY,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,oBAAoB,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,SAAS,CAAC;AACrI,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,YAAY,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EACL,UAAU,EACV,QAAQ,EACR,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,EACb,QAAQ,EACR,gBAAgB,GACjB,MAAM,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export { PrecacheStrategy } from 'serwist';
2
- export { PrecacheController, PrecacheFallbackPlugin, PrecacheRoute, addPlugins, addRoute, createHandlerBoundToURL, getCacheKeyForURL, matchPrecache, precache, precacheAndRoute } from 'serwist/legacy';
3
2
  export { cleanupOutdatedCaches } from 'serwist/internal';
3
+ export { PrecacheController, PrecacheFallbackPlugin, PrecacheRoute, addPlugins, addRoute, createHandlerBoundToURL, getCacheKeyForURL, matchPrecache, precache, precacheAndRoute } from 'serwist/legacy';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/precaching",
3
- "version": "9.2.3",
3
+ "version": "9.3.0",
4
4
  "type": "module",
5
5
  "description": "A module that efficiently precaches assets.",
6
6
  "files": [
@@ -31,12 +31,12 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "dependencies": {
34
- "serwist": "9.2.3"
34
+ "serwist": "9.3.0"
35
35
  },
36
36
  "devDependencies": {
37
- "rollup": "4.53.3",
37
+ "rollup": "4.54.0",
38
38
  "typescript": "5.9.3",
39
- "@serwist/configs": "9.2.3"
39
+ "@serwist/configs": "9.3.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "typescript": ">=5.0.0"
package/src/index.ts CHANGED
@@ -1,16 +1,16 @@
1
+ export type { CleanupResult, InstallResult, PrecacheEntry, PrecacheRouteOptions, UrlManipulation as urlManipulation } from "serwist";
1
2
  export { PrecacheStrategy } from "serwist";
3
+ export { cleanupOutdatedCaches } from "serwist/internal";
4
+ export type { PrecacheFallbackEntry, PrecacheFallbackPluginOptions } from "serwist/legacy";
2
5
  export {
3
6
  addPlugins,
4
7
  addRoute,
5
8
  createHandlerBoundToURL,
6
9
  getCacheKeyForURL,
7
10
  matchPrecache,
8
- precache,
9
- precacheAndRoute,
10
11
  PrecacheController,
11
12
  PrecacheFallbackPlugin,
12
13
  PrecacheRoute,
14
+ precache,
15
+ precacheAndRoute,
13
16
  } from "serwist/legacy";
14
- export { cleanupOutdatedCaches } from "serwist/internal";
15
- export type { CleanupResult, InstallResult, PrecacheEntry, PrecacheRouteOptions, UrlManipulation as urlManipulation } from "serwist";
16
- export type { PrecacheFallbackEntry, PrecacheFallbackPluginOptions } from "serwist/legacy";