{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.5dbc73f7","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.5dbc73f7","dist":{"shasum":"6854a93ccabb38f16633139691199698a8e14d76","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.5dbc73f7.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/aheCRA9TVsSAnZWagAA1cgQAIl7xIbrJ9aF1FmzpLeU\nVsP38HemsGrFmrjjx+eaLMF558ugrkfxRFXsvu/U/UkjVD2BMH3OK0MuPGxg\nrCSgdd0KyhYCn6ReV7yh03/F0u7wMcNfwL4IE2qcjmxWdRnEasp7QKaZpqFh\nye49upICOJ9FGxgh5yjd9P+02RFlvMbl/NEldyILunfCbZVfAxAgKPD+siqc\nKieMsY/qFTr6kWtZVNpK/qVY/pFYV5ohy/2v8a0lElMFxXewmYtRcnLdJyjA\nBJW9sBA2MxlxF5jxRM4rCPC9wu2D2S5La2OvXbCUCYkvF+swMC8e+rD6g7Yu\nQapu+L7iIqYsakYm9cAta/eLvh5stsi9q1ZXOUG8fDe1PH0DlT6nvkHmTnP7\n6/LdwPsToxJ/VysHJhJHUIwAFmyoyT0wTYN7AdQzHmD6QnCJUSj88XUgHNN3\noF6+GIm721PqhPG0+dqDPW5hAgO7W34IT5YUV3EoOLLYDZ1xq2u58vL/lE2S\n9pr3arxCYTGWauHJKAje/Xs1I1vQ2UTA6FN6sU1OZhrYwTZkTJMaZUuSvou2\n7sHUtdSRaioQIOMaw1hQNOoEhh1DNvCxBFcIP592HVDBZ8WBOJ8EyO17VwLi\n8bYz7NXBPmAKe+BvG9iPruAVYmdMR4SKQnx1DtqRDxFw/Dka09zdaPIuL1zV\nIoF5\r\n=Y4+g\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-8bqNoE1s3dMW/uiMI/gdLihtxztW8pzeI6TNjXWPIsjC4Bc2WpTXR4bsbWkFKv8nNla/tfwbvfA8mZxUoOL+lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLegD2h8jGonPpSFgdHiiQ2R9r3WGJzVU0jq3iqedTJAIhAKRDpO3uKL0wrrjEoflF3kpKG4IbhqmAjt402FUzVy+7"}],"size":1001,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.5dbc73f7.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.5dbc73f7_1526573147132_0.024941530765997477"},"_hasShrinkwrap":false,"publish_time":1526573149909,"_cnpm_publish_time":1526573149909,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}