@serwist/sw 9.5.7 → 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 +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +9 -10
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -2
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RuntimeCaching, disableDevLogs } from "serwist";
|
|
2
|
+
import { FallbackEntry, FallbacksOptions, HandlePrecachingOptions, InstallSerwistOptions, InstallSerwistOptions as SerwistOptions, fallbacks, handlePrecaching, installSerwist, registerRuntimeCaching } from "serwist/legacy";
|
|
3
|
+
export { type FallbackEntry, type FallbacksOptions, type HandlePrecachingOptions, type InstallSerwistOptions, type RuntimeCaching, type SerwistOptions, disableDevLogs, fallbacks, handlePrecaching, installSerwist, registerRuntimeCaching };
|
package/dist/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/sw",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A service worker helper module.",
|
|
6
6
|
"files": [
|
|
@@ -21,22 +21,21 @@
|
|
|
21
21
|
"repository": "https://github.com/serwist/serwist",
|
|
22
22
|
"bugs": "https://github.com/serwist/serwist/issues",
|
|
23
23
|
"homepage": "https://serwist.pages.dev",
|
|
24
|
-
"main": "./dist/index.
|
|
25
|
-
"types": "./dist/index.d.
|
|
24
|
+
"main": "./dist/index.mjs",
|
|
25
|
+
"types": "./dist/index.d.mts",
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
28
|
-
"types": "./dist/index.d.
|
|
29
|
-
"default": "./dist/index.
|
|
28
|
+
"types": "./dist/index.d.mts",
|
|
29
|
+
"default": "./dist/index.mjs"
|
|
30
30
|
},
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"serwist": "9.5.
|
|
34
|
+
"serwist": "9.5.8"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"
|
|
38
|
-
"typescript": "
|
|
39
|
-
"@serwist/configs": "9.5.7"
|
|
37
|
+
"tsdown": "0.21.10",
|
|
38
|
+
"typescript": "6.0.3"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
41
|
"typescript": ">=5.0.0"
|
|
@@ -47,7 +46,7 @@
|
|
|
47
46
|
}
|
|
48
47
|
},
|
|
49
48
|
"scripts": {
|
|
50
|
-
"build": "rimraf dist && NODE_ENV=production
|
|
49
|
+
"build": "rimraf dist && NODE_ENV=production tsdown",
|
|
51
50
|
"lint": "biome lint ./src",
|
|
52
51
|
"typecheck": "tsc"
|
|
53
52
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type { RuntimeCaching } from "serwist";
|
|
2
|
-
export { disableDevLogs } from "serwist";
|
|
3
|
-
export type { FallbackEntry, FallbacksOptions, HandlePrecachingOptions, InstallSerwistOptions, InstallSerwistOptions as SerwistOptions, } from "serwist/legacy";
|
|
4
|
-
export { fallbacks, handlePrecaching, installSerwist, registerRuntimeCaching, } from "serwist/legacy";
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
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,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,IAAI,cAAc,GACxC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,sBAAsB,GACvB,MAAM,gBAAgB,CAAC"}
|
package/dist/index.js
DELETED