Title: offline integration requires typescript dom lib in integration package · Issue #2877 · getsentry/sentry-javascript · GitHub
Open Graph Title: offline integration requires typescript dom lib in integration package · Issue #2877 · getsentry/sentry-javascript
X Title: offline integration requires typescript dom lib in integration package · Issue #2877 · getsentry/sentry-javascript
Description: [ x ] Review the documentation: https://docs.sentry.io/ [ x ] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [ x ] Use the latest release: https://github.com/getsentry/sentry-javascript/releases Package...
Open Graph Description: [ x ] Review the documentation: https://docs.sentry.io/ [ x ] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [ x ] Use the latest release: https://github.com/gets...
X Description: [ x ] Review the documentation: https://docs.sentry.io/ [ x ] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [ x ] Use the latest release: https://github.com/gets...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/2877
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"offline integration requires typescript dom lib in integration package","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [ x ] Review the documentation: https://docs.sentry.io/\r\n- [ x ] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [ x ] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n\r\n## Package + Version\r\n\r\n- [ x ] `@sentry/integrations` 5.22.3\r\n\r\n## Description\r\n\r\nThe recently added offline integration (https://github.com/getsentry/sentry-javascript/pull/2778) depends on the TypeScript dom lib, which cannot be safely included in node.js projects due to incompatible interface definitions, such as Timers.\r\n\r\nI found an existing mention of this problem, but no issue tracking it yet:\r\n\r\nhttps://github.com/getsentry/sentry-javascript/issues/2853#issuecomment-682599065\r\n\r\nI see that `dom` is included in the repo-wide `tsconfig.json` file:\r\nhttps://github.com/getsentry/sentry-javascript/blob/master/packages/typescript/tsconfig.json#L9\r\n\r\nIt may help to remove `dom` from that shared file and only include `dom` in the `browser` package to avoid this problem.\r\n","author":{"url":"https://github.com/jstewmon","@type":"Person","name":"jstewmon"},"datePublished":"2020-09-02T18:17:38Z","url":"https://github.com/getsentry/sentry-javascript/issues/2877"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:744a039e-a43d-956a-b19f-f2a37205c388 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8F8:D24AB:41474:578BE:6B04282C |
| html-safe-nonce | 6a9bef1599ff57192c9bd2c2f485501ecb9a86181eb5927d82b21c8f5236c8fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEY4OkQyNEFCOjQxNDc0OjU3OEJFOjZCMDQyODJDIiwidmlzaXRvcl9pZCI6IjEyMDUyODMwNTA0MzU2NTE2MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1f2522ce5bd995815e985cdf24724a6d468a02f067dda99086c77fc8c46aee7e |
| hovercard-subject-tag | issue:691298596 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/2877/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5bee89c3d57e24cabd7dbe258b1973463242e100e9f10982aa2f66fe126ae819/getsentry/sentry-javascript/issues/2877 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5bee89c3d57e24cabd7dbe258b1973463242e100e9f10982aa2f66fe126ae819/getsentry/sentry-javascript/issues/2877 |
| og:image:alt | [ x ] Review the documentation: https://docs.sentry.io/ [ x ] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [ x ] Use the latest release: https://github.com/gets... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jstewmon |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width