{"bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dist":{"shasum":"29a5ca65d7ea0be1eb3e78a1764975e9047fc129","tarball":"https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-2.0.0-next.247.tgz","fileCount":4,"integrity":"sha512-Zo1MaV/dxY5empEWGxSgJpJDvV9ZR8Tje6r+3DIZnk94Al689ras0v6EeD22HHsmZyjQNipQex+gIISG5ZTWFw==","signatures":[{"sig":"MEUCIQDsYuq4aCyKroZqWrtLsh2XQeCeZI9RpKLi49J79wxO+gIgIuIX0HMKejC3Hw27PjUeYWI8z/W8Bgyo7CZq963+4ZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIkFhCRA9TVsSAnZWagAARJEP/37eQtI/E6CK0myCeII6\n40WSrLObE1rpg7jMPEWcHL9dAr79Az84hDB9KN8h1cmrcn9Rv7sbrAsEz99t\naiGDxKDg0xg/fhjaoYc+HzbVigQQTn42PBShTepHs6P6R61PwGuJn6YZjitB\n7y92jzd8/Vvz8yTh+MMLwMtZZT5K6BVc1qgy33mHHlcjd4Out3S/MuZ64u4+\nRY+3g8kAGPDfPbPPcoRQh2XUVvnIjeqTL9iZD4q0fC+91xtgIULfR8BKklsu\nT2IRg4clO/BLqDmxSXD+81LXRQHdSUA7bLsBM4rXD0CeB5qspDXjgM5wUeRL\nCOyR0T5XXrNsLmKHRsue5NPrxvav9WdojKdLKjO+1IfZruuV5kzGhkKOat3q\npbMlgJ2ZHEO26OO9aXx96+7zR+Dm5bAQfmNkNpJtbRYWSrvcBa2pkjmyyXup\n5let7aBBqD5Z8yTAJxVUkODZlWAGoKyi9ry7lj0Nyda/pxoy47a3NwkkctwY\nO+tinMN4Hsk1RB4rb1P39rr8jhW9uqBFNhfCNVtv1EJ9Q655o8kE2UaHbAPA\n3y6D5p1ouzwUm65dOlmv6Yue6s+G2kyJNd17pkzHndAtzUnEqbIgyCuZParE\np64jh7HVlYhM89ABfqg+4ZctyOc5kJuFDLbekUFrYDGxdRsaGQ5v8SQdIA3G\nwSR/\r\n=7t7h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"confusing-browser-globals","readme":"# confusing-browser-globals\n\nA curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit `window.` qualifier.\n\n## Motivation\n\nSome global variables in browser are likely to be used by people without the intent of using them as globals, such as `status`, `name`, `event`, etc.\n\nFor example:\n\n```js\nhandleClick() { // missing `event` argument\n  this.setState({\n  \ttext: event.target.value // uses the `event` global: oops!\n  });\n}\n```\n\nThis package exports a list of globals that are often used by mistake. You can feed this list to a static analysis tool like ESLint to prevent their usage without an explicit `window.` qualifier.\n\n## Installation\n\n```sh\nnpm install --save confusing-browser-globals\n```\n\n## Usage\n\nIf you use Create React App, you don't need to configure anything, as this rule is already included in the default `eslint-config-react-app` preset.\n\nIf you maintain your own ESLint configuration, you can do this:\n\n```js\nvar restrictedGlobals = require('confusing-browser-globals');\n\nmodule.exports = {\n  rules: {\n    'no-restricted-globals': ['error'].concat(restrictedGlobals),\n  },\n};\n```\n\n## License\n\nMIT\n","gitHead":"7ab0116939064c0417950fa7f92dff7324fe2126","license":"MIT","scripts":{"test":"jest"},"_npmUser":{"name":"iansu","email":"ian@iansutherland.ca"},"homepage":"https://github.com/facebook/create-react-app#readme","keywords":["eslint","globals"],"repository":{"url":"git+https://github.com/facebook/create-react-app.git","type":"git","directory":"packages/confusing-browser-globals"},"_npmVersion":"lerna/3.18.4/node@v12.18.1+x64 (darwin)","description":"A list of browser globals that are often used by mistake instead of local variables","directories":{},"maintainers":[{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"ianschmitz","email":"ianschmitz@gmail.com"},{"name":"iansu","email":"ian@iansutherland.ca"},{"name":"timer","email":"timer150@gmail.com"}],"_nodeVersion":"12.18.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"26.1.0"},"_npmOperationalInternal":{"tmp":"tmp/confusing-browser-globals_2.0.0-next.247_1596080481400_0.38916236950227745","host":"s3://npm-registry-packages"},"_id":"confusing-browser-globals@2.0.0-next.247","version":"2.0.0-next.247"}