{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.8b905991","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.8b905991","dist":{"shasum":"94b286b9339a91f0612103c88c03f022db6b8641","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.8b905991.tgz","fileCount":5,"unpackedSize":1641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6bwNCRA9TVsSAnZWagAAgEoP/RKExnYBtpwoBgozONYP\nP8U5Pv65qPFzDvwA/wEYNJpxTZOzCDGNdW9YtgBLGONqS5yhMDOAi8grdrQc\nJItrmGjojPPTzxUplyIIjXtvOdiirqA74clSQVg7zlU7OAzxjf/SFv9ML0h9\nGAYoQ7JhLpeZldiB/d6c4fVhb+TtyVwXC1wZSHdI820RarvXHcqtfeTkBp12\neGsmifrbf8twLstC2sZV4hQ8lEIRcpGyLL2gXg20FzGjo9U0cAn4lWFNtpmg\njI2oMcV0l/gjqOfmfOt2ZXGxiXYPAbU0HDbmAfG6j+ZuiY96gSYajK6xLXQb\nAzHA9naoo9S8IRTpXkmDMoKVrtjCoJcjEK6VueBB/BVxhfiTCoe9Q5xUDnGB\nESE2KxMMG4yEuT9s0MeAXa+5wJlMGfXuAkCEY2vsx5rR/q328rebajYRCrIR\nahamSeqwzEdFyrW9HgpYvfJMhRBjomvgqbKtqk9wpPkiDthHRGil5Oz1FnYm\ngfze3QzTnELIqOBHvqvmiQV38IHbiSLizwO8h1p0aoH88+a7RhJg0Dc7n2LT\nL6TT4EcqLkDeC+OpR88KwTKmMH/JDfPCLiz7nqrhq9j9oqnx9UkC4ThVrVaJ\n+pziBxogMTf089+WV1+N8hJ9ZcqrS9v3kZj8pu5cw5ZWD5S1sqJvipeMhk0O\nVwkJ\r\n=h40C\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dRESAdNhlybd+wf+aBzKecFzLvu9uZf59ZKElBdR0YT5X0LvdAFalynK4cKZmoKnrd/Y3/ffyrIZC3SaWKlj6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzx0OvI/6/LoRSaQDIHe8YIUy9VFON5G8iBVTljpcPsAIgRE8EgIfY4UrKrHUKJfKiuzPbmFJb7lPEs24hmC4i5KM="}],"size":995,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.8b905991.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.8b905991_1525267468428_0.8042303023279984"},"_hasShrinkwrap":false,"publish_time":1525267468710,"_cnpm_publish_time":1525267468710,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}