{"bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dist":{"shasum":"ec30b8db406aeca359ef4bd2adbd8e4d8af4a9b8","tarball":"https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.1.0-next.62.tgz","fileCount":4,"integrity":"sha512-0xJrOGtcAPTquA+fSgqreOM+L/CEKx6HbLAubB0g4sD/cYj/aRCp+lfSOnONu+qYpbeuNgIEYyLQ1H0T+TJ3VA==","signatures":[{"sig":"MEUCIQCLTB1ylGWshHXBoI4m8zPz1wA3Z8jMQh6c1nLR6zOrEgIgGr/SltAaWf/Eyc4h5kxJIpN2AqPrxWO26reKso3lMW0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsjZlCRA9TVsSAnZWagAAU+UP/i8oAhc4dvic8hKVBtsD\n0N9guR/UdOzaRtdAWuV95BLU+tUPGOrMFQ32yLQshHE3U+XSzVcmO+zMK1U8\nutLF2tbj9pl/K7q8CQirBBhIrB0HCLMGs/fMJYk6nfmuii0lsfqBebd4gW42\nesd7SbRipQHXEK14GpJ9WLWjvBfHO1Ri9rQkJdA8NkPWFkPlhTyoI4u6G59k\nZVpunsO883BFJB2Guvk+2gaZguQd9OKld8Y2hDKi4iHgZk4LmvgQwYwoyPkU\nD0v/abfDifA/Tx5cv8iLM/8KQ2AmAnDYJx0SFWEgcCPTRjb9Hs8liVTRX9H/\nObe9Bf55xO1hydxh9PoCu+hEY+alfJE7bQQbg9W2ndv5hgYfruYJu7/zqfPB\nkqye3OwsE/D88KmLUUjeoEj/OLN0BbX5uf+gTlOYifU9n7NXJjrqEVWc52a8\nj7Uw9xSTzSCtZz1DfOXGBO2SUPBFWjUM/ydObJjk85s9BlDn6JbSE+ZY7tXy\nJ9KeUD6NzJDBm2FOPQi4RSvH9pszkWOKuhA14v5/CiHlBlrRuCZsvPplC/34\nv45sKTLFcfQV0v5gPDmLQ9rkqxqDi1YbAqGIgaqaTZj6SbIL6zKJbKg7b2DB\n7qx8BvaiXqQ96jEGJ1AO9MCHDE+b6aGENoczxQxhaf81SeR3BQOiJnk2FtDm\nRliA\r\n=eNYb\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":"3e7391ddaf905e737a3b1c6969a6da3f16513854","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.13.2/node@v10.15.3+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":"10.15.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"24.9.0"},"_npmOperationalInternal":{"tmp":"tmp/confusing-browser-globals_1.1.0-next.62_1571960420542_0.23535826538677118","host":"s3://npm-registry-packages"},"_id":"confusing-browser-globals@1.1.0-next.62","version":"1.1.0-next.62"}