@serwist/strategies 9.5.6 → 9.5.8
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.mts +2 -0
- package/dist/{index.d.ts → index.mjs} +2 -3
- package/package.json +9 -10
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CacheFirst, CacheOnly, NetworkFirst, NetworkFirstOptions, NetworkOnly, NetworkOnlyOptions, StaleWhileRevalidate, Strategy, StrategyHandler, StrategyOptions } from "serwist";
|
|
2
|
+
export { CacheFirst, CacheOnly, NetworkFirst, type NetworkFirstOptions, NetworkOnly, type NetworkOnlyOptions, StaleWhileRevalidate, Strategy, StrategyHandler, type StrategyOptions };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export { CacheFirst, CacheOnly, NetworkFirst, NetworkOnly, StaleWhileRevalidate, Strategy, StrategyHandler }
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
import { CacheFirst, CacheOnly, NetworkFirst, NetworkOnly, StaleWhileRevalidate, Strategy, StrategyHandler } from "serwist";
|
|
2
|
+
export { CacheFirst, CacheOnly, NetworkFirst, NetworkOnly, StaleWhileRevalidate, Strategy, StrategyHandler };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/strategies",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A service worker helper library implementing common caching strategies.",
|
|
6
6
|
"files": [
|
|
@@ -23,22 +23,21 @@
|
|
|
23
23
|
"repository": "https://github.com/serwist/serwist",
|
|
24
24
|
"bugs": "https://github.com/serwist/serwist/issues",
|
|
25
25
|
"homepage": "https://serwist.pages.dev",
|
|
26
|
-
"main": "./dist/index.
|
|
27
|
-
"types": "./dist/index.d.
|
|
26
|
+
"main": "./dist/index.mjs",
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
|
-
"types": "./dist/index.d.
|
|
31
|
-
"default": "./dist/index.
|
|
30
|
+
"types": "./dist/index.d.mts",
|
|
31
|
+
"default": "./dist/index.mjs"
|
|
32
32
|
},
|
|
33
33
|
"./package.json": "./package.json"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"serwist": "9.5.
|
|
36
|
+
"serwist": "9.5.8"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"
|
|
40
|
-
"typescript": "
|
|
41
|
-
"@serwist/configs": "9.5.6"
|
|
39
|
+
"tsdown": "0.21.10",
|
|
40
|
+
"typescript": "6.0.3"
|
|
42
41
|
},
|
|
43
42
|
"peerDependencies": {
|
|
44
43
|
"typescript": ">=5.0.0"
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
}
|
|
50
49
|
},
|
|
51
50
|
"scripts": {
|
|
52
|
-
"build": "rimraf dist && NODE_ENV=production
|
|
51
|
+
"build": "rimraf dist && NODE_ENV=production tsdown",
|
|
53
52
|
"lint": "biome lint ./src",
|
|
54
53
|
"typecheck": "tsc"
|
|
55
54
|
}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CacheFirst, CacheOnly, NetworkFirst, NetworkOnly, StaleWhileRevalidate, Strategy, StrategyHandler } from 'serwist';
|