{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.b5637c57","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.b5637c57","dist":{"shasum":"9295cdadc5cf3194fbb261601f38a720490e62d9","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.b5637c57.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+ZbkCRA9TVsSAnZWagAARpUP+wWqjDX63P+HzkK3eihU\nZEMQIyGCH6Pe3TH49kHFLyb/m9Z5b4FV09TQ0boivIOejq25shB88d6/sWv8\nvqHBkFycTtOsyvIk13KK+rkVfsim4DL/O3yDC2rF98kBil6ddUaZZVdiMvHD\nazqyGHZkPZLPWl17wyY/iZkxxJr6JG1GS5KGLSRhRGyFmDlgp4pA2P+28xLS\nxEy5F3D/CUm4TX4q6nPgYqKH84ji3KyB86ilF8rDyweJrhdkIt6Ay1ajLA2x\nTdhampObK2vGMoP/5h8L6ahvFzTiZRMzCsYbESUtPs4RX+w2fC7iBcc/fV2/\nnCsIBcD6DZPGnqyloUHCACG72BrgDQKdgYQDt8j8PoG4VcNMJgimJKJL7C1H\nlSTJNRQoXuF//ezwtRNcRAektWlFnym3QfkpGprGFq/L7C1wsJ2It0YBRGGA\nnKvnHcX6UIfm/wPBQari+ngu2u/7ru4x+YLfhoczaqBu/61B3cH1xrEO5fma\nLOHdgbC1VgduHHu74ZeAZYuaNtK9ciZh5rvFuTVxNThS26bW/zhlfg5OaE+z\nYfFANvj6s8VrO3TlJLZCYm9XAVq3ncer7r3MuAc9eVLryYLTEiQdjEEGJ757\nc2JDSJFnbGwy8dVlc09VLeqGtpyjB1I53QBhh4hSG17xGYkkbakRitz1jpJD\nDBbR\r\n=VO3k\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-yKrBdEMCcLqgM83mttOFkIyv12Rf7H2sqZCi66yVj6HOwLaYSM0Zgxq19sM6bPaGRdM8u852pmffHR+fQyzh0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8wx3B9yF8bic1pvwXMUVWwbyUy4z/GWF0Pw4IkgOZ6AiEAjDukOfJuxu3MXcfN846xbblkN4B5SuUlGZSMgqeZ1dc="}],"size":999,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.b5637c57.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.b5637c57_1526306531199_0.6848443995214852"},"_hasShrinkwrap":false,"publish_time":1526306531296,"_cnpm_publish_time":1526306531296,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}