{"bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dist":{"shasum":"2bd3daa2602cbee0b82a28c2fcae659c4a7cd1d2","tarball":"https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.1.0-next.103.tgz","fileCount":4,"integrity":"sha512-ZkhAyKvmv5mW80sTSsN6HCsfyTVrD3QswaVnQ5UBPTcUOL9AOO+aUVXcHM4wS688LN/z0to2wKI5jMejcMcjMQ==","signatures":[{"sig":"MEMCIFIk/XfgKtBgaIQIBtQh1WneHrGgwJ7J73AqJVoxxr8JAh9oZ3PoZupaUIL9To7/OJmL1UQaif2SHuVN56ix3gYA","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\nwsFcBAEBCAAQBQJd6Ec8CRA9TVsSAnZWagAAqiQP/1BTs8tBNQ12I3JaPI10\nocWvgpBuMcXjdYe+QPS/NBKKFX/1OKVQsoODYFSXnCpy4ELIH/0v02uoKkLF\nTHrXptSB5+WtLzphnVCld74lMBr+qKruBNkI1d8YbJkL0qA4CcqY2yxCfJVo\nL3X/jE08MqVGO4OtYE/U2ptX9Je26nQQoX69by4hMA5BUE2bjt4V7+y+lYYF\niVV6teO8eQ6i3uq7k1jFsgueOymiU69w3jCDuE0eTkf83uMR2bWusRD9v07N\nDyCQwzZ35qbm15Anq39bK5usDQ2euXMaw02GM+faJ/hOaqtRo1LUxrSmlcvk\nAap6pZU2O8YwIYpj7fqTtYnGGCjfxFEpgtJNPhVSLSR9GTOYd2J5uoHV9TA9\nQiB8BGctgJohjTX93mr+q5Zfys/ROWDXNalfV9pJok50zCjUL01Z9VtHi82r\nnllfKfN6RBrgJtfHSdA9NpH/bCTszrWlhJvwBYe8Ihpa+2XkcwLwM4ZQBcNI\naWPV65zQo+WpvJYmKsZNoZEgdESMMkf7tKl594wZ/CCXnMw1ZslmnyiP0snl\nZiM682YQNblPZgUtxsoBB0BOS31gj7It/M67TD808uhKyOwEHJ6w311v7z/p\nVKdV9qBECVnZ7Uur1+KZQ3aoe08ChQe6b/iutM+FwqFRjlc0xa5/gZ7A/U9m\nO7bP\r\n=K71Q\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":"0b4560094950dae2d1a34877475d62377ce78fb7","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@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.103_1575503676424_0.04207441249112254","host":"s3://npm-registry-packages"},"_id":"confusing-browser-globals@1.1.0-next.103","version":"1.1.0-next.103"}