{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.540d75e7","description":"Replace references to `undefined` with `void 0`","keywords":["babel-plugin"],"homepage":"https://github.com/babel/minify#readme","bugs":{"url":"https://github.com/babel/minify/issues"},"license":"MIT","author":{"name":"amasad"},"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/babel/minify/tree/master/packages/babel-plugin-transform-undefined-to-void"},"readmeFilename":"README.md","readme":"# babel-plugin-transform-undefined-to-void\n\nSome JavaScript implementations allow undefined to be overwritten, this may lead to peculiar bugs that are extremely hard to track down.\n\nThis plugin transforms `undefined` into `void 0` which returns undefined regardless of if it's been reassigned.\n\n## Example\n\n**In**\n\n```javascript\nfoo === undefined;\n```\n\n**Out**\n\n```javascript\nfoo === void 0;\n```\n\n## Installation\n\n```sh\nnpm install babel-plugin-transform-undefined-to-void --save-dev\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-undefined-to-void\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-undefined-to-void script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"transform-undefined-to-void\"]\n});\n```\n","_id":"babel-plugin-transform-undefined-to-void@6.10.0-alpha.540d75e7","dist":{"shasum":"fcabfed3c16fb8b580de1becc4bcb613c5f584cc","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.540d75e7.tgz","fileCount":5,"unpackedSize":1652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+ZNECRA9TVsSAnZWagAAsnUP/ijp6jGpmpWuGC40LXga\nlDh4fl/RvO1wgRybin3cyMl1pKnIZy8qPNRKkKCO0AElnAo91DjgoyACPvHd\nJZQZMNDo1KnSexRJNVTyiron/K+GQDa5z+pNtK22NVE+DuOtZDJ32d1mNcNz\nMVT+Y9ug4I9TV/oRXwRa2HRgw2KLlA1YhjPTyj7ThuD7cHTiMTAQ8P70VyfH\n4V+iH3E3Myli0TJRipt7g/Z47vOVbpcUsfdu0C/AwcdXQSViYb+gSz/zaWPE\nrX4RaCMUeDyUO3nV620c6CWO3ycW9gkxjMtMnxPvL3zDMcCPqlAflYCIOsgo\nU4XN3OQZ66bBmt10g6EBV4UU1ypbmfeAh+hn+NXEnR73617hzmged1iUOGks\nhmnEr+nfc8Pr9YOt/5AcpXfQkbfSw8zzPaQwvqY07n310yKiXT/MBERC/Lq2\nBeNUrJHfxUjabTu/NVsu0A5+2h6CLNukQ/gxJhr/jh/PxnHgYstr3srC+ZfF\nED6+zM23OkR09U9uFNXgHraeCL6AduayjUUZtWqU3VpZ+6dgqwp2bPdxVRZq\ndTSMWZhgKVCdozvCVVEofwbbWIuQEbF00Py48xmd0mzBe1W8CBa6C1ItvaM4\nCf2H5m2jSaNpbj3KJx5adOx7AAJ7kad0StrsC36WrwFnpGFjbefAItmDs8dT\nga9p\r\n=MXnj\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-cFw/MCx0mhznFWK0QvkG7S6AUSD9MaeiwsW4LvxyzRNVUdboIB3riiyEzHxNaPKxcE4G08eDq1j9xnfXF9ihJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvqfMlWZa56wRq3z8J0kngm/tWdflE6FESNZwCAr8qKgIgLiCP7ER3VeYCzKwjA4v5l9HGAfFclTv2+zx6y6HheT8="}],"size":997,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.540d75e7.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"me@boopathi.in","name":"boopathi"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"}],"_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-undefined-to-void_6.10.0-alpha.540d75e7_1526305603547_0.5004042791717804"},"_hasShrinkwrap":false,"publish_time":1526305603720,"_cnpm_publish_time":1526305603720,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}