{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.7b176463","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\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.7b176463","dist":{"shasum":"85bd2fd790f1c5bcdd95901f5a900b7ab3baa7d8","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.7b176463.tgz","fileCount":5,"unpackedSize":1651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6K3oCRA9TVsSAnZWagAAi/MP/2O5Bbs8DBHqDKoTbZRk\nO129MeABUWdn3GXBoq7bYEYQF8bmkRdzw7XQAW3tDn58YXBNmtiw4P+WEQMn\n/e/4ZuQzRk/d5gUurKfrRsdW5HyTph+vjerj0V0Jl/gQ2SCaIVhHELDja5zL\nIZ0k60GrOugiVCUaz1hfwZRwuw3oo3RXKKY92TrApDPSuOAIgPRazR4Og8Mo\noJhPQcywDlXjaq5xJ1MM7ov0PHC3KuNfL9aIUsWXTu1SV3QdbEucSh5t5G/2\nG2teML3Pqu+XGuqGDPwS7rG4AWB0FZds6fLHgEqaOAvxtVyHX49d9Fui3yhM\n5sA5MLE3rqJ5dVHd9OgU/1Jc+aabltWH2WKxhPrkhPXV/ruuvQmForxb0Vhr\nMKaDU7JSjJ2AtRI9ZwVLalMUSrcdnxd47F8lg2lZCl0FITsL0dzu35fSJToH\nwBOLnbW9rcjuWoA7d/VawBI2Y+M7LKsSbJ57r3+eCaMfx+JtZff9HEg6pFwi\nyzkpjE78bQglvtIe+TSV0rkbyJ48Mb1/39FT7astjeFEkS5cMWH50gSb2YCg\nydZcioPlbIxjsiSYEBbISv1o772hK/Ztu3vs+FXF1gQtd7cKri5nHqgJ+jXr\nqQTi122+aSQEaRm5AG6nRTGemoa+Vmye4Nj/XuLaWQlAgEdio/l57gKS2+8b\nL7Tl\r\n=FIvQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-U876LFPCFFSCk5AnSsTbFlNBKrOtQd9MFtduCOsui6sQUTx1CzOLOicM93dFyBNYvEWMAcuOhBipFBo8BWU+Dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZpUWHd12f+2FFhwDUMzxI6l1BkxbmK9FNB3S2qWsubAiBkwJ7izI88uqUHI2zJIaxcxRQwvKo4WM4B071NTlwZDw=="}],"size":995,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.7b176463.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.7b176463_1525198311340_0.0033463396708801607"},"_hasShrinkwrap":false,"publish_time":1525198311457,"_cnpm_publish_time":1525198311457,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}