{"_id":"gatsby-plugin-sentry","_rev":"8-54e6fe64c85a53e914098cc009d5f7dc","name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"0.0.1","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","cross-env":"^5.0.5"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir .","watch":"babel -w src --out-dir .","prepublish":"cross-env NODE_ENV=production npm run build"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"ba74c40cd7257337ecb72333ec5f51f2461bc208","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@0.0.1","_npmVersion":"5.4.2","_nodeVersion":"6.11.4","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-N9Cm/3kmIceGQBN0Y8wgnZLDZyuZkWv8wmcw1ScFMcGCfzHG/YKneNmjdLTXcz77qhdg5POkDQ/oTKTeKoz7lg==","shasum":"6bbd9fa74f7f9aa2ef69e6a9d8eeb2a8abdcace4","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/gMxPV9sI0RxGlIPa9TrGkUvI/wrKTNgOhABYCXuJzAIhAMR9COCwGvXMeUtfPgXuLIDzvL3rHfme9LD0zxkXA2Dr"}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry-0.0.1.tgz_1508700490338_0.8727818860206753"},"directories":{}},"0.0.2":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"0.0.2","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","cross-env":"^5.0.5"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir .","watch":"babel -w src --out-dir .","prepublish":"cross-env NODE_ENV=production npm run build"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"ef246461a5f5e8b4f9d4004fe146f4904864dd2b","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@0.0.2","_npmVersion":"5.4.2","_nodeVersion":"6.11.4","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-3mhkhEwVAiOizqQ4BB2Qp4/h/Hrva9ybD3Xgq3PduwN7NmDaprApcUHwa0EPcsmYzFXT+90UcW4YloALdQDyuA==","shasum":"c42bbb64937cb1c4e0a3fe3a1ca679b508c0eeaf","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAxjFTrhWzKWYXF0mIU0CDxb8gUZPLCgK0sWl/sJtUYqAiAG0+ClqzBc7+4NrIAQyz6Ymi4ubJfJ80QqEozH1me8lA=="}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry-0.0.2.tgz_1509837966923_0.9755880620796233"},"directories":{}},"0.0.3":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"0.0.3","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","cross-env":"^5.0.5"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir .","watch":"babel -w src --out-dir .","prepublish":"cross-env NODE_ENV=production npm run build"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"bf29472cde54cf3d6fa778045f030187e038223a","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@0.0.3","_npmVersion":"5.4.2","_nodeVersion":"6.11.4","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-zrZLi+wimp8kJOeJ4NHHR8Ypme8b2rKsJB6JTJgfW9zU14T01olaKj2jiXSFFi9w64XCG3MB8pOnIU4CXuivmA==","shasum":"961067948b2aa3fddfed1b962e6f8e3763a30a24","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-0.0.3.tgz","fileCount":6,"unpackedSize":4674,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/Jh3OVEAG4ABsK5P6pB19X1bdnNN3n6wC1C4TdswIPAiEAyhqphaBLovsGaQlvdqp+FBN5qt1EmT2KWpg3LSPHZnU="}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry_0.0.3_1519154429351_0.7745500015510156"},"_hasShrinkwrap":false},"0.0.4":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"0.0.4","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","cross-env":"^5.0.5"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir .","watch":"babel -w src --out-dir .","prepublish":"cross-env NODE_ENV=production npm run build"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"2a558fae7c31edb26e425652a0dd91f32bbec879","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@0.0.4","_npmVersion":"5.4.2","_nodeVersion":"6.11.4","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-CF0Ig66Le9NP0Xa0Tm8kZApjeAAsz1gK7Y/LCTtR1SMfudLpJeQo98x91KbyFkkprQgBxaSWJffIiB6tIE2JqQ==","shasum":"707a14a1ce29599c56eff1a37881b55595ee395b","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-0.0.4.tgz","fileCount":6,"unpackedSize":4751,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0V5DKe35v794553mNlIWMuMfBs6i1CcQgMTwzYO0XtAIgRECv/743itaXpuqb8SsayPlts+ldoPBbOcMiKzqQ0vY="}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry_0.0.4_1522950780544_0.42013673682637176"},"_hasShrinkwrap":false},"0.1.0":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"0.1.0","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","dependencies":{"raven-js":"latest"},"gitHead":"45749b59350abb75a9a1346d173bd99e96732a30","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-DGyIAq8p+IpsyOaAduxzCdLX/aTQVP4vVVlWbCCa31n+LRMAISwKtifm0TZEcgyYOarg3YJwP8D0jrmdoG4HDg==","shasum":"5bbf0ccae2d22e360c1ef68f8a8f8d41a7cda128","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-0.1.0.tgz","fileCount":5,"unpackedSize":2377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLokZCRA9TVsSAnZWagAAcKQQAKB95ahfJOQ0NzEXlkCU\njTZ5A1EkatHrrTUI3RqeYxkY2/aQ7QrPCp+RZ7b864zMeVISz7/PucriheAY\nJluUQnTC06BTY/pHAXm1ENGbP2xBPgh8u6SJ3MV3B0m336FKS7FMc/s8gvAU\n1Ilb+UaUITT3nKjzSE+f1ZqN6lJ/fgyGr1PE3ZuZSACZCwnXrzBcvLbrrmYk\n/ffmZLVprIfE3MOhA94NGWT3IECfrmlLLCr2ihWgnHC2hJ/0YkrcWshTQPwK\n+wCxmbGbqhNsWbfpZ4wbR+wz5wYuFE8h0vf3VsXLCdOG1HIfMeKFPu4I8GCJ\nRtdWh8trUjZ7lBdAsZGokBAxsWiTpM2X1PF9AaS3X4J6ZdNlziFjGZ9t5+m6\nSJro899jpxhwY+wyCQ0M6BB1ugGWV1/ebvWFNDKVUOag4YxHREYIYTl7uGzv\n+tDSCJlGY+YAemqirEp2cYJ242MGa+m0KFYvlnVzmn3GOU+h//6un+Tzr9Fs\nb7c+owy1KviZLZ0JZzBb8FlX3s0N2MwtKylu+wBfdamcOnQmDZzH+LtPTTSK\nWDJD6sBY1+YOXfQ+mHM4bIjmFkawbhFwzWkm1CcWVTzM7Xds73hiWNGSBdwc\nLMlTB9jDW6PUaU+b7YQMM9kGb4mwdali5wTBEnvOlnW/UshIkIu/onkaNro1\nTtCu\r\n=MR72\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaej8OcBfQ966Z51PYMgV4fogduJskh+A9igZ/8gprawIhAJ52Bu7+LnzMS+k/TOK0KPk109dHK1OvF9iBaeSX6Y7A"}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry_0.1.0_1529776409692_0.24806650023836552"},"_hasShrinkwrap":false},"1.0.0":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"1.0.0","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","dependencies":{"@sentry/browser":"latest"},"gitHead":"b7002380db828d51344398a964e9277247a929d3","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-6eq9RBpXXL76Ag0jp33NoWofji1jr2dhkfcJBhzAtKlztgRpkiOwm0OXrBspAa0Nu6PEPrJsEWoLAZ96w8Hj9w==","shasum":"746307a27f5382a9a787fa86ac812b947f8bebc5","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-1.0.0.tgz","fileCount":6,"unpackedSize":5527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEau2CRA9TVsSAnZWagAALOsP/3ARPfhoza8NnHX2Y+4M\n2XJ1yOauBhMdiW/hG+hvit8j+qSQlBX762Qc2GO5kjAnXqJRhKxgm29BVWTP\nSxR7/s0u4SHxKxsRN+gHw12BOY+olZWS2blBezEGDzl/gpYSsQnA5w5pqnoT\n0MTk86I3TxNPd7H50ZtGyqnG81eiMB2KqJ6OXjKvFErUeaKiM7b2IMASCec3\ngV/J7qRE7tM/tjhKIwFBa7oevYafoTtjgudHcMKtrI9bLoAsoDZ8N0/2CwzD\nwudaxyTSXZbBBqOEZ8P0jS+yLdY2G69o7yaOLuP0n2XODcKIX/O5O2w1iLkS\neXwxSeZqjzci8owVdst4e2PvgIevrADj8WQAJGoNiVQDKPskcX8Xe5X3Quk0\nprRbDaernfCphtR/gU9uSDsMQvrl18A2puONdlY7CIG1v21kwlqhSMz/mKoW\nO8cnX0rZBMoo8x4g+bFa03kVK74ICxbP46n969AHCl4eXDbb74xcooi5Hvwq\nB11AS75mreBn1j9oOz/hKJze0yuRsZ9cIl/2AbK/1xu3H/Z1ZQNAtNYr6+lD\nw6STglOWQCuatq+8b7RyL1XbRqa7EK12ydM3c3uM/HgoGb46HzrVwCvyygta\nPSrJKa39ZsCG+KnlvUpYMCB6zz1HDnfWWwsPKtjGSL5FpjGjRBeXkWWMQoNs\nUKzF\r\n=yFLG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8wEPvaEEiAPlEWXxvfLoXbkadDXaAREDT0m+VVugQnAiEA5KPz9ieRtVbFJX+NQDKVySD6JQ5KTDbAvvzZfAqv7PA="}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry_1.0.0_1544661942237_0.6972892329574742"},"_hasShrinkwrap":false},"1.0.1":{"name":"gatsby-plugin-sentry","description":"Gatsby plugin to add Sentry error tracking to your site.","version":"1.0.1","author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"keywords":["gatsby","gatsby-plugin","sentry"],"license":"MIT","main":"index.js","dependencies":{"@sentry/browser":"latest"},"gitHead":"f394871f4f105e4e6d459e44e851a432d154368b","bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","_id":"gatsby-plugin-sentry@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"octalmage","email":"jason@stallin.gs"},"dist":{"integrity":"sha512-rKIngbFbBwwGYJi1ayUtEz34tXxpLXvSMD3WWVmdtXs0wrYrlGs30nFJ4JJIxcA7fWtx3hQ2yd5O2ZyQ832G2g==","shasum":"d146e3851488c9545f2c0689cad62bf6e7d1c653","tarball":"https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-1.0.1.tgz","fileCount":5,"unpackedSize":3100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcS0AbCRA9TVsSAnZWagAA2jkP/jrI75eNty2BcST7AG1M\nWgUjADiqPAFyKrmpA0WWkkX+K14s3t//8ZpsiqX+O/c9DF2d2bqgigDLhpzB\nf7JqYwUU7renDAt4DmEi+VTklnyIeQLmAIrgfXfl+VNbtOfOB/YtzHPHJKCn\nB7fMbRGOpGUg3TC/AvKBfDPC76ptDeHzxJfmi9oyiVfppGtxCQOatPHnE+vH\nLU2AkD/RNrFbR6Yl9cZeexIG53sa07wwKzcqAbJcbvauXDDyv3gbq+p6XJ2r\n0+MDHhx06pEP3AjwF/xEqNYqJOkrELhSPb8edwfcIfcjl+I5lCNA55isESpR\nBIvf/XMeHkV3fyi293RJdKMDVEz6cIj0CGYke0ikhBYA8Y1ak7PbK4rMDMLk\nBSjgxh4qqVpr811PzdPy9KzU12uFzpIi78Zo6CLF0nuTquQu7X6VxcWqzG/c\nBD662yPhvQPJ51fEsN021crD0W9UGBa5myc4+kAxsJ0IyBVaFEOiiGQ5MIlB\nuszMQZuyxWLAeAtU4rG7mZ1DzZ/F6+BdTy3eHUG2idX1bXaLepXugJ1mjJRM\n39xdu4WARzicuEswU9ieGuNrJaagUX+08oYDOAOAe+hBKqnDLMqocDaJL23Y\n3YCySi8/jSS1l8YYo8FO/QGCR4pt8FxFJWEw2lb1hFn6RCB5siH/sxzT8kdr\nrANt\r\n=12hv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWVy7omLO9iMjGqAT8YtPwrseJ5qhAE+sE9kabUe0+vgIgM48H11QtfKUI6tq0XKm76XdDgCYKVLOCADRHEojIWBA="}]},"maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-sentry_1.0.1_1548435483341_0.5279129114746517"},"_hasShrinkwrap":false}},"readme":"# gatsby-plugin-sentry\n\nGatsby plugin to add Sentry error tracking to your site.\n\nLearn more about Sentry [here](https://sentry.io).\n\n## Install\n\n`npm install --save gatsby-plugin-sentry`\n\n## How to use\n\n```javascript\n// In your gatsby-config.js\nplugins: [\n  {\n    resolve: \"gatsby-plugin-sentry\",\n    options: {\n      dsn: \"YOUR_SENTRY_DSN_URL\",\n      // Optional settings, see https://docs.sentry.io/clients/node/config/#optional-settings\n      environment: process.env.NODE_ENV,\n      enabled: (() => [\"production\", \"stage\"].indexOf(process.env.NODE_ENV) !== -1)()\n    }\n  }\n];\n```\n\nNow `Sentry` is available in global window object. so you can use it in `react 16` like:\n\n```javascript\nexport default class ErrorBoundary extends React.Component {\n  \n  constructor(props) {\n    super(props);\n    this.state = { error: null };\n  }\n\n  componentDidCatch(error, errorInfo) {\n    this.setState({ error });\n    Sentry.configureScope((scope) => {\n      Object.keys(errorInfo).forEach(key => {\n        scope.setExtra(key, errorInfo[key]);\n      });\n    });\n    Sentry.captureException(error);\n  }\n\n  render() {\n    if (this.state.error) {\n      // render fallback UI\n      return <h1>Something went wrong!</h1>;\n    } else {\n      // when there's not an error, render children untouched\n      return this.props.children;\n    }\n  }\n}\n```\n","maintainers":[{"name":"octalmage","email":"jason@stallin.gs"}],"time":{"modified":"2022-05-03T04:41:02.865Z","created":"2017-10-22T19:28:11.217Z","0.0.1":"2017-10-22T19:28:11.217Z","0.0.2":"2017-11-04T23:26:07.835Z","0.0.3":"2018-02-20T19:20:29.407Z","0.0.4":"2018-04-05T17:53:00.654Z","0.1.0":"2018-06-23T17:53:29.764Z","1.0.0":"2018-12-13T00:45:42.370Z","1.0.1":"2019-01-25T16:58:03.466Z"},"homepage":"https://github.com/octalmage/gatsby-plugin-sentry#readme","keywords":["gatsby","gatsby-plugin","sentry"],"repository":{"type":"git","url":"git+https://github.com/octalmage/gatsby-plugin-sentry.git"},"author":{"name":"Jason Stallings","email":"jason.stallin.gs"},"bugs":{"url":"https://github.com/octalmage/gatsby-plugin-sentry/issues"},"license":"MIT","readmeFilename":"README.md"}