{"name":"babel-plugin-transform-undefined-to-void","version":"6.10.0-alpha.2e0de171","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.2e0de171","dist":{"shasum":"412659f747eead27474a4a572e0e6c1c92474474","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-undefined-to-void/download/babel-plugin-transform-undefined-to-void-6.10.0-alpha.2e0de171.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\nwsFcBAEBCAAQBQJbEWLeCRA9TVsSAnZWagAAMbAP/3EPXcggXRBuN/itNOdc\n3/JG7c4JqK83QjgulStFpjnZawtHhbcNEhjjr+xzid3znzjQzwdJcgIHDBMV\nu/zJSiPNx2Xh0AayhZ9bOgSV9wBkfbRz7h0nSGOmiVmelwMYGYrmOf7XhPnU\nDsI4nyiILDpmFPBWq0LLzaAdWHx72d5jzmN03GC62spDPuqT4LCSMHBm4s+w\nGjedTZW3NKEGd7wTvZh3cf7sNOZ66MKlLtO2WH4JoCu8ZqLxMoIZZcFFfm5x\nBmn5iZQZoHJM6e46qtIkcVo+wEVOGHXqWhPKF39RSiZS8mBLjFcqX8HfwSHV\nqGljsV+mGOlQKrsLcZPXV1XjxCCkrWz5hDZlKBEcuASq/LtjPkWzozpVFcQZ\nzatVrrK8pmclKOfxlM42okJ31jH4pbZIqpUct3m1fFIR8i6zsNeCvF+SuMQW\nbjxzHXoOKYaLY5GVcglbzi2DBoaOF1KQGQmzMpoZITedg4wnceZSCl6WmplE\n8/u46Kyql9pz1BbVRjh1DcGhRHFmI22ITTHvXEWkiZw1I4tgWzZ9Arj0sOoT\npgosGh+Kcfj6xdHo1HnhqsFtu+ybtBkKWqW2EzEjkF/FD3jx1T509EuBShtl\nD6zZfU01umxUEW1C259Y+Jtfwl0i/hNVAoAIKMUdA0IMVhGYa77BJ2Bbvccq\nhgTx\r\n=5O6a\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-3jXass7QR9gMbz0kGieDOU99L/9Da0mUDc8ZUi1yKoSSKt+RzygEJuyzPgWHtWMkosDcjxeu8TjL6MRjLMiUqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFdM12oT6S8E1XjaKsO9iplKGxGcGz9QqIp2zmPgS3KxAiBzfSdiW70rIDVyYuX3rvsS4gh7F8qrRe/IAQUHEUwuFw=="}],"size":998,"noattachment":false,"key":"/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.10.0-alpha.2e0de171.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.2e0de171_1527866078044_0.5471632273543228"},"_hasShrinkwrap":false,"publish_time":1527866078152,"_cnpm_publish_time":1527866078152,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","lerna-temp":"0.0.1","prerelease":"0.0.3"}}