{"_id":"broadcastchannel-polyfill","_rev":"2-400098857d0954116f5900a4b2799c8a","name":"broadcastchannel-polyfill","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"broadcastchannel-polyfill","version":"1.0.0","description":"Polyfill for BroadcastChannel for Safari, old Chrome and Opera","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/JSmith01/broadcastchannel-polyfill.git"},"keywords":["broadcastchannel","polyfill"],"author":{"name":"Joshua Bell"},"license":"Unlicense","bugs":{"url":"https://github.com/JSmith01/broadcastchannel-polyfill/issues"},"homepage":"https://github.com/JSmith01/broadcastchannel-polyfill#readme","gitHead":"6b0bd510fd7cd0c07eb301c38aec7bd2c06f3cfb","_id":"broadcastchannel-polyfill@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jsmith01","email":"dzlygin@gmail.com"},"dist":{"integrity":"sha512-tYZ4RhUbWiK9XInSgTEWLzsVi2rERw2AQiPUPvpsXnuV8oNcceWPQJ58eSurQTZ+W3FQiVgp7hooMPlT+DDueA==","shasum":"3596eb8143d2446b349430fe6f146b6463902042","tarball":"https://registry.npmjs.org/broadcastchannel-polyfill/-/broadcastchannel-polyfill-1.0.0.tgz","fileCount":4,"unpackedSize":6216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgPmmCRA9TVsSAnZWagAAGnYQAId1F3+rAxZTFgGp6Vbb\nKJAi/pTlASuPkPHUy66Df1DZ8tv7IDUZcEjYrfEi/EycQFVsGSZdfwKgggRO\nYp/14Vf0szP20/w7QX2hPBm2xMPWKZt8rElfuCLkMXUGZDe0TgE3Kijhq+un\noXOnwkIr7DQNsXJb4DyiefEtnh2UwuzF+p9WJUz/TxxrRsw/5glHpaEaYgQ1\nqLMvUo8Kc4iBoCu50bJZ0vT5TwQavEMEuLA+DLoB07V8BNqS/6936415P+mf\nSnROjyJSvccwDW09DtzW9ARW8ulZX6KCwaCGGWv/pSL6dw0+FZ8QCIAU3jHg\n2UBPV0QOwVjAgA8FFprOUmWfUiF+sT3+C+SF3iYlpuIhbAy4Lr5zmd4YCtTW\nlFuvlxT1J4CakG5YCTd6iXv0TRCLb0MLWNfAf6t6AXloskvJEeKKGuAW2fnf\nuX8GXYsYiBaWrjxGgb7VHTallZCxMEVamdIZKVq+rK/8keutYkJLf1r060B4\nDoTZRcxHyzKIRo04al5JmWtojbFp1s3e7gz/IfvdwfTO4U2QR6qSuKwK7YLx\nxFQyBq2hbBfKM2d0cbwzwijE9UJPeMkTKLRIDgSyObkSxA6ap1VbRTri5OCp\nGP8lmcbks3cb4O580Uaf0R+fO6+Pao4vfdI0YqnculiMzqjzT+1TwixAIqox\numDx\r\n=d3uF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAW3Uog3VMQwgEXkF472pZrYc+/dRSfGGbwYv19SfXuAiEAv5+eot0NyAnqa1d1skFarMCb5V/NC8yw1XWUDIymBEo="}]},"maintainers":[{"name":"jsmith01","email":"dzlygin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broadcastchannel-polyfill_1.0.0_1551956389608_0.6575152812165759"},"_hasShrinkwrap":false},"1.0.1":{"name":"broadcastchannel-polyfill","version":"1.0.1","description":"Polyfill for BroadcastChannel for Safari, old Chrome and Opera","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/JSmith01/broadcastchannel-polyfill.git"},"keywords":["broadcastchannel","polyfill"],"author":{"name":"Joshua Bell"},"license":"Unlicense","bugs":{"url":"https://github.com/JSmith01/broadcastchannel-polyfill/issues"},"homepage":"https://github.com/JSmith01/broadcastchannel-polyfill#readme","gitHead":"e70432a7afc75adbdad9dc998de1885642465b26","_id":"broadcastchannel-polyfill@1.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-iooPAN913j4xfrIu5o+mDaks9UUDOBfgjn8SsuzysfXr/X+f8m9y5t8c5rAbW6P0LdUXBJx33zwN4Cs6b9BGRw==","shasum":"7596b3d78526b3919e76562aff00cd1278a205ea","tarball":"https://registry.npmjs.org/broadcastchannel-polyfill/-/broadcastchannel-polyfill-1.0.1.tgz","fileCount":4,"unpackedSize":6236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeaLaXCRA9TVsSAnZWagAA7KcQAKSLVCd4EQyxdnktw6z2\ncpIUg4HOc13Uut9vJZgoHvf0p2Tin2IfVN7YCpmQu1L+hb986ql8/GelMPNb\nISGzknFqSFpFGyXILKoEP84/FByL1WpgPIqlV1tvAcZNqISqYJQco5Ev0Fjv\nLH4LGVf+R97IibAQNr2idxh1i96T4LxMm8QDs75MXuDsa0gHuY1Wr8fuwf+N\nZMy9F9OodubjfNYg9tgs52R+r1nzrICI8Lle9rx1h56sU1TmszE+qwxRXIpZ\nvFohgERjFIQmdXjAqcnzysGIo2U0rTQpxATYxG8iQsHm/N3o0etuhM1M53Yk\nCqHQXvKc/j/7gltoSEGK0v6EtAf5SZxHH5hWmoeDaadwoorFEFubG+G5UhiQ\n7JodidJNr9ca6jUS00ua/e+tBsyGML1gk5T3qx8NarOWvtBBV32U6XUmTXVU\nN7QqCdK+qFVIxpMljK0P54xr1YoLfzSxATtKdxBEYvgVNlH9PlbIOS21PW4E\nqXnQGH8ihQObBsN1oP3vbFwtAwGUW14iHvU4NoF1uOfcOZ197Tihjwk+Tplh\ntSqKKa3wbxlSHZiV0FJxjuRw4EeAnzzxqGgrb6Uxeg+c/E7WrCP92uEGGGSl\nCu7vX5u69ca2CIT8/Wgqu9XQC3UNt+Pj6D3v5E3uBNROBO6O6OJgwXJCxZQc\nWu4j\r\n=p0Z9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDksxmZJRmqN+udyQHJrHb5SBrSWvjsC7RJbPAuLjAtpgIhAKvdDAy5fZQwXikJz2pDAqMeDGUabSyTE8IYDRCdJB5s"}]},"maintainers":[{"name":"jsmith01","email":"dzlygin@gmail.com"}],"_npmUser":{"name":"jsmith01","email":"dzlygin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broadcastchannel-polyfill_1.0.1_1583920790840_0.21656918895768684"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-07T10:59:49.608Z","1.0.0":"2019-03-07T10:59:49.751Z","modified":"2022-04-12T04:27:02.936Z","1.0.1":"2020-03-11T09:59:50.950Z"},"maintainers":[{"name":"jsmith01","email":"dzlygin@gmail.com"}],"description":"Polyfill for BroadcastChannel for Safari, old Chrome and Opera","homepage":"https://github.com/JSmith01/broadcastchannel-polyfill#readme","keywords":["broadcastchannel","polyfill"],"repository":{"type":"git","url":"git+https://github.com/JSmith01/broadcastchannel-polyfill.git"},"author":{"name":"Joshua Bell"},"bugs":{"url":"https://github.com/JSmith01/broadcastchannel-polyfill/issues"},"license":"Unlicense","readme":"BroadcastChannel polyfill\n===================================\n\nThis is a polyfill for [BroadcastChannel](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API).\n\n**It is just a published copy of [Joshua Bell's gist](https://gist.github.com/inexorabletash/52f437d1451d12145264)**\n(since [broadcast-channel polyfill](https://www.npmjs.com/package/broadcast-channel) won't work for our project).\n\nIt requires [Message Channel support](http://caniuse.com/#feat=channel-messaging), so should work in:\n\n* Chrome 4+\n* Safari 5+\n* Opera 11.5+\n\nDoes not work in:\n\n* Firefox 37- (neither BroadcastChannel nor MessageChannel)\n* IE (??)\n\n### Caveats ###\n* The real API should let you transmit anything which can copied by the [structured cloning algorithm](https://html.spec.whatwg.org/multipage/infrastructure.html#structured-clone). This polyfill only copies things using `JSON.stringify()`/`JSON.parse()` so it is much more limited.\n* This polyfill uses [DOM Storage](https://html.spec.whatwg.org/multipage/#toc-webstorage) (`localStorage`) and `storage` events. DOM Storage is a synchronous API and so may cause performance issues in pages. In addition, it is not exposed to Workers. Therefore, the polyfill will not function in Workers.\n* Unique storage keys are used for each message, and are cleaned up a few hundred milliseconds after transmission. This is a total hack and may result in the messages failing to be received (if the write and delete are coalesced) or persisting (if the cleanup is prevented by page close).\n\n\n","readmeFilename":"README.md"}