{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.55276695","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.55276695","dist":{"shasum":"bdbbdcfccb23d0d68655e239ada5e7cbd5a466c8","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.55276695.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\nwsFcBAEBCAAQBQJa6KghCRA9TVsSAnZWagAAk1IP/2+YMKwn1lxVFxE88Lrr\nrD3qy/gAFi+HXPc0w1mvn27AIiEuOXFvq6jPHvgMu+W1Q1s5HRQVlSsajN7I\nH1rrPHbMa09VIaPVMbG2ItvHa4rJwEsLZStIiTA94e5dZZulnVZuU+P0hYY1\nruJQLgutvPsIR0LEA3ypeiG8AXR2MxRoiUVqZuYujWeXSIt8d/q7Y0c10+Q2\n0+1FiKYr6hwkT7SYMylAtAC3QweQ8VWWGDOq4psbofl2AvwENqkv56r2P5wT\nyVjtG+Z8VFhcldgfFGi+h0u98knQz4DbfdA0wSFd+AVF4yVC/JWTA32mUNXs\nGD/dAOwZ2jUZ8rKJCiVl8jWrrdAls7clZFsCiXAwAnsbSPu3zkpHXxaE/pHJ\nVqfBu6YA5Lbn3XzYaemEsknyfdAi1u+2fAaJvKuutAauDIwoGKm6g02Badrq\n+4HVhXv3HCXLNqm9OZSkvEZSgD/HlaPtkO1d1rHFWUWCoox16gHgCpbm+0Pd\nssBmyKQVOHqb8TNgeC5EUarAnVpT+VSGge5ALD5TNfrjUfOrqu3YlGTyqsgG\noyvgJRMxVXjH0lKstD+5UI2ngIm0zq7FRuGYGdlWWNj0yIcA/qNkKE183jra\nWyjSZS8UV2viu2e+LvZ4QsvoIQEws/XKh+J3QggX5dGCegoVhhGTMwuW12as\nnr/Q\r\n=Xf1X\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-eVRMAdVgdvUXBlySWplHjYc4s7Kt8mkWlQ413l5cTto7KaIgrw/0ixSvGnK1BF3V+fF41Dj3S19STxNxNgxtPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8JfWe63CSLz19koh3QQC+18tYJEy05d/PaLH5dEG/eAiBos2+YGNIAft3M4yuAujsllVhP3eiJdA1zIIzYxYCzlw=="}],"size":997,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.55276695.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.55276695_1525196833052_0.8377657835509547"},"_hasShrinkwrap":false,"publish_time":1525196833167,"_cnpm_publish_time":1525196833167,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}