ts-service-worker 1.1.0 → 1.1.1
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/README.md +4 -5
- package/dist/cli.mjs +582 -243
- package/dist/index.js +582 -242
- package/dist/index.js.map +4 -4
- package/package.json +10 -8
- package/types/requestHandler.d.mts +1 -0
package/README.md
CHANGED
|
@@ -215,11 +215,10 @@ There are [other libraries](#other-libraries) designed to help, which may be use
|
|
|
215
215
|
These are the basics of how service workers function:
|
|
216
216
|
- https://web.dev/learn/pwa/serving/
|
|
217
217
|
- https://web.dev/offline-cookbook/
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
See the service workers generated with this tool:
|
|
222
|
-
- [https://amp-what.com/service-worker.js]
|
|
218
|
+
- Interesting reference showing the complexities: https://adactio.com/serviceworker.js and https://adactio.medium.com/cache-limiting-in-service-workers-d6741361ca19
|
|
219
|
+
- The complexities of testing service workers: [https://medium.com/dev-channel/testing-service-workers-318d7b016b19]
|
|
220
|
+
- Service worker mocking library: [https://github.com/zackargyle/service-workers/tree/master/packages/service-worker-mock]
|
|
221
|
+
- See the service workers generated with this tool: [https://amp-what.com/service-worker.js]
|
|
223
222
|
|
|
224
223
|
## Other Libraries
|
|
225
224
|
- https://web.dev/learn/pwa/workbox/ -- popular and very cool tool. This will work for many projects, but I was looking for something where I had a little more control.
|