summaryrefslogtreecommitdiff
path: root/dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map
diff options
context:
space:
mode:
authorBrokenTalentsFun CI <ci@brokentalents.fun>2018-06-08 19:36:11 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:16 +0100
commit10cf870629e860616899848d7f1c849d0b810342 (patch)
tree4c7e2831f3857c07681fefee1611d1c49f0ef25b /dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map
parent505a67dc32206a0c603258d856fcbe00e53fc1f5 (diff)
downloadbrokentalents-10cf870629e860616899848d7f1c849d0b810342.tar.gz
brokentalents-10cf870629e860616899848d7f1c849d0b810342.zip
automatic build
Diffstat (limited to 'dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map')
-rw-r--r--dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map b/dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map
new file mode 100644
index 0000000..bafcf76
--- /dev/null
+++ b/dist/workbox-v3.2.0/workbox-broadcast-cache-update.prod.js.map
@@ -0,0 +1 @@
+{"version":3,"names":[],"mappings":"","sources":["packages/workbox-broadcast-cache-update/browser.mjs"],"sourcesContent":["this.workbox=this.workbox||{},this.workbox.broadcastUpdate=function(t){\"use strict\";try{self.workbox.v[\"workbox:broadcast-cache-update:3.2.0\"]=1}catch(t){}const e=(t,e,s)=>{return!s.some(s=>t.headers.has(s)&&e.headers.has(s))||s.every(s=>{const a=t.headers.has(s)===e.headers.has(s),n=t.headers.get(s)===e.headers.get(s);return a&&n})};var s={CACHE_UPDATED:\"CACHE_UPDATED\"};const a=(t,e,a,n)=>{\"BroadcastChannel\"in self&&t&&t.postMessage({type:s.CACHE_UPDATED,meta:n,payload:{cacheName:e,updatedUrl:a}})};class n{constructor(t,{headersToCheck:e,source:s}={}){this.t=t,this.e=e||[\"content-length\",\"etag\",\"last-modified\"],this.s=s||\"workbox-broadcast-cache-update\"}a(){return\"BroadcastChannel\"in self&&!this.n&&(this.n=new BroadcastChannel(this.t)),this.n}notifyIfUpdated(t,s,n,c){e(t,s,this.e)||a(this.a(),c,n,this.s)}}return t.BroadcastCacheUpdate=n,t.Plugin=class{constructor(t,e){this.c=new n(t,e)}cacheDidUpdate({cacheName:t,oldResponse:e,newResponse:s,request:a}){e&&this.c.notifyIfUpdated(e,s,a.url,t)}},t.broadcastUpdate=a,t.messageTypes=s,t}({});\n"],"file":"workbox-broadcast-cache-update.prod.js"} \ No newline at end of file