René's URL Explorer Experiment


Title: Module / Package Refactor · Issue #323 · getsentry/sentry-javascript · GitHub

Open Graph Title: Module / Package Refactor · Issue #323 · getsentry/sentry-javascript

X Title: Module / Package Refactor · Issue #323 · getsentry/sentry-javascript

Description: Goals Support browserify, webpack, bower, and Sentry's CDN (which means native bundled distribution) Break raven.js into a more modular system, where the ideal installation doesnt use our CDN, but rather uses require() technologies Combi...

Open Graph Description: Goals Support browserify, webpack, bower, and Sentry's CDN (which means native bundled distribution) Break raven.js into a more modular system, where the ideal installation doesnt use our CDN, but ...

X Description: Goals Support browserify, webpack, bower, and Sentry's CDN (which means native bundled distribution) Break raven.js into a more modular system, where the ideal installation doesnt use our CDN, ...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/323

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module / Package Refactor","articleBody":"# Goals\n- Support browserify, webpack, bower, and Sentry's CDN (which means native bundled distribution)\n- Break raven.js into a more modular system, where the ideal installation doesnt use our CDN, but rather uses require() technologies\n- Combine raven-node and raven-js codebases and npm package\n  - package.json can specify a 'browser' attribute to override this for npm\n- Get the codebase into a position for future code reuse between the two projects\n# Proposal\n## API\n\nThe primary target here is module-based usage, so the following should work:\n\n```\nvar Raven = require('raven');\n\nRaven.config().install()\n```\n\nBoth the node.js client and the javascript client should expose the same APIs. That is, they should expose the spec from Sentry with identical arguments (to the best of their ability).\n## Code Exposure\n\nInternally (via the module system) we want to expose a great deal of Raven. If we can, all of it. That said, 'raven' itself would only export the public namespaces, and you'd have to include other module(s) to get access to those.\n## Plugins\n\nModeled after webpack, instead of straight up patching, each plugin would have a load/unload hook responsible for it's behavior:\n\n```\nvar ravenjQ = require('raven/plugins/jquery');\n\nRaven.config({\n    plugins: [new ravenjQ()]\n});\n```\n\nAlternatively we could namespace builtin plugins:\n\n```\nRaven.config({\n    plugins: [new Raven.plugins.jQuery()]\n});\n```\n\nSee #282\n## Bundling\n\nWe need to determine how best to bundle things with the umd wrapper. There are things like grunt-umd to aid with this.\n\nSee also: https://github.com/umdjs/umd/blob/ce6c20e318e58cd301ee929135cf651b02392c08/returnExports.js\n\nThis will still need a build task, but the primary resource for this is the Sentry CDN, so it's possible we can move the dist/ out of the codebase.\n\nThe raven.js bundle would expose the identical namespace as 'raven'. That is, only the public API and none of the others.\n# Notes\n- raven-node isn't very used\n- code reuse is the lowest priority, the goal is simply a better experience for end-users\n","author":{"url":"https://github.com/dcramer","@type":"Person","name":"dcramer"},"datePublished":"2015-03-02T03:19:02Z","url":"https://github.com/getsentry/sentry-javascript/issues/323"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d75513fd-0724-5934-d121-60558cc21936
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id842C:1EE375:79C47A:AAE1DB:6B04237B
html-safe-nonceeb911daa7b07f8b62633cdc5394ad0eef475a6b87664bc81f1700fed682ffd9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDJDOjFFRTM3NTo3OUM0N0E6QUFFMURCOjZCMDQyMzdCIiwidmlzaXRvcl9pZCI6IjM3NjM1MjQ3MTc2NTE0MzY0MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd065b42596a54ba704aa82a9fd646c8d375b93e57a7d2bafadce8292a1b0081b
hovercard-subject-tagissue:59434233
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/323/issue_layout
twitter:imagehttps://opengraph.githubassets.com/525734130b5792f0a3a1f4af54aa6b544080d4190f125a5114620f1fa7393f2a/getsentry/sentry-javascript/issues/323
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/525734130b5792f0a3a1f4af54aa6b544080d4190f125a5114620f1fa7393f2a/getsentry/sentry-javascript/issues/323
og:image:altGoals Support browserify, webpack, bower, and Sentry's CDN (which means native bundled distribution) Break raven.js into a more modular system, where the ideal installation doesnt use our CDN, but ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedcramer
hostnamegithub.com
expected-hostnamegithub.com
Nonef8d9f404447ab5df341c8a92cf5fc927730ad1321e64ac57656444d2438097f1
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef7edccce04851591ee529948701779ce6819bc53
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/323#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F323
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F323
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/323
Reloadhttps://github.com/getsentry/sentry-javascript/issues/323
Reloadhttps://github.com/getsentry/sentry-javascript/issues/323
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests59 (59)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/323
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/323
Module / Package Refactorhttps://github.com/getsentry/sentry-javascript/issues/323#top
https://github.com/benvinegar
2.0https://github.com/getsentry/sentry-javascript/milestone/1
https://github.com/dcramer
dcramerhttps://github.com/dcramer
on Mar 2, 2015https://github.com/getsentry/sentry-javascript/issues/323#issue-59434233
#282https://github.com/getsentry/sentry-javascript/issues/282
https://github.com/umdjs/umd/blob/ce6c20e318e58cd301ee929135cf651b02392c08/returnExports.jshttps://github.com/umdjs/umd/blob/ce6c20e318e58cd301ee929135cf651b02392c08/returnExports.js
https://github.com/matthewwithanm
matthewwithanmhttps://github.com/matthewwithanm
on Mar 2, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-76839826
https://github.com/benvinegar
benvinegarhttps://github.com/benvinegar
on Mar 2, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-76842208
@matthewwithanmhttps://github.com/matthewwithanm
https://github.com/bendrucker
bendruckerhttps://github.com/bendrucker
on Mar 2, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-76851855
https://github.com/bendrucker/publicisthttps://github.com/bendrucker/publicist
mattrobenolthttps://github.com/mattrobenolt
Complicatedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Complicated%22
DDNhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22DDN%22
on May 16, 2015https://github.com/getsentry/sentry-javascript/issues/323#event-306551593
https://github.com/elicwhite
elicwhitehttps://github.com/elicwhite
on Jul 7, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-119088433
mattrobenolthttps://github.com/mattrobenolt
2.0https://github.com/getsentry/sentry-javascript/milestone/1
on Sep 1, 2015https://github.com/getsentry/sentry-javascript/issues/323#event-398099630
mattrobenolthttps://github.com/mattrobenolt
benvinegarhttps://github.com/benvinegar
on Sep 1, 2015https://github.com/getsentry/sentry-javascript/issues/323#event-398099790
https://github.com/danse
dansehttps://github.com/danse
on Sep 14, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-139983260
#279https://github.com/getsentry/sentry-javascript/issues/279
https://github.com/mattrobenolt
mattrobenolthttps://github.com/mattrobenolt
on Dec 31, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-168109039
mattrobenolthttps://github.com/mattrobenolt
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 31, 2015https://github.com/getsentry/sentry-javascript/issues/323#event-503173619
https://github.com/mattrobenolt
mattrobenolthttps://github.com/mattrobenolt
on Dec 31, 2015https://github.com/getsentry/sentry-javascript/issues/323#issuecomment-168109094
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/323
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/323
benvinegarhttps://github.com/benvinegar
2.0https://github.com/getsentry/sentry-javascript/milestone/1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.