René's URL Explorer Experiment


Title: fix comment parsing at start of file by ajafff · Pull Request #28489 · microsoft/TypeScript · GitHub

Open Graph Title: fix comment parsing at start of file by ajafff · Pull Request #28489 · microsoft/TypeScript

X Title: fix comment parsing at start of file by ajafff · Pull Request #28489 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - fix comment parsing at start of file by ajafff · Pull Request #28489 · microsoft/TypeScript

Open Graph Description: skip shebang if present (fixes: comments following shebang are not recognised #28477) don't parse trailing comments to avoid duplicates that are also returned as leading comments

X Description: skip shebang if present (fixes: comments following shebang are not recognised #28477) don't parse trailing comments to avoid duplicates that are also returned as leading comments

Opengraph URL: https://github.com/microsoft/TypeScript/pull/28489

X: @github

direct link

Domain: github.com

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:30e8cf8b-15f5-0b3e-cb3b-0efe043099cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id923A:E9D16:1F1500F:27655EE:6B01A115
html-safe-noncee2edef5f1d06e7c1606db8529c197a71bccff15a04d007ef1a19e6f780e2fddb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjNBOkU5RDE2OjFGMTUwMEY6Mjc2NTVFRTo2QjAxQTExNSIsInZpc2l0b3JfaWQiOiI2MjY1MTU1MTY4MjYyNzkxNDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc28028a2ac2b554a94b9064d987b59a77aa987af18d7e68222b18a21180961bc
hovercard-subject-tagpull_request:230264046
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/microsoft/TypeScript/28489/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b42c8ee9e9527b08fcce1da4bea47d38aac7a3692b448fd46096ea399187c1f2/microsoft/TypeScript/pull/28489
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b42c8ee9e9527b08fcce1da4bea47d38aac7a3692b448fd46096ea399187c1f2/microsoft/TypeScript/pull/28489
og:image:altskip shebang if present (fixes: comments following shebang are not recognised #28477) don't parse trailing comments to avoid duplicates that are also returned as leading comments
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameajafff
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/28489#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F28489
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%2Fmicrosoft%2FTypeScript%2Fpull%2F28489
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=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/28489
Reloadhttps://github.com/microsoft/TypeScript/pull/28489
Reloadhttps://github.com/microsoft/TypeScript/pull/28489
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Ron Buckton (rbuckton)https://github.com/rbuckton
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
ajafff:shebang-commentshttps://github.com/ajafff/TypeScript/tree/shebang-comments
Conversationhttps://github.com/microsoft/TypeScript/pull/28489
Commits8 (8)https://github.com/microsoft/TypeScript/pull/28489/commits
Checkshttps://github.com/microsoft/TypeScript/pull/28489/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/28489/files
fix comment parsing at start of filehttps://github.com/microsoft/TypeScript/pull/28489#top
Ron Buckton (rbuckton)https://github.com/rbuckton
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
ajafff:shebang-commentshttps://github.com/ajafff/TypeScript/tree/shebang-comments
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Nov 12, 2018https://github.com/microsoft/TypeScript/pull/28489#issue-379946674
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
comments following shebang are not recognised #28477https://github.com/microsoft/TypeScript/issues/28477
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
Klaus Meinhardt (ajafff)https://github.com/ajafff
November 12, 2018 21:45https://github.com/microsoft/TypeScript/pull/28489#commits-pushed-b55b6e2
https://github.com/ajafff
fix comment parsing at start of filehttps://github.com/microsoft/TypeScript/pull/28489/commits/b55b6e2f6b69798ace74b28122931ac302f41870
b55b6e2https://github.com/microsoft/TypeScript/pull/28489/commits/b55b6e2f6b69798ace74b28122931ac302f41870
microsoft#28477https://github.com/microsoft/TypeScript/issues/28477
https://github.com/ajafff
fix linthttps://github.com/microsoft/TypeScript/pull/28489/commits/5acf8e380ba46ba0febe583563363a8fdc881db5
5acf8e3https://github.com/microsoft/TypeScript/pull/28489/commits/5acf8e380ba46ba0febe583563363a8fdc881db5
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Nov 12, 2018 https://github.com/microsoft/TypeScript/pull/28489#pullrequestreview-174098927
View reviewed changes https://github.com/microsoft/TypeScript/pull/28489/files/5acf8e380ba46ba0febe583563363a8fdc881db5
src/compiler/scanner.tshttps://github.com/microsoft/TypeScript/pull/28489/files/5acf8e380ba46ba0febe583563363a8fdc881db5#diff-e19070e6b0ecc4de5f7d4bc6b42a9a71c8f23ce8ce155f7bd7cd48763170e506
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Nov 12, 2018https://github.com/microsoft/TypeScript/pull/28489#discussion_r232816292
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
Klaus Meinhardt (ajafff)https://github.com/ajafff
Nov 12, 2018https://github.com/microsoft/TypeScript/pull/28489#discussion_r232818611
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
Klaus Meinhardt (ajafff)https://github.com/ajafff
Jan 3, 2019https://github.com/microsoft/TypeScript/pull/28489#discussion_r245059588
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Sheetal Nandi (@sheetalkamat)https://github.com/sheetalkamat
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
Ron Buckton (rbuckton)https://github.com/rbuckton
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/28489#discussion_r251157018
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
Klaus Meinhardt (ajafff)https://github.com/ajafff
Jan 27, 2019https://github.com/microsoft/TypeScript/pull/28489#discussion_r251244479
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Ron Buckton (rbuckton)https://github.com/rbuckton
Dec 8, 2018https://github.com/microsoft/TypeScript/pull/28489#event-2013713201
https://github.com/ajafff
Merge branch 'master' into shebang-commentshttps://github.com/microsoft/TypeScript/pull/28489/commits/6eb91655532f110df12712fd845dec531048dc61
6eb9165https://github.com/microsoft/TypeScript/pull/28489/commits/6eb91655532f110df12712fd845dec531048dc61
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Jan 3, 2019 https://github.com/microsoft/TypeScript/pull/28489#pullrequestreview-189093672
View reviewed changes https://github.com/microsoft/TypeScript/pull/28489/files/6eb91655532f110df12712fd845dec531048dc61
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Ron Buckton (rbuckton)https://github.com/rbuckton
January 3, 2019 16:52https://github.com/microsoft/TypeScript/pull/28489#event-2052819184
https://github.com/ajafff
Merge branch 'master' of github.com:Microsoft/TypeScript into shebang…https://github.com/microsoft/TypeScript/pull/28489/commits/2a2b573fa2f12856e4a301a92df13fbb1658846b
2a2b573https://github.com/microsoft/TypeScript/pull/28489/commits/2a2b573fa2f12856e4a301a92df13fbb1658846b
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Jan 25, 2019 https://github.com/microsoft/TypeScript/pull/28489#pullrequestreview-196738062
View reviewed changes https://github.com/microsoft/TypeScript/pull/28489/files/2a2b573fa2f12856e4a301a92df13fbb1658846b
src/compiler/scanner.tshttps://github.com/microsoft/TypeScript/pull/28489/files/5acf8e380ba46ba0febe583563363a8fdc881db5#diff-e19070e6b0ecc4de5f7d4bc6b42a9a71c8f23ce8ce155f7bd7cd48763170e506
Ron Buckton (rbuckton)https://github.com/rbuckton
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/28489#discussion_r251157018
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
Klaus Meinhardt (ajafff)https://github.com/ajafff
January 27, 2019 17:37https://github.com/microsoft/TypeScript/pull/28489#commits-pushed-68133e5
https://github.com/ajafff
Merge branch 'master' into shebang-commentshttps://github.com/microsoft/TypeScript/pull/28489/commits/68133e5fad1840bc6242ce2b86453eb1c415c409
68133e5https://github.com/microsoft/TypeScript/pull/28489/commits/68133e5fad1840bc6242ce2b86453eb1c415c409
https://github.com/ajafff
revert change of trailing comment parsinghttps://github.com/microsoft/TypeScript/pull/28489/commits/451ff29263de7a64456e46a59dbe1908311ec294
451ff29https://github.com/microsoft/TypeScript/pull/28489/commits/451ff29263de7a64456e46a59dbe1908311ec294
https://github.com/ajafff
accept baseline changeshttps://github.com/microsoft/TypeScript/pull/28489/commits/33853e2258d02e42bb7da6ba9bd5243d79ebdb33
33853e2https://github.com/microsoft/TypeScript/pull/28489/commits/33853e2258d02e42bb7da6ba9bd5243d79ebdb33
https://github.com/ajafff
revert invalid baseline changehttps://github.com/microsoft/TypeScript/pull/28489/commits/0604ae1a8108ec8bc3d6c41cbe37fbf13f93a0c8
0604ae1https://github.com/microsoft/TypeScript/pull/28489/commits/0604ae1a8108ec8bc3d6c41cbe37fbf13f93a0c8
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Jan 28, 2019 https://github.com/microsoft/TypeScript/pull/28489#pullrequestreview-197204479
View reviewed changes https://github.com/microsoft/TypeScript/pull/28489/files/0604ae1a8108ec8bc3d6c41cbe37fbf13f93a0c8
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Jan 28, 2019https://github.com/microsoft/TypeScript/pull/28489#issuecomment-458257759
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Jan 28, 2019 https://github.com/microsoft/TypeScript/pull/28489#pullrequestreview-197215324
View reviewed changes https://github.com/microsoft/TypeScript/pull/28489/files/0604ae1a8108ec8bc3d6c41cbe37fbf13f93a0c8
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 3.4.0https://github.com/microsoft/TypeScript/milestone/86
Jan 28, 2019https://github.com/microsoft/TypeScript/pull/28489#event-2101747007
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Jan 28, 2019 https://github.com/microsoft/TypeScript/pull/28489#ref-issue-403987976
getTrailingCommentRanges returns comments at the start of the file #29625 https://github.com/microsoft/TypeScript/issues/29625
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
ae6c9cdhttps://github.com/microsoft/TypeScript/commit/ae6c9cd051ba39c5c4fa075ddb25303c22bb04ac
Jan 30, 2019https://github.com/microsoft/TypeScript/pull/28489#event-2105320005
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Jan 30, 2019https://github.com/microsoft/TypeScript/pull/28489#issuecomment-458778820
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/28489#event-20415845235
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F28489
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat) https://github.com/sheetalkamat
https://github.com/microsoft/TypeScript/pull/28489/files/0604ae1a8108ec8bc3d6c41cbe37fbf13f93a0c8
https://github.com/rbuckton
Ron Buckton (rbuckton) https://github.com/rbuckton
https://github.com/microsoft/TypeScript/pull/28489/files/0604ae1a8108ec8bc3d6c41cbe37fbf13f93a0c8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
https://github.com/rbuckton
Ron Buckton (rbuckton) https://github.com/rbuckton
TypeScript 3.4.0 https://github.com/microsoft/TypeScript/milestone/86
comments following shebang are not recognised https://github.com/microsoft/TypeScript/issues/28477
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28489
https://github.com/ajafff
https://github.com/rbuckton
https://github.com/sheetalkamat
https://github.com/RyanCavanaugh
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

Viewport: width=device-width


URLs of crawlers that visited me.