| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eabd2e7e-17b1-fc8d-263e-d9a227204777 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BBD8:3D97C8:95E0B4:C9D3A3:6B00E806 |
| html-safe-nonce | cef7732ec061fa86ff190fff7c002b25c43c2d946b1dd2377a7b7e94eff08135 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkQ4OjNEOTdDODo5NUUwQjQ6QzlEM0EzOjZCMDBFODA2IiwidmlzaXRvcl9pZCI6IjE5ODkwODA5MzUxODE2NDE3MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ab3a9e67cb86a05757fd5477e1614abd482d9d8d5ae2660f8c0f686a94b44cac |
| hovercard-subject-tag | pull_request:435701754 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/3731/files |
| twitter:image | https://avatars.githubusercontent.com/u/316427?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/316427?s=400&v=4 |
| og:image:alt | This PR largely does four things:
Make extraction more deterministic by sorting files and choosing more carefully to extract TypeScript files with the right tsconfig.json file.
Bugfixes:
Use LGTM... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql/pull/3731/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F3731%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F3731%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql |
| Reload | https://github.com/github/codeql/pull/3731/files |
| Reload | https://github.com/github/codeql/pull/3731/files |
| Reload | https://github.com/github/codeql/pull/3731/files |
| github | https://github.com/github |
| codeql | https://github.com/github/codeql |
| Code | https://github.com/github/codeql |
| Issues1k (1k) | https://github.com/github/codeql/issues |
| Pull requests507 (507) | https://github.com/github/codeql/pulls |
| Discussions | https://github.com/github/codeql/discussions |
| Actions | https://github.com/github/codeql/actions |
| Projects | https://github.com/github/codeql/projects |
| Security and quality | https://github.com/github/codeql/security |
| Insights | https://github.com/github/codeql/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| semmle-qlci | https://github.com/semmle-qlci |
| github:master | https://github.com/github/codeql/tree/master |
| asger-semmle:js/monorepo-bugfixes | https://github.com/asger-semmle/ql/tree/js/monorepo-bugfixes |
|
Conversation
12
| https://github.com/github/codeql/pull/3731 |
|
Commits
12
| https://github.com/github/codeql/pull/3731/commits |
|
Checks
0
| https://github.com/github/codeql/pull/3731/checks |
|
Findings
| https://github.com/github/codeql/pull/3731/findings |
|
Files changed
| https://github.com/github/codeql/pull/3731/files |
| Please reload this page | https://github.com/github/codeql/pull/3731/files |
|
JS: Monorepo support: bugfixes and separate from dependency installation
| https://github.com/github/codeql/pull/3731/files#top |
|
Show all changes
12 commits
| https://github.com/github/codeql/pull/3731/files |
|
cb0a249
JS: Sort files
asgerf Jun 3, 2020
| https://github.com/github/codeql/pull/3731/commits/cb0a2498b004857b5b56ce13af8836d4e8d31b23 |
|
aaf1417
JS: Fix source root
asgerf Jun 3, 2020
| https://github.com/github/codeql/pull/3731/commits/aaf141782f1a3ee0bafab025a8226bdc3c35870b |
|
dceb211
JS: Pass source root to Node.js process
asgerf Jun 3, 2020
| https://github.com/github/codeql/pull/3731/commits/dceb2110210f89c8a1b1df4ef12aa49baaf028a9 |
|
ba5d6bb
JS: Actually set fields
asgerf Jun 3, 2020
| https://github.com/github/codeql/pull/3731/commits/ba5d6bb2e9e70f9a76d4fb4b0ce750724c068e98 |
|
6d15397
JS: Ensure we never write outside the scratch dir
asgerf Jun 3, 2020
| https://github.com/github/codeql/pull/3731/commits/6d15397fdc7b4ee597a11666ebde56ea5a26ed2f |
|
6ff8137
JS: Also sort files in legacy extractor
asgerf Jun 5, 2020
| https://github.com/github/codeql/pull/3731/commits/6ff81377d5b5e5fce112c5597156053caf5a10a7 |
|
cf78475
JS: Only extract included files with a given tsconfig
asgerf Jun 5, 2020
| https://github.com/github/codeql/pull/3731/commits/cf784757997035b07430bc1eb96068122abf2a81 |
|
cc3e62f
JS: Move stack trace limit to top of file
asgerf Jun 12, 2020
| https://github.com/github/codeql/pull/3731/commits/cc3e62f5357459aade88219cbc8d413b8ab016fa |
|
4c4acd5
JS: Factor out loading of tsconfig files
asgerf Jun 12, 2020
| https://github.com/github/codeql/pull/3731/commits/4c4acd50bdb05ad8badb41c06213aadd90359766 |
|
675c64d
JS: Prefer extracting file with tsconfig that included it
asgerf Jun 12, 2020
| https://github.com/github/codeql/pull/3731/commits/675c64d9d4b32957c0c821c7f80d60e2bab7c3c8 |
|
ad48c4e
JS: Always prepare package.json files
asgerf Jun 1, 2020
| https://github.com/github/codeql/pull/3731/commits/ad48c4e54d1b80c698f61f1274eea2e97c2b1593 |
|
e28284b
JS: Fix javadoc
asgerf Jun 17, 2020
| https://github.com/github/codeql/pull/3731/commits/e28284bd01298a83ec4bf46a4dda73c224a9af05 |
|
Clear filters
| https://github.com/github/codeql/pull/3731/files |
| Please reload this page | https://github.com/github/codeql/pull/3731/files |
| Please reload this page | https://github.com/github/codeql/pull/3731/files |
|
main.ts
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
virtual_source_root.ts
| https://github.com/github/codeql/pull/3731/files#diff-2b3f8b9bba728db1693241a3c2a6daedc3f477ceed68157c604ef66a21de3353 |
|
AutoBuild.java
| https://github.com/github/codeql/pull/3731/files#diff-dfec202bb4425c99bf844bc2e4248e78fe2bda1e9f4e04e03ae51c92917acff0 |
|
DependencyInstallationResult.java
| https://github.com/github/codeql/pull/3731/files#diff-5266bf16a477dc888a46c2773b219d20d41d87017d593492a6fcecdb7f162d66 |
|
Main.java
| https://github.com/github/codeql/pull/3731/files#diff-7d2f65585212078eaf8063085cea23a530dd479378804beb85874d20877aa97b |
|
AutoBuildTests.java
| https://github.com/github/codeql/pull/3731/files#diff-30dd4d715de0206169faef4ff210cc09960f2da8196c466bb45a4f54be79e844 |
|
ParsedProject.java
| https://github.com/github/codeql/pull/3731/files#diff-b982cf581685c770da9aa95cc7ca6ad052c56f0a9f4774a18fc3a25e3699f5e9 |
|
TypeScriptParser.java
| https://github.com/github/codeql/pull/3731/files#diff-75a9794607a7722a62e05e7c50e581e008e19a1b1e6cdc0bb3f736c436698de4 |
| javascript/extractor/lib/typescript/src/main.ts | https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
View file
| https://github.com/asger-semmle/ql/blob/e28284bd01298a83ec4bf46a4dda73c224a9af05/javascript/extractor/lib/typescript/src/main.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/3731/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
|
| https://github.com/github/codeql/pull/3731/files#diff-ae9cb8c7ab2b8622a84b032f9529817adc5c06f123ad107e03e0cef73c9a52bb |
| javascript/extractor/lib/typescript/src/virtual_source_root.ts | https://github.com/github/codeql/pull/3731/files#diff-2b3f8b9bba728db1693241a3c2a6daedc3f477ceed68157c604ef66a21de3353 |
|
View file
| https://github.com/asger-semmle/ql/blob/e28284bd01298a83ec4bf46a4dda73c224a9af05/javascript/extractor/lib/typescript/src/virtual_source_root.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/3731/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/3731/files#diff-2b3f8b9bba728db1693241a3c2a6daedc3f477ceed68157c604ef66a21de3353 |
|
| https://github.com/github/codeql/pull/3731/files#diff-2b3f8b9bba728db1693241a3c2a6daedc3f477ceed68157c604ef66a21de3353 |
| Please reload this page | https://github.com/github/codeql/pull/3731/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |