René's URL Explorer Experiment


Title: fix(core): Ensure `fill` only patches functions by Lms24 · Pull Request #15632 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Ensure `fill` only patches functions by Lms24 · Pull Request #15632 · getsentry/sentry-javascript

X Title: fix(core): Ensure `fill` only patches functions by Lms24 · Pull Request #15632 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: This PR adds a guard to our fill utility that we use to instrument/wrap methods defined on an object. However, due to a misleading type cast in fill we didn't check if the name of the method to...

X Description: This PR adds a guard to our fill utility that we use to instrument/wrap methods defined on an object. However, due to a misleading type cast in fill we didn't check if the name of the metho...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/15632

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:33268772-e6c2-3800-779b-136123adea02
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABA6:19B63C:2137BB:2E5D58:6B041F3E
html-safe-noncefc9baeded1fb58ba09d04534afedd71cfad12ddc4fe4093fee07baf8ac9b245d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkE2OjE5QjYzQzoyMTM3QkI6MkU1RDU4OjZCMDQxRjNFIiwidmlzaXRvcl9pZCI6IjE3ODk5ODAyODI5OTc0NDg1MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1190e78e58e488f8b0167b384959896f63a7d2a347d3412db018447529b5e5b0
hovercard-subject-tagpull_request:2385424544
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/15632/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/afdbadba67d72c2d74779439251e5e4714bbc25a731fe767b0e447fa6701cb45/getsentry/sentry-javascript/pull/15632
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/afdbadba67d72c2d74779439251e5e4714bbc25a731fe767b0e447fa6701cb45/getsentry/sentry-javascript/pull/15632
og:image:altThis PR adds a guard to our fill utility that we use to instrument/wrap methods defined on an object. However, due to a misleading type cast in fill we didn't check if the name of the method to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/15632#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15632
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%2Fpull%2F15632
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15632
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15632
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15632
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 requests58 (58)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
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-core-history-checkhttps://github.com/getsentry/sentry-javascript/tree/lms/fix-core-history-check
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15632
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/15632/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15632/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15632/files
fix(core): Ensure fill only patches functionshttps://github.com/getsentry/sentry-javascript/pull/15632#top
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-core-history-checkhttps://github.com/getsentry/sentry-javascript/tree/lms/fix-core-history-check
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#issue-2910875524
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
#15552https://github.com/getsentry/sentry-javascript/issues/15552
#15552https://github.com/getsentry/sentry-javascript/issues/15552
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
https://github.com/Lms24
fix(browser): Only patch available window.history propertieshttps://github.com/getsentry/sentry-javascript/pull/15632/commits/a2850a34491258be662f8336b726053703b5a44d
a2850a3https://github.com/getsentry/sentry-javascript/pull/15632/commits/a2850a34491258be662f8336b726053703b5a44d
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#event-16689823676
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025 https://github.com/getsentry/sentry-javascript/pull/15632#pullrequestreview-2674949650
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15632/files/a2850a34491258be662f8336b726053703b5a44d
packages/core/src/utils-hoist/supports.tshttps://github.com/getsentry/sentry-javascript/pull/15632/files/a2850a34491258be662f8336b726053703b5a44d#diff-43abb54ba06af45bdc78bd53dbdc9914ec33d443c6b2003e16b55b109c8f4b7b
Lms24https://github.com/Lms24
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#discussion_r1989495067
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
https://github.com/Lms24
Lms24https://github.com/Lms24
andreiborzahttps://github.com/andreiborza
lforsthttps://github.com/lforst
March 11, 2025 15:02https://github.com/getsentry/sentry-javascript/pull/15632#event-16689875729
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#issuecomment-2714677103
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/13787898261
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025 https://github.com/getsentry/sentry-javascript/pull/15632#ref-issue-2890695381
[@sentry-internal/browser-utils]: Cannot read properties of null (reading 'apply') #15552 https://github.com/getsentry/sentry-javascript/issues/15552
https://github.com/Lms24
Lms24https://github.com/Lms24
March 11, 2025 15:06https://github.com/getsentry/sentry-javascript/pull/15632#event-16689959259
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#issuecomment-2714687450
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
https://github.com/Lms24
fix(core): Ensure fill only patches functionshttps://github.com/getsentry/sentry-javascript/pull/15632/commits/9c77258ac6c06d61ce41e0cb40d6fdb7dcf967d4
9c77258https://github.com/getsentry/sentry-javascript/pull/15632/commits/9c77258ac6c06d61ce41e0cb40d6fdb7dcf967d4
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025 https://github.com/getsentry/sentry-javascript/pull/15632#pullrequestreview-2675034763
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15632/files/9c77258ac6c06d61ce41e0cb40d6fdb7dcf967d4
packages/browser-utils/test/instrument/history.test.tshttps://github.com/getsentry/sentry-javascript/pull/15632/files/9c77258ac6c06d61ce41e0cb40d6fdb7dcf967d4#diff-7f5b456ff8a33ea8d8579b577819e7c44ae5e7e50de718d464298a7fe8f7a243
Lms24https://github.com/Lms24
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#discussion_r1989542760
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
https://github.com/Lms24
Lms24https://github.com/Lms24
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#event-16690410908
https://github.com/Lms24
Lms24https://github.com/Lms24
March 11, 2025 15:24https://github.com/getsentry/sentry-javascript/pull/15632#event-16690417255
https://github.com/Lms24
explicitly type cast to unknownhttps://github.com/getsentry/sentry-javascript/pull/15632/commits/859b33a8b3389ec82f723cf5580e6a0c675b8216
859b33ahttps://github.com/getsentry/sentry-javascript/pull/15632/commits/859b33a8b3389ec82f723cf5580e6a0c675b8216
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Mar 11, 2025 https://github.com/getsentry/sentry-javascript/pull/15632#pullrequestreview-2675077677
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15632/files/859b33a8b3389ec82f723cf5580e6a0c675b8216
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/15632#pullrequestreview-2675077677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15632
https://github.com/Lms24
Lms24https://github.com/Lms24
47f95e5https://github.com/getsentry/sentry-javascript/commit/47f95e5dc575e26d2959f57c1a050ceb4fff2cc3
Mar 11, 2025https://github.com/getsentry/sentry-javascript/pull/15632#event-16692767855
https://github.com/Lms24
Lms24https://github.com/Lms24
March 11, 2025 16:27https://github.com/getsentry/sentry-javascript/pull/15632#event-16692768378
aviator-apphttps://github.com/apps/aviator-app
Apr 10, 2025 https://github.com/getsentry/sentry-javascript/pull/15632#ref-commit-68f5dbe
https://github.com/marketplace/mergequeue
[Snyk] Upgrade @sentry/browser from 9.5.0 to 9.6.1 (https://github.com/reisene/HulajDusza-serwis/commit/68f5dbe281389fa6c26a2865c21ff573cf3af141
#335https://github.com/reisene/HulajDusza-serwis/pull/335
)https://github.com/reisene/HulajDusza-serwis/commit/68f5dbe281389fa6c26a2865c21ff573cf3af141
68f5dbehttps://github.com/reisene/HulajDusza-serwis/commit/68f5dbe281389fa6c26a2865c21ff573cf3af141
https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=
https://badgen.net/badge/icon/Contributor/000000?label=https://badgen.net/badge/icon/Contributor/000000?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)