{"_id":"sw-broadcast-cache-update","_rev":"51-968e948d0cd0ed2b448aa63de533a247","name":"sw-broadcast-cache-update","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","dist-tags":{"latest":"0.0.23","alpha":"0.0.3"},"versions":{"0.0.3":{"name":"sw-broadcast-cache-update","version":"0.0.3","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/broadcast-cache-update.umd.min.js","module":"build/broadcast-cache-update.min.mjs","jsnext:main":"build/broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.3","scripts":{},"_shasum":"53406e5eb65c8cb0871c2f341f68d29984d95474","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"53406e5eb65c8cb0871c2f341f68d29984d95474","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.3.tgz","integrity":"sha512-AwCvkBlqTVZ5oMc/rQYgKf4m4OEHarasAZy5dzebuoBq3aPN5KustFsBuo8l8F+cljk9dWTQnXOB0eZbfua6Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDMI/NJbbZA5x5Km8JndZrfUOb+PcSTTJvW5y/baiGQQIgbXKkPEqvb9G3uQ04ci1h1qUSpNNq515k0WfVFBqMw1k="}]},"maintainers":[{"name":"gauntface","email":"matt@gauntface.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.3.tgz_1478558971245_0.03132350160740316"},"directories":{}},"0.0.4":{"name":"sw-broadcast-cache-update","version":"0.0.4","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/broadcast-cache-update.umd.min.js","module":"build/broadcast-cache-update.min.mjs","jsnext:main":"build/broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.4","scripts":{},"_shasum":"fb7fa461efc7eb02623057525b1fbc813191002f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"fb7fa461efc7eb02623057525b1fbc813191002f","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.4.tgz","integrity":"sha512-m5oAicqpUaPbArrxs3Ma2nWBDHnVltSPZl2CWyc0qrB/JpPwTA0OS6zLWUVR6pZOptSzbree74TI5k1xbnpQJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEsmWgcCTIX5SgYUwUNnHico1lBPhetekuKzYfMArfXAiAnVmhjSQBaCux84Cr13nmLO3mpOXQZ9yvX18mkFSDHEg=="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.4.tgz_1478823409714_0.9028147826902568"},"directories":{}},"0.0.5":{"name":"sw-broadcast-cache-update","version":"0.0.5","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.5","scripts":{},"_shasum":"479f1635eb2dd2254f57376b08efc376dfeade32","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"479f1635eb2dd2254f57376b08efc376dfeade32","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.5.tgz","integrity":"sha512-itioQqSnOnS+g9e6L0d0auXdMmgeXAHu420a2zpELkDbTCQoqrc/8d5TIR2bHYWxbbg7CTxDY/HpBCfLKRJ/HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfgibrV7PHP3GJQ/DehIqvvHFbBoD2eZ79veFpUBKNmAiEAkYmwhaOFuOtc+1MPEq4JZJISSMo7thtpSnMTA1wIWPA="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.5.tgz_1483741519871_0.004557800246402621"},"directories":{}},"0.0.6":{"name":"sw-broadcast-cache-update","version":"0.0.6","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.6","scripts":{},"_shasum":"ab1e6210784c470a380cc656ebd2c4eb6e4e5d5d","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"ab1e6210784c470a380cc656ebd2c4eb6e4e5d5d","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.6.tgz","integrity":"sha512-NV4zUxhvEU6C/RjF89wZTSIlrIStxknAG5CJljPe7EAnDEGA5VdiY+84t061ZIfengwrSCq+NdjWiJI6pCIjQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjSWXJWp6nnWvSHzBYAlvvGfrE0s/CPB9dmZFj3dpsUAiEAq8Q5h575Zq9+1i10ntSGAeKzbLpKfE0nSEbJaNeEfBA="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.6.tgz_1483741685657_0.8916899461764842"},"directories":{}},"0.0.7":{"name":"sw-broadcast-cache-update","version":"0.0.7","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.7","scripts":{},"_shasum":"5b4ccdb2763a4264861164bdd9f0ca67c9dc8f6e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"5b4ccdb2763a4264861164bdd9f0ca67c9dc8f6e","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.7.tgz","integrity":"sha512-zlitBZEboV7RAtB09Rd/99Iusqhw/fNjJO5zbiDFibl/BT7apJt5QYE5IoKlSMz+rnDQTyBSzHvQg+choKH+Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrsCZYU8GcDn8P0wyRqkV9zqA0isJGRsLQP6JJdIAqgQIgUH6xTumsI7fdQWooZMDkQmA1KzLGhGocZsqt8CQnfuM="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.7.tgz_1483741799120_0.7568490114063025"},"directories":{}},"0.0.8":{"name":"sw-broadcast-cache-update","version":"0.0.8","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.8","scripts":{},"_shasum":"5d80dd9459a1065f5b78c8a5fced28d8b40223a1","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"5d80dd9459a1065f5b78c8a5fced28d8b40223a1","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.8.tgz","integrity":"sha512-4FBledOFUt1ygm1PMO4cBeF90whE00K9uzlhIKFL/No43nb4pyfVr/EIQD/cY1PxPK1ydBMcfJnhJlR/F9moZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2gLM6oOUKnuP8QFcU/GGaO3/LW9hgC36dRrC2aCGhtAiAzGgtjRLH23tbbL2ljF+TP5BviJb7D15c3+NZKzYgkjw=="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.8.tgz_1486410160854_0.6177078110631555"},"directories":{}},"0.0.9":{"name":"sw-broadcast-cache-update","version":"0.0.9","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.9","scripts":{},"_shasum":"ef3dfed22640545aa3c8f85739b16de8f11f47e1","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"ef3dfed22640545aa3c8f85739b16de8f11f47e1","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.9.tgz","integrity":"sha512-YvM+Wg8igopO8m775bGa3b0qnnMyi5qLG2kjhIqwt4XlJ91JZAxearKdL8vbGtSkknzPu8w5Q6EYQ3aceX3Slw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcYmhEmEWo+E/cc0zzaiv26zZ9aipWT62Nq3n8R3oNkAiBrNy/9ttGvLlKta4tdp0eZuc/zTyfoF7XVn47BnrzmbQ=="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.9.tgz_1487887851763_0.40247849258594215"},"directories":{}},"0.0.10":{"name":"sw-broadcast-cache-update","version":"0.0.10","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.10","scripts":{},"_shasum":"f90fa30f6b096eff54241e568b384c9467ea3152","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"f90fa30f6b096eff54241e568b384c9467ea3152","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.10.tgz","integrity":"sha512-feVatzsLEmYfA0CJUL9hKqZbaDfCa1yi0KjOjNneAmBPaIzxda36uJjoPmgWnlKMq3hapgYPjRgrD06PjDH8qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6TxLQgQIaPXn4pjZjYKztPxEEixGpiAOOt1PQyiE3hAiA+Ja3pAs4t7E49+kvTYYwnaEhSX57eryuwFbq7m/QLBg=="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.10.tgz_1487888127454_0.8064324106089771"},"directories":{}},"0.0.13":{"name":"sw-broadcast-cache-update","version":"0.0.13","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.13","_shasum":"d4fe51400dfd9756c014673c5f4fde5561a5e2bc","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"d4fe51400dfd9756c014673c5f4fde5561a5e2bc","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.13.tgz","integrity":"sha512-qcKT6cx5hInzpcB8lRuw8Lv9oactJGuflEOm+zyhW21f14pDcs8F+2v9wAyy6Wnz7VsSwicVIMhRSLecrQJQCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEfG3MpLMWf//OTRJevAXhe8rWEwNNmvcInjMgWookAAiEAk6dLUdybGzRjhrOcoIS9YKyxb8P5uusV7QEN1ipxxk0="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.13.tgz_1487889104935_0.8784730297047645"},"directories":{}},"0.0.14":{"name":"sw-broadcast-cache-update","version":"0.0.14","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.14","_shasum":"1b916c380c90babbb98b966900cd2124b8de2c4f","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"1b916c380c90babbb98b966900cd2124b8de2c4f","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.14.tgz","integrity":"sha512-GdsF58PFzZ7d0e0Dh85OJEuUVnmem/xsAXK7kqzXyxyPAaw0U7ivP0BW+j0kcKRYt3qdYycQ1GoLsMA6sBunCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4TJOcVbhqQFNE2EPdGSFkfWLgs8MM3cIPzsrOGxCuQAIhAL5hTRbhhye9Vs23SOZwexWspWAkHASJSuK8rv2dzFYN"}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.14.tgz_1489470723994_0.11858680378645658"},"directories":{}},"0.0.15":{"name":"sw-broadcast-cache-update","version":"0.0.15","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.15","_shasum":"6ac848b3c4a8b73040b6687b08fbc0c5eeb0ebc4","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"6ac848b3c4a8b73040b6687b08fbc0c5eeb0ebc4","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.15.tgz","integrity":"sha512-51cIByOebsSFIL+b2UycCsDDRMYHzabhtBR94Dee+G7XYJZIXesUnlru5DepZ8wywrAaXDASk3mSoWcYkeUD7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnvCapPCxZLIsRbYi2iSA5CElz7eiDP2MN+bWLI+uaLQIgNpsGU5hFjYODxVVjLPv4E3ad4ai0OExfqhLkrbmGz3c="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.15.tgz_1489470854048_0.5510831826832145"},"directories":{}},"0.0.16":{"name":"sw-broadcast-cache-update","version":"0.0.16","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.16","_shasum":"bf8cfa2d65faf9b4e2d88fab01e0ac909db10d6d","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"bf8cfa2d65faf9b4e2d88fab01e0ac909db10d6d","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.16.tgz","integrity":"sha512-tvdlPkz8QXChqF5JR9RMqglwo8nQznCXsHTXKi3yqgnBnNIOZKjypeV20RAdGDBt4i989v/3af54nWCR5109wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz6WA9DW0W64Hl4bh5+GamXYvwwxxmmhjJyqUds5JseAIhAN8QZiky5Jd0aXG7TXMsDW89y6xZ4dq06ayuGkAkWHkV"}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.16.tgz_1489471306083_0.96525441063568"},"directories":{}},"0.0.18":{"name":"sw-broadcast-cache-update","version":"0.0.18","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.18","_shasum":"8d5bb0e4a0b65afcd80d69a0ad15bc9d28ca0079","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"gauntface","email":"matt@gauntface.co.uk"},"dist":{"shasum":"8d5bb0e4a0b65afcd80d69a0ad15bc9d28ca0079","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.18.tgz","integrity":"sha512-mXULkUcfiT81eC6yIc8OTKWdQW75anhxURoNMO0gxe/YnRAWJ+IrMQPRhvVElfylWBHZzc4KOlITgN8D0KxjXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqbxnAz7HoR6olGTh67iTfDGzQ0bPlfB/5+vhSU/qfhAiA6LWdLSQnkb087DkkBscgolHyUPDPKO15r6TOhCA/zvw=="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.18.tgz_1491420851515_0.15133015508763492"},"directories":{}},"0.0.19":{"name":"sw-broadcast-cache-update","version":"0.0.19","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.19","_shasum":"d759b3ff1999e2d98fe39e5112c73d446b07044e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"d759b3ff1999e2d98fe39e5112c73d446b07044e","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.19.tgz","integrity":"sha512-7kUotVVNKbMQIxx8ZOArbtAyhNEAdYoRgY9upwzwWoM811mhytP5G8yj5NaBtgT9IwPe0GwQSbUz3JfTAX5uaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzUxBrsnGhlQMY9WOHKkIwA+pVTrQFpHPGR9dSpx5UrgIhAPjE3a1WrCnHBgbHSHJSsgi/RMtvNclFskDbdvDiWxse"}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.19.tgz_1493073634979_0.5452917432412505"},"directories":{}},"0.0.20":{"name":"sw-broadcast-cache-update","version":"0.0.20","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["src","build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/sw-broadcast-cache-update.min.js","module":"build/sw-broadcast-cache-update.min.mjs","jsnext:main":"build/sw-broadcast-cache-update.min.mjs","_id":"sw-broadcast-cache-update@0.0.20","_shasum":"c3129f163a22dba2d66a1f5fbf21eedb5ab022ca","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"c3129f163a22dba2d66a1f5fbf21eedb5ab022ca","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.20.tgz","integrity":"sha512-2zTosWGXxPjyrWxwX22DrDSr0T5Wlq+VSlDDn++BQnRmL6l4ZsWQ24SU8xmfHIiLXfBcYD8jCwj9vHX4BvsHOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUIuzN7mDZ1o/G7OCNDeuhHqP97msvRLWvZlg1g36QnAiB+Oro4gQ1/W//cPO4fwE8vczvEIWUYfoAzI20dd61m0Q=="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.20.tgz_1493833567663_0.46655087103135884"},"directories":{}},"0.0.21":{"name":"sw-broadcast-cache-update","version":"0.0.21","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/importScripts/sw-broadcast-cache-update.prod.v0.0.20.js","module":"build/modules/sw-broadcast-cache-update.prod.v0.0.20.mjs","_id":"sw-broadcast-cache-update@0.0.21","_shasum":"30822f54c0c77e0013148cca87ef6bd25ee9fcd0","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"30822f54c0c77e0013148cca87ef6bd25ee9fcd0","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.21.tgz","integrity":"sha512-zQbEhdMyMhYjP16Hohwd+zg9cJrCQmDva85/gzSsJ39IULy4u8jORS5lcjNghFQ+jc1wTv7PAFwa8Vx2j45nrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6Q3VhYxo03HU6IoTjCgaQLNuo90ZvGXDGR+aHKPmOIQIhAPY4MaX/IAT3vfBsXKzFMQfJutuHph4zXWDOkxIwkvKn"}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.21.tgz_1494288087568_0.8509203651919961"},"directories":{}},"0.0.22":{"name":"sw-broadcast-cache-update","version":"0.0.22","description":"A helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/importScripts/sw-broadcast-cache-update.prod.v0.0.22.js","module":"build/modules/sw-broadcast-cache-update.prod.v0.0.22.mjs","_id":"sw-broadcast-cache-update@0.0.22","_shasum":"726a0e1c5260befd30d2e3462d15cdaa1578d1d9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"726a0e1c5260befd30d2e3462d15cdaa1578d1d9","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.22.tgz","integrity":"sha512-TK3Qdj0zv/wRpV1hrWIZ0iluxluglGZLyov2sO+VlkEiItTAZ2tK56V4mtuuBIOVuvps4MzUJthuxDgh7Y9jjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgi6HLdiUBZnHkCOGcjLiy4tYXuIJa0E6xlGE11V8hYAiEAgqb1oL1/K6jRaqo8nQ8X9tzzdnx3KLY890lo5H3GWrk="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.22.tgz_1494290144092_0.7847161428071558"},"directories":{}},"0.0.23":{"name":"sw-broadcast-cache-update","version":"0.0.23","description":"A service worker helper library that uses the Broadcast Channel API to announce when two Response objects differ.","keywords":["service worker","sw","caching","cache","sw-fw"],"files":["build"],"scripts":{"prepublish":"gulp build --project sw-broadcast-cache-update"},"author":{"name":"Google's Web DevRel Team"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","main":"build/importScripts/sw-broadcast-cache-update.prod.v0.0.23.js","module":"build/modules/sw-broadcast-cache-update.prod.v0.0.23.mjs","_id":"sw-broadcast-cache-update@0.0.23","_shasum":"36c1c17a20ac81d643fdd6dc874ad630d96038e4","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"36c1c17a20ac81d643fdd6dc874ad630d96038e4","tarball":"https://registry.npmjs.org/sw-broadcast-cache-update/-/sw-broadcast-cache-update-0.0.23.tgz","integrity":"sha512-IusS4PmlEXa4yN4NG3gytf0kYRMiETg5qo5xr5Cm/8pl2GnhE/AXcANLC9Mj+vPioTMfkLNgHesH/Wgl9eiV6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtM4C6XzVBsEgQavyJJRIF/HfnIyeLenIvPZTAAGPmuQIgZ7LWNk+SbWPC4QfzBYg1j9KFOAfWXdCu5XTEplS3jUw="}]},"maintainers":[{"name":"addyosmani","email":"addyosmani@gmail.com"},{"name":"gauntface","email":"matt@gauntface.co.uk"},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sw-broadcast-cache-update-0.0.23.tgz_1494292232059_0.3519404726102948"},"directories":{}}},"readme":"# sw-broadcast-cache-update\n\nA helper library that uses the Broadcast Channel API to announce when two Response objects differ.\n\n## Installation\n\n`npm install --save-dev sw-broadcast-cache-update`\n\n## Demo\n\nBrowse sample source code in the [demo directory](https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update/demo), or\n[try it out](https://googlechrome.github.io/sw-helpers/sw-broadcast-cache-update/demo/) directly.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n### goog.broadcastCacheUpdate\n\n[packages/sw-broadcast-cache-update/src/index.js:24-29](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/index.js#L24-L29 \"Source code on GitHub\")\n\n### Behavior\n\n[packages/sw-broadcast-cache-update/src/lib/behavior.js:66-155](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/lib/behavior.js#L66-L155 \"Source code on GitHub\")\n\n**Examples**\n\n```javascript\n// Used as an automatically invoked as \"behavior\" by a RequestWrapper:\n\nconst requestWrapper = new goog.runtimeCaching.RequestWrapper({\n  cacheName: 'runtime-cache',\n  behaviors: [\n    new goog.broadcastCacheUpdate.Behavior({channelName: 'cache-updates'})\n  ]\n});\n\n// Set up a route to match any requests made against the example.com domain.\n// The requests will be handled with a stale-while-revalidate policy, and the\n// cache update notification behavior, as configured in requestWrapper, will\n// be automatically applied.\nconst route = new goog.routing.RegExpRoute({\n  match: ({url}) => url.domain === 'example.com',\n  handler: new goog.runtimeCaching.StaleWhileRevalidate({requestWrapper})\n});\n```\n\n```javascript\n// Explicitly invoked usage independent of the goog.routing framework, via\n// the notifyIfUpdated() method:\n\nconst cacheUpdateBehavior = new goog.broadcastCacheUpdates.Behavior({\n  channelName: 'cache-updates'\n});\n\nconst url = 'https://example.com';\nconst cacheName = 'runtime-cache';\n\nconst cache = await caches.open(cacheName);\nconst oldResponse = await cache.match(url);\nconst newResponse = await fetch(url);\nawait cache.put(url, newResponse);\n\n// Only check for an update if there was a previously cached Response.\nif (oldResponse) {\n  cacheUpdateBehavior.notifyIfUpdated({\n    first: oldResponse,\n    second: newResponse,\n    cacheName\n  });\n}\n```\n\n#### constructor\n\n[packages/sw-broadcast-cache-update/src/lib/behavior.js:86-92](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/lib/behavior.js#L86-L92 \"Source code on GitHub\")\n\nCreates a new `Behavior` instance, which is used to compare two\n[`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response)s\nand use the [Broadcast Channel API](https://developers.google.com/web/updates/2016/09/broadcastchannel)\nto notify interested parties when those `Response`s differ.\n\nFor efficiency's sake, the underlying response bodies are not compared;\nonly specific response headers are checked.\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.channelName` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** The name that will be used when creating the\n               [`BroadcastChannel`](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/BroadcastChannel).\n    -   `$0.headersToCheck` **\\[[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>]** A list of headers that will be\n               used to determine whether the `Response`s differ. If not provided,\n               the values `['content-length', 'etag', 'last-modified']` are used.\n    -   `$0.source` **\\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** An attribution value that will be used in the\n               broadcast message to indicate where the update originated. If not\n               provided, a\n               [default value](constants#defaultSource) will be used.\n\n#### notifyIfUpdated\n\n[packages/sw-broadcast-cache-update/src/lib/behavior.js:146-154](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/lib/behavior.js#L146-L154 \"Source code on GitHub\")\n\nAn explicit method to call from your own code to trigger the comparison of\ntwo [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response)\nand fire off a notification via the\n[Broadcast Channel API](https://developers.google.com/web/updates/2016/09/broadcastchannel)\nif they differ.\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.first` **[Response](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)** One of the responses to compare.\n               This should not be an [opaque response](http://stackoverflow.com/questions/39109789).\n    -   `$0.second` **[Response](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)** Another of the respones to compare.\n               This should not be an [opaque response](http://stackoverflow.com/questions/39109789).\n    -   `$0.cacheName` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the cache the `Response`s belong to.\n\n### broadcastUpdate\n\n[packages/sw-broadcast-cache-update/src/lib/broadcast-update.js:51-65](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/lib/broadcast-update.js#L51-L65 \"Source code on GitHub\")\n\nUses the [Broadcast Channel API](https://developers.google.com/web/updates/2016/09/broadcastchannel)\nto notify interested subscribers about a change to a cached resource.\n\nYou would not normally call this method directly; it's called automatically\nby an instance of the [Behavior](#behavior) class. It's exposed here for the\nbenefit of developers who would rather not use the full `Behavior`\nimplementation.\n\nThe message that's posted takes the following format, inspired by the\n[Flux standard action](https://github.com/acdlite/flux-standard-action#introduction)\nformat. (Usage of [Flux](https://facebook.github.io/flux/) itself is not at\nall required.)\n\n    {\n      type: 'CACHE_UPDATED',\n      meta: 'sw-broadcast-cache-update',\n      payload: {\n        cacheName: 'the-cache-name',\n        updatedUrl: 'https://example.com/'\n      }\n    }\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.channel` **BroadcastChannel** The `BroadcastChannel` to use.\n    -   `$0.cacheName` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the cache in which the updated\n               `Response` was stored.\n    -   `$0.url` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** The URL associated with the updated `Response`.\n    -   `$0.source` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** A string identifying this library as the source of\n               the update message.\n\n### cacheUpdatedMessageType\n\n[packages/sw-broadcast-cache-update/src/lib/constants.js:21-21](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/lib/constants.js#L21-L21 \"Source code on GitHub\")\n\n### responsesAreSame\n\n[packages/sw-broadcast-cache-update/src/lib/responses-are-same.js:29-38](https://github.com/GoogleChrome/sw-helpers/blob/22ad29135f05f0599df57de01f1556af6218e47d/packages/sw-broadcast-cache-update/src/lib/responses-are-same.js#L29-L38 \"Source code on GitHub\")\n\nGiven two `Response`s, compares several header values to see if they are\nthe same or not.\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.first` **[Response](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)** One of the `Response`s.\n    -   `$0.second` **[Response](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)** Another of the `Response`s.\n    -   `$0.headersToCheck` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>** A list of headers that will be\n               used to determine whether the `Response`s differ.\n\nReturns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Whether or not the `Response` objects are assumed to be\n        the same.\n","maintainers":[{"email":"addyosmani@gmail.com","name":"addyosmani"},{"email":"jeffy@google.com","name":"jeffposnick"}],"time":{"modified":"2022-07-06T16:35:22.373Z","created":"2016-11-07T22:49:31.476Z","0.0.3":"2016-11-07T22:49:31.476Z","0.0.4":"2016-11-11T00:16:49.968Z","0.0.5":"2017-01-06T22:25:22.129Z","0.0.6":"2017-01-06T22:28:07.578Z","0.0.7":"2017-01-06T22:29:59.386Z","0.0.8":"2017-02-06T19:42:41.097Z","0.0.9":"2017-02-23T22:10:52.030Z","0.0.10":"2017-02-23T22:15:27.706Z","0.0.13":"2017-02-23T22:31:47.603Z","0.0.14":"2017-03-14T05:52:06.037Z","0.0.15":"2017-03-14T05:54:15.900Z","0.0.16":"2017-03-14T06:01:48.158Z","0.0.18":"2017-04-05T19:34:11.803Z","0.0.19":"2017-04-24T22:40:35.548Z","0.0.20":"2017-05-03T17:46:08.439Z","0.0.21":"2017-05-09T00:01:29.561Z","0.0.22":"2017-05-09T00:35:45.753Z","0.0.23":"2017-05-09T01:10:33.012Z"},"homepage":"https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-broadcast-cache-update","keywords":["service worker","sw","caching","cache","sw-fw"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/sw-helpers.git"},"author":{"name":"Google's Web DevRel Team"},"bugs":{"url":"https://github.com/googlechrome/sw-helpers/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}