{"_id":"event-target-polyfill","_rev":"4-c1f2c04b29b234739f6dfb46accbe7c5","name":"event-target-polyfill","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"event-target-polyfill","version":"0.0.1","description":"An EventTarget Polyfill","type":"module","main":"index.js","exports":{".":"./index.js"},"dependencies":{},"devDependencies":{},"scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"git+https://github.com/benlesh/event-target-polyfill.git"},"keywords":["EventTarget","Polyfill"],"author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"license":"MIT","bugs":{"url":"https://github.com/benlesh/event-target-polyfill/issues"},"homepage":"https://github.com/benlesh/event-target-polyfill#readme","gitHead":"3902db64625ec1595c4a20421d687611f8e3577d","_id":"event-target-polyfill@0.0.1","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-gE3tBz76Mejnk9PCeEMtGpo14Yg0XwMlxtBLFi0qb133LiWmybXz3xW9+9jFAKtZOfcDdaQNAp8XIIrfI9loqg==","shasum":"da3bd75fd593b67de17e941745a5196fe0ef6806","tarball":"https://registry.npmjs.org/event-target-polyfill/-/event-target-polyfill-0.0.1.tgz","fileCount":5,"unpackedSize":11578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDhMKCRA9TVsSAnZWagAAiRoP/AtyVDXipcwG+fI8IILs\nkDv9i5Iaxr01EAqtkubJzgnQCaXJwQnbf5IA0XR1vlmjCe9Uybnx357wtsA4\nXxyHEfyklrZDOjouKemIiHytF7/Zxgqh9ixgGI5DY28PSeE789v5c/P0kLFz\nZLRsyiA+111veYYw0nBbQxSzB6YdvAu99lXp+enCiwqjgbSKlBU1h1pLmdJ0\nuJfUWq5eVlN+DO81lNZ21aRVppZ4yaDovGFMHbUXNuILJftVU10Zx9Bnl9rv\nvfa4rA1pbD9YoU9HmJJiKykql7p3clm3cJMEaE1tW7lhFemSURsXrOCqyDi7\nUxTHOHNxp2/QZmtH7hhb91rE0R4y6loHpWENGIUk/6aj21iGsqTK15kQaUJo\neMSyZBG0G0hjFL3eZ6zNx0UhKnkDcR2GcwpURMsPHvKj8NrBc0+P6b5Fg43i\npZKCeAchQImBwwYY5mMzF4Ord4qlfMcnb12NYNvLLDzW6ZYagDDucqRktBZf\nELsYX0IgWwIAcuEzmiKdgyBm6OQ5Pf8fP2lv1t4wH0q3ILbxpXW5BRHL1JjN\nh84Sv0y8jf1SrBGHwQVZmr6C/WKqzMOpW8ESidnavLM+cURm2dF06mlc8Vjk\nkyMk1YmcUEk1a+0IiT8YejL/aiZn6kERrrUoUaquXWdL4OcTqsWzBif42TY9\nvQyP\r\n=q7eV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkfDFl0FDRFpxvE3VY3b5R4UX5qbdMy3qxhZx7mg56kAiAqqkeYaCnDapz6FRcUjemFqtJIEy3qJ45PLG32d91pIQ=="}]},"maintainers":[{"name":"blesh","email":"ben@benlesh.com"}],"_npmUser":{"name":"blesh","email":"ben@benlesh.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target-polyfill_0.0.1_1594757898329_0.04628982689308603"},"_hasShrinkwrap":false},"0.0.2":{"name":"event-target-polyfill","version":"0.0.2","description":"An EventTarget Polyfill","main":"index.js","exports":{".":"./index.js"},"dependencies":{},"devDependencies":{},"scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"git+https://github.com/benlesh/event-target-polyfill.git"},"keywords":["EventTarget","Polyfill"],"author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"license":"MIT","bugs":{"url":"https://github.com/benlesh/event-target-polyfill/issues"},"homepage":"https://github.com/benlesh/event-target-polyfill#readme","gitHead":"fcd88ed809b207d2cd9e7b81cd75992bc5afaaee","_id":"event-target-polyfill@0.0.2","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-m7I5gwno/p6H0wRJ7jsjJnbdcA8Do3mAf57vUphb1X+DUHAEMhjUmg8MBAaFsB/BtUCXUl70mUPr0Iw3dvdaqQ==","shasum":"47e35ad6283aaca2f0148772d9ceedc30fd58d16","tarball":"https://registry.npmjs.org/event-target-polyfill/-/event-target-polyfill-0.0.2.tgz","fileCount":5,"unpackedSize":11560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDyRoCRA9TVsSAnZWagAAQSMP/1rUXzEWCQ1Yaw7RNz8U\nLXcMvMuKmHnOpXLb07DwmidjtPfKlm/WvthFKgLYGT1yWPWPLFrFks+guOPX\nH7X5/8ko8HvG/d8o3AkQdtlqKBbuh098CC2dPisFA+ru2+xdwcYnJouazL3U\nsMTv2grcDMieNn+hBUmgkB3k8w2ETADuQMLFbpMY032U1ck2/1z+ZKDypm9R\nqf9IY9giBte54JoL+kGL7pFviz/GFiDP2SWKwo5I7TpJfpCblJ6DWr0BlIBW\npfcgzi8jtdqOc+xWsj+NTj350xKqo/kPCN1K4x+UyKYJkQcTbGSl1TW2trwa\nVqYuQSscUzZOjqKPsA934kUPcQULJlT4g/oDxnhTcQyDBg4rwDheu8pybi62\n4pINj3OqYPX9wQ4zFdy37Irk2/Do036KcjHSC5QwQ57+ykIzs2vsvasdpHNb\nJhwzoll/XvnNPH9tmoeDcRZ0yYIwPNNYaA+cVG4ZA5BHNmPWm32ydcrQWAPg\nnsuPCGZDRNgKUsCqyTV2nv3HiF+LEiuIQkTQjHbzpMKcSifquHCUzVl5l5a0\n2jijMiGYuABu5Iz0N4kP4JfVcZd3aMSyRYbGavsw+BdE7Ge8imptrYyQTkDF\n9yyVz6ih1KefBy8v7+6muMtbRQ1xvv45MdA8DDnwezlA5AHzdAdsJ7N+o+iR\n6kX/\r\n=OHWP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4cOXwHxw+113L8wVspi5peTeNF4cuqNi3AOW3qY5tyAiEAp0S5bcNzoW28VkPrfsAF9J/MSIGpS2xkRVYGdlmGCts="}]},"maintainers":[{"name":"blesh","email":"ben@benlesh.com"}],"_npmUser":{"name":"blesh","email":"ben@benlesh.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target-polyfill_0.0.2_1594827879409_0.1138836533974723"},"_hasShrinkwrap":false},"0.0.3":{"name":"event-target-polyfill","version":"0.0.3","description":"An EventTarget Polyfill","main":"index.js","exports":{".":"./index.js"},"dependencies":{},"devDependencies":{},"scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"git+https://github.com/benlesh/event-target-polyfill.git"},"keywords":["EventTarget","Polyfill"],"author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"license":"MIT","bugs":{"url":"https://github.com/benlesh/event-target-polyfill/issues"},"homepage":"https://github.com/benlesh/event-target-polyfill#readme","gitHead":"4d4f2b626f5870ab46e802b8d7d71a2bb700ec58","_id":"event-target-polyfill@0.0.3","_nodeVersion":"14.15.4","_npmVersion":"7.7.0","dist":{"integrity":"sha512-ZMc6UuvmbinrCk4RzGyVmRyIsAyxMRlp4CqSrcQRO8Dy0A9ldbiRy5kdtBj4OtP7EClGdqGfIqo9JmOClMsGLQ==","shasum":"ed373295f3b257774b5d75afb2599331d9f3406c","tarball":"https://registry.npmjs.org/event-target-polyfill/-/event-target-polyfill-0.0.3.tgz","fileCount":6,"unpackedSize":13578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYOhMCRA9TVsSAnZWagAARWMP/jXnsQ2WvLpCFxuRYjkw\nKGBK8FL99EcLT29TPmRnbAW5l7Oe2ks92lvpb3wYS2Zscy2WNgQl/dt80+HY\nzDapyQDZ57lkG8eCZUH+E6e8Zn0DcoWaXJR1BT+uVM66CbQpuBUycz1WvGWs\nUlYBtClcEj5WCdHKG7gManKdOieCW42VnRZyJl6z/I61M3DMzr8QZnBdmyxv\nC/WtMxe5TtTl+udGQQeOTofezm1pzpxD64V2iPf94po7m+uDWamIzJlT1BPT\nerVqG3FN278YaUZkA9xbi9Dhi6b5s4mgUeAmwnpsHW0VHqXqvBLDshi2YqkG\nV5vWPI0HAYlWXoQguU3GkQV9cjt64CU2CuDAWUG+6cjimDJWjfio6/AhY/lx\nnIJUFYk/n/a9lGdyvtSEy6R7SngbHlILchzNbc5mIdmbE8MeGEnTlWvW01na\nm0l23ns2K1SlCaqcyvWwvGvtMCRliegomopHdj/vQS0MJtGRdkNZ1HCei/Cl\nPF7PodarjrpW9NAxLGGWvTpWyBYQKUpZsS6TcAD8ded/T/s2slPZdYwdGk/u\nIXthRBghSSWYz7cR52av4pWGhyt+ZrV2jZXP1MGUGwaO58Fn+wPPZ0BREEqT\nXo4+wOOVvvg8BhSF5Z82Heh2nu6EvWf3it4aIHsi47JWXLoAW6AtnJEQETCf\nUtTp\r\n=Q72t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6FPEw5q3I0FDzrVLHMPBOGcXSihIkMBa0RkStjes3vgIhAJr8znYZjEolZXNFxAAvY8sB52K01qlFopYF6XcxPt6J"}]},"_npmUser":{"name":"blesh","email":"ben@benlesh.com"},"directories":{},"maintainers":[{"name":"blesh","email":"ben@benlesh.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target-polyfill_0.0.3_1616963660371_0.07175020204624905"},"_hasShrinkwrap":false},"0.0.4":{"name":"event-target-polyfill","version":"0.0.4","description":"An EventTarget Polyfill","main":"index.js","exports":{".":"./index.js"},"dependencies":{},"devDependencies":{},"scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"git+https://github.com/benlesh/event-target-polyfill.git"},"keywords":["EventTarget","Polyfill"],"author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"license":"MIT","bugs":{"url":"https://github.com/benlesh/event-target-polyfill/issues"},"homepage":"https://github.com/benlesh/event-target-polyfill#readme","gitHead":"1d7773ad3b4cad33874633c91af5787d73136ac4","_id":"event-target-polyfill@0.0.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Gs6RLjzlLRdT8X9ZipJdIZI/Y6/HhRLyq9RdDlCsnpxr/+Nn6bU2EFGuC94GjxqhM+Nmij2Vcq98yoHrU8uNFQ==","shasum":"060ee66e85aaedc76b6fa66079782dcc11cba496","tarball":"https://registry.npmjs.org/event-target-polyfill/-/event-target-polyfill-0.0.4.tgz","fileCount":6,"unpackedSize":13755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkUoOnC3yif7TbwZNl5sCEqR9Id1B0SDBhNI1YwQx44AiEA0V+kUR5oOz5Z8FF0jyKkJ9j5PC/YBRpdtYqC9YS4IX0="}]},"_npmUser":{"name":"blesh","email":"ben@benlesh.com"},"directories":{},"maintainers":[{"name":"blesh","email":"ben@benlesh.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target-polyfill_0.0.4_1699310920806_0.3648107310561943"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-14T20:18:18.329Z","0.0.1":"2020-07-14T20:18:18.458Z","modified":"2023-11-06T22:48:41.143Z","0.0.2":"2020-07-15T15:44:39.513Z","0.0.3":"2021-03-28T20:34:20.494Z","0.0.4":"2023-11-06T22:48:40.984Z"},"maintainers":[{"name":"blesh","email":"ben@benlesh.com"}],"description":"An EventTarget Polyfill","homepage":"https://github.com/benlesh/event-target-polyfill#readme","keywords":["EventTarget","Polyfill"],"repository":{"type":"git","url":"git+https://github.com/benlesh/event-target-polyfill.git"},"author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"bugs":{"url":"https://github.com/benlesh/event-target-polyfill/issues"},"license":"MIT","readme":"[![npm version](https://badge.fury.io/js/event-target-polyfill.svg)](https://badge.fury.io/js/event-target-polyfill)\n![Node.js CI](https://github.com/benlesh/event-target-polyfill/workflows/Node.js%20CI/badge.svg)\n\n# event-target-polyfill\n\nA polyfill for `EventTarget` (and `Event`), meant to run in older version of node or possibly IE 11, that has the most accurate set of characteristics of `EventTarget` that can be provided.\n\nIf you find this implementation can be improved, please submit a PR and ping me [on Twitter via DM](https://twitter.com/benlesh).\n\n**NOTE: If you are using Node 14 and higher, [EventTarget is available directly](https://nodejs.org/api/events.html#events_eventtarget_and_event_api) via experimental features**\nMDN: [EventTarget](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget)\n\n## Usage\n\n```\nimport 'event-target-polyfill';\n\nconst et = new EventTarget();\n\net.addEventListener('test', () => console.log('hit!'));\n\net.dispatchEvent(new Event('test'));\n```\n\n## Development\n\nThis library has no dependencies. Even development dependencies. To test just run `npm test`. It runs a script, and if it finishes without error, the tests pass.\n\n","readmeFilename":"README.md"}